Skip to content

osmno/progress-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

progress-visualizer

Visualizing progress of various projects in the norwegian OSM-mapping community

Made possible with:

Update kommuner.geojson

Using kartverket api:

  1. Download geojson from https://api.kartverket.no/kommuneinfo/v1/kommuner/illustrasjonskart

Fetch from overpass turbo and simplify (not needed)

  1. Go to Overpass Turbo and run https://overpass-turbo.eu/#
[out:json][timeout:25];
{{geocodeArea:Norge}}->.searchArea;
wr["admin_level"="7"](area.searchArea);
out geom;
  1. Export to GeoJSON
  2. Simplify with https://www.npmjs.com/package/simplify-geojson: cat kommuner2024.geojson | simplify-geojson -t 0.01 > kommuner2024-simplified.geojson
  3. Remove unnecessary @relations from all features in geojson array with cat kommuner2024-simplified.geojson | jq 'del(.features[].properties["@relations"])' > kommuner2024-simplified-reduced.geojson
  4. Delete all points from the geojson file by searching for Type": "Point

About

Visualizing progress of various projects in the norwegian mapping community

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •