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

Convert data/data.json to GeoJSON #19

Open
poikilotherm opened this issue Oct 25, 2019 · 4 comments
Open

Convert data/data.json to GeoJSON #19

poikilotherm opened this issue Oct 25, 2019 · 4 comments

Comments

@poikilotherm
Copy link
Contributor

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.

@poikilotherm poikilotherm changed the title Convert data/data.json to geoJSON Convert data/data.json to GeoJSON Oct 25, 2019
@poikilotherm
Copy link
Contributor Author

poikilotherm commented Oct 27, 2019

@poikilotherm
Copy link
Contributor Author

And I found this very nice tool with GitHub support: http://geojson.io
Maybe this is helpfull with making the data maintainable by the community?

@pdurbin
Copy link
Member

pdurbin commented Oct 28, 2019

Related: For mapped datasets, expose WorldMap file export links: KML, geojson, geotiff, png, etc. IQSS/dataverse#1404

Screen Shot 2019-10-28 at 10 45 12 AM
Screen Shot 2019-10-28 at 10 45 32 AM

@pdurbin
Copy link
Member

pdurbin commented May 17, 2022

We just added a GeoJSON previewer to the demo server (and Harvard Dataverse): IQSS/dataverse.harvard.edu#157

I uploaded wikipedia.geojson from https://en.wikipedia.org/wiki/GeoJSON#Example to https://demo.dataverse.org/file.xhtml?persistentId=doi:10.70122/FK2/GFBLSO/S7JA5J&version=1.0 and it looks pretty good!

Screen Shot 2022-05-17 at 10 00 38 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants