Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bradbrowne/592fb79b0f48bcbceae186382f5c3089 to your computer and use it in GitHub Desktop.
Save bradbrowne/592fb79b0f48bcbceae186382f5c3089 to your computer and use it in GitHub Desktop.
flux-convert-mga-zone-55-to-wgs-84.cmd
ogr2ogr -limit 1 -f "MSSQL" -overwrite "MSSQL:server=.;database=Flux;trusted_connection=yes;" "MSSQL:server=.;database=Flux;trusted_connection=yes;tables=vmadmin.parish_polygon" -s_srs EPSG:28355 -t_srs EPSG:4326 -nln mapdojo.parish_polygon -lco "FID=pfi" -sql "SELECT [ogr_geometry],CAST([pfi] AS INTEGER) AS pfi,[parishc],[parish],[pfi_cr],[ufi],[ufi_cr],[ufi_old] FROM [vmadmin].[parish_polygon]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment