[gdal-dev] Odd behavior with OGR2OGR and arcSDE - tries to copy multiple layers.

Chaitanya kumar CH chaitanya.ch at gmail.com
Wed Sep 5 22:19:33 PDT 2012


Yes.

Perhaps the SDE driver is reading the other layers as well. In the docs it
says that specifying the layer name in the SDE string will make the driver
skip reading the summary metadata for other layers. But it may still report
the other layers to ogr2ogr.

So, specifying the layer to ogr2ogr will ensure that other layers are
skipped.

On Thu, Sep 6, 2012 at 10:41 AM, Phil Scadden <p.scadden at gns.cri.nz> wrote:

>
> >
> > Try the same command with the ArcSDE layer name specified at the end
> > for ogr2ogr.
> You  mean?
> ogr2ogr -f "PostgreSQL" PG:"host=myhost user=myuser dbname=mydb
> password=************** port=5432" -nln postgis_name
> SDE:SDE,5151,,*******,****,sde_name sde_name
>
> I wonder why "layer" in the SDE format string seemed to be optional.
>
>
> Notice: This email and any attachments are confidential. If received in
> error please destroy and immediately notify us. Do not copy or disclose the
> contents.
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
Best regards,
Chaitanya kumar CH.

+91-9494447584
17.2416N 80.1426E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20120906/fdf1ee04/attachment-0001.html>


More information about the gdal-dev mailing list