IQSS / IQSS/dataverse-installations

Convert data/data.json to GeoJSON

Open
#19 4 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.