IQSS / IQSS/dataverse-installations
Convert data/data.json to GeoJSON
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 6
- Forks
- 13
- Avg merge
- 25m
- Merged PRs (30d)
- 1
Description
Leaflet and many others support the usage of GeoJSON standard file format.
Leaflet supports GeoJSON and allows for functions on loading each feature with onEachFeature(). This would allow refactoring the popup composition into function, so the code gets more readable.
See https://gis.stackexchange.com/a/229743 for example.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with data/data.json and the linked Leaflet GeoJSON reference, then inspect how the map currently loads the data and composes popups. Done means the data uses valid GeoJSON and the popup composition can use Leaflet's onEachFeature() approach as described.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100