covid19 icon indicating copy to clipboard operation
covid19 copied to clipboard

Possibility to export GeoJson-Files

Open smkraus opened this issue 4 years ago • 2 comments

For a research project we're looking for a full dataset of cov19 cases with locations. Your data looks really excellent, thanks so much for pulling it together. Is there any way you would be able to do a GeoJson export of your data?

smkraus avatar Apr 30 '20 13:04 smkraus

Just install mapshaper from GitHub or via NPM or yarn, then it's as easy as

yarn mapshaper ./data/maps/gadm36_CHN_2.shp -simplify 2% -clean -o format=geojson ./data/maps/gadm36_CHN_2.json

Docs: Mapshaper command references

You can even do it online here, just drag and drop the file https://mapshaper.org/

erlange avatar May 22 '20 22:05 erlange

Thanks for your response. I was referring to a final file with Corona cases matched to their GADM IDs. I haven't figured out how to use the final data, that get displayed in the web app.

smkraus avatar May 23 '20 15:05 smkraus