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

Add counties/regions to filter map #378

Open
johanvonboer opened this issue Dec 17, 2024 · 2 comments
Open

Add counties/regions to filter map #378

johanvonboer opened this issue Dec 17, 2024 · 2 comments
Assignees
Labels

Comments

@johanvonboer
Copy link
Collaborator

Would be cool if you could also get the county polygons on the filter map.

@johanvonboer
Copy link
Collaborator Author

Related: humlab-sead/sead_query_api#112

@johanvonboer
Copy link
Collaborator Author

Image

I started implementing this, but there are issues:

  1. When selecting a country, should that count as a "Country" filter selection? And if so, how do we handle selecting countries which that filter does not contain, e.g. Somalia?
  2. The other option is to select the country as a polygon, but the problem with this is that many countries are not just one polygon, e.g. Denmark, so we would need server side support for selecting multiple polygons.
    2b. Another issue with this is that the country polygons I am using are fairly low resolution to save on space, which in some edge cases could result in a case where a site in a country could end up outside the country polygon.

@johanvonboer johanvonboer self-assigned this Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant