Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 23728

ogr2ogr is an open source command line utility popular for converting to and from various vector spatial data formats.

4 votes
1 answer
1k views

Import non spatial data into SQL Server using ogr2ogr

I am trying to import a CSV files in to SQL Server 2012 using ogr2ogr. The spatial data imports without any problems, but I cannot work out why the non spatial tables fail. … I can import the data using other tools but it would be convenient if I could import everything using ogr2ogr so I can script it more easily. My VRT file looks like this... …
tr3v's user avatar
  • 385
2 votes
Accepted

Import non spatial data into SQL Server using ogr2ogr

The solution was to upgrade the GDAL core libraries. Lesson learned!
tr3v's user avatar
  • 385