I want to display a lot of objects on a map. Those objects are points and some other objects are lines.
When I try to load them in Workshop, Contour Dashboard, etc. I get a warning that only the first 1k objects are displayed. Is there a way to have more objects than this ?
There are multiple places where objects can be seen on a Map in Foundry:
- Contour’s Map widget
- Workshop’s Map widget
- The Map application (which then can be embedded in Workshop and templated - so you can provide a set of object as input, get the selected objects as output, etc.)
Different limits applies.
Note: you can as well see a map in other places, like Pipeline Builder’s Map preview but are rather development tools
For Workshop
Objects loading is configured per layer.
For a given layer, Objects are loaded “per page”, and one page is limited to 1k objects.
You can configure the number of pages that are loaded. You should be able to raise it to 10 pages maximum, so, 10k objects can be loaded for a given layer.
For the Map application (embedded in Workshop or now)
When you search for Objects to add, the Map application will limit the user to load objects 1k at a time. This threshold is a controlled in Control Panel. You can raise this limit so that one user can add more objects “in one go” via the search in the Map application.
You should be aware that the more objects are loaded in one go, the more pressure this creates on the client-side, which might lead to degraded performances. The complexity of the geometries, etc. will influence the exact limit would should bump it to (e.g. 10k vs 40k vs … )
High scale mode
There is a way to display even larger scales (e.g. M), which leverages OQL. This is currently (April 2024) a beta feature and might not be available on all Foundry enrollments.