Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loading large amount of data #12

Open
gis-pl opened this issue Apr 6, 2023 · 1 comment
Open

loading large amount of data #12

gis-pl opened this issue Apr 6, 2023 · 1 comment

Comments

@gis-pl
Copy link

gis-pl commented Apr 6, 2023

We tried to load large amount of data (300k polygons stored in PostGIS) to the map using this query:
https://github.com/doneill/koop-provider-pg/blob/main/src/db/sql/createGeoJson.sql

Unfortunately with this amount of data, it freezes PostGIS and it needs to be restarted.
Is it possible not to load all objects, but only a small portion, for example - only polygons that are displayed in the extent of the map by user?

@doneill
Copy link
Owner

doneill commented Jul 27, 2023

Good suggestion, currently the provider attempts to fetch all geometries. Thanks for sharing the limitation, will do some testing with large datasets and look to area extent limitations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants