Yes.<br><br>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.<br>
<br>So, specifying the layer to ogr2ogr will ensure that other layers are skipped.<br><br><div class="gmail_quote">On Thu, Sep 6, 2012 at 10:41 AM, Phil Scadden <span dir="ltr"><<a href="mailto:p.scadden@gns.cri.nz" target="_blank">p.scadden@gns.cri.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
><br>
> Try the same command with the ArcSDE layer name specified at the end<br>
> for ogr2ogr.<br>
</div>You  mean?<br>
<div class="im">ogr2ogr -f "PostgreSQL" PG:"host=myhost user=myuser dbname=mydb<br>
password=************** port=5432" -nln postgis_name<br>
</div>SDE:SDE,5151,,*******,****,sde_name sde_name<br>
<br>
I wonder why "layer" in the SDE format string seemed to be optional.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
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.<br>
<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br><br>+91-9494447584<br>17.2416N 80.1426E<br>