I am trying to export data from postgres to MSSQL. While
ogr2ogr -nln outputLayerName -f "MSSQLSpatial" "MSSQL_conn_string" --config MSSQLSPATIAL_USE_GEOMETRY_COLUMNS NO "postgres_conn_string" input_table_name -overwrite -progress
is executing, I tried to do
ogrinfo or pythons
ogr.Open() on MSSQL_conn_string, but both stay in pending status as long as ogr2ogr is executing. Does anyone had similar problem ? The reason why I'm doing this is catching number of imported features while ogr2ogr is running.