Select to view content in your preferred language

Mmpk polygon layer not displaying in Survey123

577
3
08-27-2024 11:55 AM
jessieh
New Contributor

I wanted a map for offline use in Survey123 that included a polygon layer for reference. I created an mmpk and linked it to Survey123 using this process: https://help.cadasta.org/docs/kb/arcgis-pro/create-an-offline-map-with-feature-layers-and-link-with-...

I had to download the map to my computer and upload it to my ArcGIS Online organizational account manually (using add new item) because I kept getting an error that I didn't have space in my account when I tried to upload directly to ArcGIS Online. I think that is due to the 10MB upload limit, since I have plenty of space in my account. Once I successfully uploaded the mmpk,  I was able to link it to my Survey123 form.

When I download the offline map in the Survey123 app I can see the polygon layer in the thumbnail, but when I open the map in a geopoint question on the form I can see the offline basemap but not the layer. I checked the projection and both the basemap and the polygon layer are using wkid 3857 as their projected coordinate system. Its not a scale visibility issue, since zooming in and out does not make the layer appear.

The resulting file is 22.9 MB, so I cannot attach it here unfortunately. 

Any ideas on how to fix this are much appreciated!

3 Replies
Sophie_Stanley
Esri Contributor

Hello @jessieh ! I saw a similar issue to what you have described recently and wanted to pass along the steps I took to successfully utilize an offline basemap with a polygon layer in the Survey123 mobile application.

  1. Open up one of Esri's For Export basemaps in ArcGIS Online and select "Open in ArcGIS Pro".
  2. On the basemap in ArcGIS Pro, right click on the basemap layer, and select "Share as layer package". Save the basemap to a local location. 
  3. Add this basemap to a blank ArcGIS Pro project. Remove the basemaps from this project (leaving only the basemap for export)
  4. In the "Map" section of the ribbon, select "Download Map" and then download an area. 
    1. Select "Include basemap & tile layers" 
    2. Note: this process may take a while. The larger the area and the smaller the scale the longer the export will take. 
    3. Remove the previous For Export basemap file after getting a new basemap file with a local filepath.
  5. Open polygon layers having display issues in the Survey123 mobile app and open the attribute table of the polygon layer. Either on the layer itself or a copy of the layer check for any fields with data types which could conflict with the ArcGIS Online Runtime version

  6. From here, remove the original basemap, and open the "Create Mobile Map Package" tool. Create a mobile map package to a file. 
    1. From here it should be the same workflow for adding a custom basemap for offline data collection in the Survey123 mobile application: create a local file MMPK, upload the MMPK to ArcGIS Online, add the Online MMPK to the linked content of Survey123, and add the locally stored MMPK file to the media folder of Survey123. 

I hope these steps are helpful! 

ArcGIS Online Technical Support Analyst
0 Kudos
SMH-Rio
Frequent Contributor

I have exactly the same problem. I have always generated offline maps in the same way, but recently the layer does not load (old maps still load the layer). The only difference I noticed was updating the ArcGIS Pro version to 3.3.0.

When I open the file in ArcGIS Pro, everything works correctly. However, in Survey123, only the offline map loads. I have tried using the map in Enterprise/Portal and AGOL and it is still the same. Attached is an example of a generated map.

PS: Sophie's solution did not solve the problem for me.

0 Kudos
SMH-Rio
Frequent Contributor

Update: I tested exporting the layer to a .shp in a local folder and managed to get my offline maps working again.

I was always able to export with the layer hosted on the Portal or in a local .gdb, however, these options stopped working. With the .shp the export worked.

0 Kudos