<div dir="ltr"><div><div><div><div><br></div>Hello,<br><br>I have a problem using ogr2ogr (OSGeo4w w gdal 2.2.1-1) to import from FileGDB (10.5) to MSSQL (2016).<br><br></div><div>My process:<br><br>I used SQL Server Mgmt Studio to create a blank table "new_layer_name", an add a single geometry column named "ogr_geometry". I am the owner of this table.<br></div><div><br></div>My ogr2ogr connection to MSSQL is a success, and after running my table is populated with correct fields and attributes.<br><br></div><div>My problem:<br><br> In the end, my geometry column is containing only NULL values.<br><br></div><div>More details:<br></div><div><br></div>The ogr2ogr command I am using is:<br><br>ogr2ogr -overwrite -f MSSQLSpatial "MSSQL:server=xxx\xxx;driver<br>=SQL Server;database=xxx;trusted_connection=yes;UID=xxx;PWD=xxxx;GEOM_TYPE=geometry;GEOMETRY_NAME=ogr_geometry;OVERWRITE=YES" "xxx.gdb" -geomfield ogr_geometry -preserve_fid -nln new_layer_name -nlt MULTIPOLYGON  -lco "G<br>EOM_TYPE=geometry" -lco "GEOM_NAME=ogr_geometry" -a_srs EPSG:4326 -skipfailures -progress<br><br></div>Any ideas for my mistake?<br></div>