[gdal-dev] ogr2ogr different behaviour on different OS platforms (Windows 7 vs XP)

hdam99 at gmail.com hdam99 at gmail.com
Fri Oct 21 16:26:07 EDT 2011


Hi,

I use the same ogr2ogr 1.8.1 running on both Windows 7 (64-bit) and XP.  I
got the expected result from Windows 7, but XP gave me warning and errors.  
The ogr2ogr command is:

ogr2ogr.exe -f PostgreSQL "PG:dbname=name user=user password=pwd
host=host_name port=5432" OCI:name/pwd at serviceID:table_name -overwrite -nlt
POLYGON -nln new_table_name -sql "select * from table_name where column_n
like '%somePattern%'"

The XP warns of the conflict of using both -nln and -sql at the same time. 
It also issue error in creating the table.

Why are there error/warning from XP version, and how can I fix it?

Thanks - H

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/ogr2ogr-different-behaviour-on-different-OS-platforms-Windows-7-vs-XP-tp6918436p6918436.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list