Select to view content in your preferred language

Is there a maximum number of recommended vertices for a Rest endpoint?

382
3
Jump to solution
09-19-2024 02:18 PM
RyanBohan
Frequent Contributor

Is there a maximum number of recommended vertices for a Rest endpoint?

We have a new Rest endpoint that appears to be crashing MapViewer and our webapp.  We are currently running 10.9.1

My guess is the geometry has far too many vertices, and that is causing the memory issue and crash.  Is there a recommended maximum number of vertices I can recommend when we go about simplifying this layer?

Rest endpoint:  Average Condition Flood Extent

RyanBohan_0-1726780430442.png

RyanBohan_1-1726780445294.png

 

1 Solution

Accepted Solutions
George_Thompson
Esri Notable Contributor
3 Replies
AngusHooper1
Frequent Contributor

I have rendered tens of millions of vertices from multi-part polygons in a hosted feature layer without too many issues (bit of performance lag). Most browsers have settings that can bump up memory allocation. You might also want to look into any complex font or dictionary styles you are using.

RyanBohan
Frequent Contributor

Great to know millions can be drawn, I was not sure if there was a functional or recommended limit.  Looks like there is about 3.5 million vertices.  Also checking with the owning department if we can simplify the polygons

RyanBohan_0-1726856877893.png

 

0 Kudos
George_Thompson
Esri Notable Contributor

Here is a blog that talks about this: https://www.esri.com/arcgis-blog/products/arcgis-pro/analytics/dicing-godzillas-features-with-too-ma...

May be helpful.....

--- George T.