Select to view content in your preferred language

Mobile map package (mmpk) attachments extent

1540
3
Jump to solution
10-15-2019 02:50 AM
matuskajba
Emerging 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)
0 Kudos
1 Solution

Accepted Solutions
MarkBockenhauer
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

0 Kudos
3 Replies
MarkBockenhauer
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

0 Kudos
matuskajba
Emerging Contributor

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

Matus

0 Kudos
AzinSharaf
Frequent Contributor

Hi Mark, Has this behaver submitted as a bug? I followed your suggested workaround for now, but I would think that Mobile Map Package tool should have the maintain attachment option as well. 

0 Kudos