Skip to content

Instantly share code, notes, and snippets.

@tormi
Forked from strangesast/convert-dwg-to-geojson.sh
Created January 2, 2023 15:33
Show Gist options
  • Save tormi/a7d9e16c1eeef49545ce3e518163c117 to your computer and use it in GitHub Desktop.
Save tormi/a7d9e16c1eeef49545ce3e518163c117 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Convert dwg to projected geojson
ogr2ogr -f GeoJSON -s_srs epsg:2154 -t_srs epsg:4326 building.json building.dwg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment