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

rework download map/utilize mapserver #263

Open
adambreznicky opened this issue Mar 30, 2020 · 0 comments
Open

rework download map/utilize mapserver #263

adambreznicky opened this issue Mar 30, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request frontend ideas

Comments

@adambreznicky
Copy link

right now the download map, on load for a specific collection, hits the carto api in an iterative fashion to build the area download layers. this way it functions creates a longer initial map load time and relies on carto (which has caused issues in the past from security and api request limit standpoints). we should update the download map to satisfy...

  1. utilize our mapserver instance for the download areas layers in order to drop carto and have better control on the retrieval of our layers. may help with performance as well.
  2. reconfigure the general load process of download map layers. implementing our mapserver may present an obvious solution to the iteration during the switch but one other floated option is to do the retrieval on app load (rather than map load) and keep the contents in the store. then on map load, pull from the store and query down for adding the layer into the map.
  3. update the geofilter map process for mapserver. right now, it works by querying data directly in postgis calls so we'd probably have to hit the mapserver rds directly rather than the mapserver 'services'/mapfiles. the mapserver rds is in a private database subnet... a new api endpoint to perform these queries will most likely be in order
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request frontend ideas
Projects
None yet
Development

No branches or pull requests

3 participants