You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ewlarson I've found that very few publishers take the time to create the thumbnails for their dynamic services. I'm not familiar with the logistics of how they would do so, but I understand it requires specific action(s) for them to take during the publishing process.
I've looked at the Esri REST API a bit to see if the "export" option might be useful here. For example, this call generates an image that could be utilized for a thumbnail:
I can't get it to work with FeatureService, only MapService. Not sure if that's a result of me not knowing proper syntax, or if it simply isn't possible.
From a practical standpoint, it's very rare for govt agencies to stand up services containing a single theme (single layer). In most situations, many individual layers are bundled together into a one service to serve a specific application. This is relevant, because export only appears to work at the service level (unsure about Esri terminology here) versus layer level. In other words, this works:
...therefore it seems it would be very dicey to generate a general-purpose thumbnail generator using the export option. i.e., is it safe to assume that you can simply parse out the /0/ and the use that with "&layers=show:0" added to the api call?
Sharing this in case it spurs ideas that may help the status quo!
Issue
Many dynamic_map_layer API calls fail to return a thumbnail. It's possible many of these ArcGIS instances/collections do not support thumbnails.
Examples
Of course, some work...
Resolution
The text was updated successfully, but these errors were encountered: