Skip to content

Instantly share code, notes, and snippets.

@bryaneaton
Last active January 22, 2018 20:31
Show Gist options
  • Save bryaneaton/b086eccbd8081373d27e6baab0fe9c87 to your computer and use it in GitHub Desktop.
Save bryaneaton/b086eccbd8081373d27e6baab0fe9c87 to your computer and use it in GitHub Desktop.
ogr2ogr -f MSSQLSpatial "MSSQL:server=CTG-XXXX;database=XXX;UID=dsuser;PWD=XXXXXXX" "C:\Users\eatbry\Downloads\political-bnd_tx\txdot-counties\DallasFortWorthMetro_Dissolved.shp"
@bryaneaton
Copy link
Author

Copy shapfile features to a SQL Server Table (Pre 2016). SQL Server 2016 can directly read GeoJSON.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment