Sorting results from identify function
Any idea if its possible to return results from any of the built in identify results in a sorted manner other than the OBJECTID?
-
Looking at the JSON from an example returned square identify, the map service returned records in no real order. It does not seem to be sorted by OBJECTID as you suggest. From my understanding it is just listed in the order that ArcGIS Server returns them. I've heard of different ways to sort, but for now--there are no configurable options to sort the records.
Perhaps having the data sorted in the feature class itself could produce what you want (by way of using a feature class view setting ORDER BY as part of the SQL statement). That would produce a layer that would continuesly return records sorted, and (unfortunately) require the server to constantly do that sort operation.
Some ESRI Australia blogging on creating spatial views:
http://esriaustraliatechblog.wordpress.com/2013/04/22/how-to-create-an-arcsde-spatial-view/
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar