[gdal-dev] Re: ogr2ogr different behaviour on different OS
platforms (Windows 7 vs XP)
hdam99 at gmail.com
hdam99 at gmail.com
Sat Oct 22 11:11:26 EDT 2011
Hi,
Thanks, yes the warning was my fault, missing -nln option. The creation
table error happens intermittently, could potentially caused by wrapping
ogr2org execution from a C# thread. Any pointers/advices on how to make
this call more reliable are much appreciated.
Thanks - H
On Fri, Oct 21, 2011 at 4:26 PM, hdam99 at gmail.com [via OSGeo.org] <
ml-node+s1803224n6918436h92 at n2.nabble.com> wrote:
> 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
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://osgeo-org.1803224.n2.nabble.com/ogr2ogr-different-behaviour-on-different-OS-platforms-Windows-7-vs-XP-tp6918436p6918436.html
> To start a new topic under GDAL - Dev, email
> ml-node+s1803224n2022644h40 at n2.nabble.com
> To unsubscribe from GDAL - Dev, click here<http://osgeo-org.1803224.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2022644&code=aGRhbTk5QGdtYWlsLmNvbXwyMDIyNjQ0fC02NDg0MzcwODU=>.
>
>
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/ogr2ogr-different-behaviour-on-different-OS-platforms-Windows-7-vs-XP-tp6918436p6920266.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20111022/c98555d9/attachment.html
More information about the gdal-dev
mailing list