Skip to content

Instantly share code, notes, and snippets.

@jeremypage
Last active June 13, 2022 01:20
Show Gist options
  • Save jeremypage/e2190804536931df79f3 to your computer and use it in GitHub Desktop.
Save jeremypage/e2190804536931df79f3 to your computer and use it in GitHub Desktop.
Convert all MapInfo TAB files in folder to geoJSON (change projection from British National Grid to Longitude / Lattitude WGS84)
for /r %i in (*.TAB) do ogr2ogr -f "GeoJSON" %i.geojson %i -s_srs EPSG:27700 -t_srs EPSG:4326
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment