Hoppa till huvudinnehållet

Offline map areas - Some map layers cannot be exported

Kommentarer

8 kommentarer

  • Phil MacIntyre

    Hi Alex,

    A quick check to see if your web map is correctly configured for offline use is to go into its Settings page in your Portal/AGOL and look for the 'Offline' section, like so:

    If that's missing, then there's something wrong, somewhere in the web map. Since our custom map area creation commands call a lot of Esri's methods that are shared with predefined map areas, this is a helpful check. Not a detailed, granular look, but a high level, "at a glance" type check.

    For investigating your individual layers, Esri has published a helpful article for ensuring all your data are set up correctly for offline use:

    https://doc.arcgis.com/en/arcgis-online/manage-data/take-maps-offline.htm

    It may also help to check the Settings pages for your individual layers, just to make sure nothing has gone wrong between the Server Manager and the Portal where they're tied together, like so:

    Hope that helps,

    Phil

    0
  • Alex St. John

    Thanks Phil!

    For the web map, it did not have the Offline section in the web map settings.

    • I created a new web map, brought in my published layers and now I can see the offline options.
    • Then, in the Mobile designer, I had to Select (Refresh did not work) the web map being fed to the mobile app.
    • This resolved the first warning message of "some map layers cannot be exported".
    • I still have error messages when I try to download the map area though: same error as my previous comment.

    In my ArcGIS Server Feature Layer (not hosted) settings page, I don't see that Editing section. Should I see that for a non-hosted feature layer?

    0
  • Phil MacIntyre

    Hi Alex,

    If you try to create a predefined map area at the web map level, are the layers successfully packaged? The map area definition tool in Portal will indicate the packaging status once it's run to completion. If it shows as 'Failed' in red, or omits certain layers, that could indicate other issues with those troublesome layers. It's helpful to determine if the issue is coming from Go or something on the Esri side.

    I'm afraid I'm not terribly familiar with non-hosted feature layers. Hosted feature layers are Mobile's bread and butter, so we mostly work with those. My limited experience with them showed them (non-hosted) to be read-only rather than editable, so those editing sections being absent would be consistent with that.

    For future reference, we do have some guidance on supported services in Mobile:

    https://docs.vertigisstudio.com/mobileviewer/latest/admin-help/Default.htm#gmv/designer/supported-services.htm

    though that doesn't specifically call out hosted vs unhosted.

    Cheers,

    Phil

    0
  • Alex St. John

    Good suggestion: I tried creating an offline map area in the web map settings and it fails to package.

     

    Unfortunately, DevTools leads me to believe that the Offline Packaging job was successful.

     

    Thankfully, my Server logs tell me something potentially useful. I have not read anywhere that replica tracking is required, but I am going to read up on it now.

    1
  • Phil MacIntyre

    Ah yes, Server Manager's a great tool for seeing what more generic error messages related to. Once you've enabled replica tracking, have you been able to get unblocked?

    0
  • Alex St. John

    Good news: after enabling replica tracking on the feature dataset and republishing, I can create a map area on demand in the Go app!

    Weird news: I still can't pre-package an offline area in the web map settings in Portal. Enterprise has so many weird little cache issues and misfires in Server-Portal configuration, so I will be checking back tomorrow to see if it resolved itself. If not, I'll just keep refreshing and re-establishing things in the service and map until it works.

    0
  • Phil MacIntyre

    That's great! Glad you've at least got the custom map areas going.

    You're quite right about the caching. Restarting the Portal/Server and their environment, if possible, might be a last resort option if it won't impact your users too much.

    Thank you for the update. Hopefully this thread can help others in the future who encounter this problem.

    Have a great day,

    Phil

    0
  • Alex St. John

    Found out why the Web Map Offline settings were missing: I was using a basemap with a spatial reference different than Web Mercator (GCS_WGS_1984). This is a county parcel basemap hosted by another entity and so we don't have enough control for it to reproject on the fly, I guess.

    With a standard Esri basemap and our feature layers, note I still can not create a pre-packaged map package. But I have more to investigate with spatial reference to see if something related to that is also causing the packaging to fail.

     

    1

Du måste logga in om du vill lämna en kommentar.