<div dir="ltr"><div><div><div><div>Hi,<br><br></div>I want migrate data between PostGIS enabled Postgres database and SQL Server spatial database. ogr2ogr seems like easiest possible way, but there is a catch with this ticket: <a href="http://trac.osgeo.org/gdal/ticket/5239">http://trac.osgeo.org/gdal/ticket/5239</a><br><br></div>I tried it nonetheless, but as expected Postgres tables with UTF-8 strings show garbage in SQL Server.<br></div><br>I don't see any switch in org2ogr to be able to dump sql queries that ogr2ogr executes in migration process. Is there any? That way I can search/replace to get correct sql queries for the task.<br><br><br></div><div>Thanks,<br></div><div>Vladan<br></div></div>