Query Esri service won't return geometry. I'm using a query on ArcGIS REST service, the first link returns geometry, but with the same query parameters the second link won't return geometry.

  1. First link with geometry

  2. the second link without geometry, but it should be with geometry.

They both are using the same parameters, and I can assure you that the second link features have geometry (for instance). So, how to return geometry on the second link?


In ArcMap, bring up Luas Lahan Sawah layer's Properties dialog, and in the Fields tab, click to enable "shape". Save, and republish.

The fact that the shape field was turned off in the Luas Lahan Sawah layer of the Komoditas MapServer service can be seen in the screen shot below.

enter image description here

Contrast the above with RancanganRPJMN2020 MapServer service as below.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.