Rendering large datasets using Esri JavaScript API

827
4
12-15-2016 07:17 PM
SantoshSeshadri1
New Contributor

I have a layer with 14 milion polygons. I would like to use it on a javascript application. What is the best way to display this layer? Currently it takes a very long time to draw these polygons and the server is maxed out on CPU every time a request comes in. Is there a more efficient way to render this layer on the web?

0 Kudos
4 Replies
RobertScheitlin__GISP
MVP Emeritus

Santosh,

   What type of layer are you using to add the data to the map? If you use ArcGISDynamicMapServiceLayer then the rendering of the layer will be done on the server and not the client, this normally results in a better display result.

SantoshSeshadri1
New Contributor

Robert,

Thank you for that quick response. Yes, I am using ArcGISDynamicMapServiceLayer. But as you navigate through the map the requests don't cancel out and the every request is being processed at the server level and bogging it down.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus
0 Kudos
PanagiotisPapadopoulos
Esri Regular Contributor

Try the scale dependency setting on the ArcMap for this layer.

Don't allow draw polygons for all scales.