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

Chapman, Martin MChapman at sanz.com
Thu Feb 5 18:17:10 EST 2004


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



More information about the Gdal-dev mailing list