Hello,
I don't know if this is an unreasonable task that I'm attempting to do but I'm trying to render around 550,000 polygons on a SceneView or MapView but every method that I go with seems to render either too slowly or break the view.
Here are the 2 methods I've tried so far:
- Download all data client side and create a GeoJSON layer based on a client side blob URL
- Upload all data to a hosted FeatureLayer service on ArcGIS
I assume they are not hosted as a FeatureService? If you upload them as a FeatureService, you can enable caching, and greatly improve performance.
They were hosted as a FeatureService but unfortunately I don't think caching will help me as I need to be able to dynamically add new sets of those polygons.
Is the layer dynamic, or will the features basically stay as they are? Do they vary in size? If there are very small features, you might try setting up a scale-based filter on them, too. Or is there some other reason that all features need to be rendered at once?
The layer is dynamic, the plan is to insert packets of around 2000 polygons at a time every 30 seconds.
The polygons are all 30m x 30m squares.
A scale based filter might work but I would need the scale to be pretty high as the idea is to paint a sort of picture on the ground with these squares and be able to click on a square to display its' value.
I am facing a similar issue where we need to dynamically add a large set of features to an existing feature layer on the map. Were you able to find a solution to the problem you were facing?