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 <[email protected]> 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 > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev > -- Best regards, Chaitanya kumar CH. +91-9494447584 17.2416N 80.1426E
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
