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

[Bug]: No Error thrown when Geojson does not contain property #3075

Open
archiewood opened this issue Feb 5, 2025 · 0 comments
Open

[Bug]: No Error thrown when Geojson does not contain property #3075

archiewood opened this issue Feb 5, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@archiewood
Copy link
Member

archiewood commented Feb 5, 2025

Describe the bug

If you attempt to use a geojson to create an areamap, you must pass a geoId, corresponding to one of the properties for each of the features in the geojson.

However, if you

  • try to use something other than a property (eg the name) or
  • spell the property wrong,

then you get no map, and no error telling you what the problem is

Evidence should throw an error like No property [name you typed] found in [geojson_file]

Steps to Reproduce

https://evidencedev.slack.com/archives/C023LRB9Z40/p1738775103985879

Severity

annoyance

@archiewood archiewood added bug Something isn't working to-review Evidence team to review and removed to-review Evidence team to review labels Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant