REST API query returns no geometry for complex polygons

230
3
08-21-2020 06:58 PM
KellyChan
New Contributor II

Enterprise 10.7.1 query doesn't return any geometry if the polygon is complex (very many vertices.) This occurs when requesting f=pbf. But, of course, featurelayer defaults to pbf these days. How can we fix/work around this

No geometry

Many rings

0 Kudos
3 Replies
JoshuaBixby
MVP Esteemed Contributor

Can you elaborate on "very many vertices"?  And, did this work in previous versions of ArcGIS Enterprise?  Also, does it work if you change the output format?

0 Kudos
KellyChan
New Contributor II

haven't pin point the threshold number of vertices which breaks the query.

yes, work from earlier version

yes, work with f=json/xml

0 Kudos
JoshuaBixby
MVP Esteemed Contributor

can you share either a polygon that has the issue or create a sample/example that shows the same issue?

0 Kudos