[gdal-dev] ArcSDE: connection times too long
Frank Warmerdam
warmerdam at pobox.com
Tue Apr 12 12:31:50 EDT 2011
On 11-04-12 12:12 PM, Duarte Carreira wrote:
> Hi Frank.
>
> I do that already: ogrinfo -so -ro SDE:server,5151,,user,pdw
> user.featureclass
>
> Notice that I separate the layer name with a blank space. Using a comma does
> not work for me (wonder if the docs are right on that??).
>
> I still wait quite a bit. This is a mid-sized db, with some 1200 feature
> classes...
Duarte,
In your case you are passing user.featureclass as the layer name to
ogrinfo telling it that you only want to report on that layer. But
to avoid opening all layers, you should also include it in the connection
string.
eg.
ogrinfo -so -ro SDE:server,5151,,user,pdw,user.featureclass user.featureclass
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the gdal-dev
mailing list