Mobile map package (mmpk) attachments extent

163
2
Jump to solution
10-15-2019 02:50 AM
Highlighted
New Contributor

We are experiencing some difficulties with creating of mmpk file with attachments.

We are using Create Mobile Map Package tool in ArcGIS Pro. We are using Area of Interest parameter to limit output features to smaller spatial extent. It works flawlessly for features - in resulting mmpk there are only features limited by provided spatial condition. The problem is with feature attachments. In resulting mmpk there are all attachmens for every feature in input feature dataset, not only attachments for features featured in mmpk. This makes the resulting mmpk's size unreasonably big and process of generating mmpk quite longer.

So my question is, if there is a way how to reduce attachments in mmpk only to attachmens for relevant features, or if there is any way how to generate mmpk files without attachments. Or if this is by any chance an intended behavior, why is that so?

Thank you.

Tags (1)
Reply
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Esri Regular Contributor

It's not ideal behavior.  In ArcGIS Pro 2.5 there will be a new option, which will only include attachments for features that are in the resulting package.    The attachments are managed through a relate table.  The new parameter is "Keep only the rows which are related to features within the extent"   So, ArcGIS Pro 2.5 provides a solutions.

At this time, you would need to create new data prior to packaging.   You could select all of the features you you want to include in the package, and use Feature Class to Feature Class, to create a new Feature Class of the selected features.  In the "Environments" setting you can check weather to "Maintain Attachments"  when checked the new feature class will only have attachments for the features in the feature class.

Mark

View solution in original post

Reply
0 Kudos
2 Replies
Highlighted
Esri Regular Contributor

It's not ideal behavior.  In ArcGIS Pro 2.5 there will be a new option, which will only include attachments for features that are in the resulting package.    The attachments are managed through a relate table.  The new parameter is "Keep only the rows which are related to features within the extent"   So, ArcGIS Pro 2.5 provides a solutions.

At this time, you would need to create new data prior to packaging.   You could select all of the features you you want to include in the package, and use Feature Class to Feature Class, to create a new Feature Class of the selected features.  In the "Environments" setting you can check weather to "Maintain Attachments"  when checked the new feature class will only have attachments for the features in the feature class.

Mark

View solution in original post

Reply
0 Kudos
Highlighted
New Contributor

Mark, thank you. That is a very good information.

Matus

Reply
0 Kudos