ArcGIS Rest service is returning multiple records with the same data only when getting KMZ

This REST URI returns 299 records with identical description fields, the geometries are distinct:*&returnGeometry=true&returnTrueCurves=false&maxAllowableOffset=&geometryPrecision=&outSR=&returnIdsOnly=false&returnCountOnly=false&orderByFields=&groupByFieldsForStatistics=&outStatistics=&returnZ=false&returnM=false&gdbVersion=&returnDistinctValues=false&resultOffset=&resultRecordCount=&f=kmz 

However if you have it return JSON or HTML, you get the distinct records and descriptions:*&returnGeometry=true&returnTrueCurves=false&maxAllowableOffset=&geometryPrecision=&outSR=&returnIdsOnly=false&returnCountOnly=false&orderByFields=&groupByFieldsForStatistics=&outStatistics=&returnZ=false&returnM=false&gdbVersion=&returnDistinctValues=false&resultOffset=&resultRecordCount=&f=html 

This was also happening with layer 0 and I somehow got it to stop by recreating the URI from the query form. I am now using the identical URI with just a different layer id and geometry type - layer 0 is point and layer 1 is polygon. I have also tried recreating the URI from the query form. I tried to returnDistinctValues=true but the returned KMZ caused Google Earth to return a "not well-formed (invalid token)" error when opening it.

It appears that the server is using ArcGIS 10.31. The server was down yesterday, but it is back up and I am still encountering the problem.

So is this something I am doing wrong or is the server misbehaving?


Category: arcgis server Time: 2016-07-28 Views: 0

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C), All Rights Reserved.

processed in 0.208 (s). 12 q(s)