[Gdal-dev] How to convert an Oracle Spatial Layer to an ESRI Shapefile

Wim Blanken (PI) wim.blanken at planet.nl
Fri Feb 6 06:49:32 EST 2004


Hello Luuk,

What about the following

ogr2ogr -f "ESRI Shapefile" shapefile.shp OCI:name/password at database
layername

So implement a space instead of a period between the databasename and the
layername.....

Regards,

Wim Blanken
GEON bv
The Netherlands

----- Original Message -----
From: "Chapman, Martin" <MChapman at sanz.com>
To: <gdal-dev at remotesensing.org>
Sent: Friday, February 06, 2004 12:17 AM
Subject: RE: [Gdal-dev] How to convert an Oracle Spatial Layer to an ESRI
Shapefile


> How about selecting your points with a SQL statement and then writing
> the shape with a library like ShapeLib?
>
> Martin
>
> -----Original Message-----
> From: Schaminee, L.C.W. [mailto:L.C.W.Schaminee at minlnv.nl]
> Sent: Thursday, February 05, 2004 8:13 AM
> To: 'gdal-dev at remotesensing.org'
> Subject: [Gdal-dev] How to convert an Oracle Spatial Layer to an ESRI
> Shapefile
>
>
> How can I convert an Oracle Spatial Layer to an ESRI Shapefile? We have
> a lot of layers under one username. I would like to convert one of these
> layers to an ESRI Shapefile. To do this I used the following command:
> org2ogr -skipfailures -f "ESRI Shapefile" c:\shapefile.shp
> OCI:username/password at database. All of the layers which this user may
> use are being converted. I only want one layer converted. How do I do
> this? I tried this: org2ogr -skipfailures -f "ESRI Shapefile"
> c:\shapefile.shp OCI:username/password at database.layername but this did
> not work.
>
> Many thanks in advance,
>
> Luuk
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at remotesensing.org
> http://remotesensing.org/mailman/listinfo/gdal-dev
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at remotesensing.org
> http://remotesensing.org/mailman/listinfo/gdal-dev
>
>




More information about the Gdal-dev mailing list