[Gdal-dev] hi, does GDAL supports shapefile?
Jeshua Lacock
jeshua at OpenOSX.com
Sun Jan 15 22:04:01 EST 2006
On Jan 15, 2006, at 7:37 PM, Jason wrote:
> Hi, I am a fresh man in using GDAL. I read the document of GDAL, found
> that shapefile (.shp) seems doesn't supported by GDAL. And I also try
> used GDALOpen () to open a shapefile file, but got errors. Does GDAL
> (gdal v1.22 )supports read/write of shapefile?
The OGR branch of GDAL handles all of the vector formats, and .shp is
supported. This example command will convert the specified .shp file to
OGR format:
ogr2ogr -f GML contours.gml contours/contour.shp
Cheers,
Jeshua Lacock ___________________________
Programmer/Owner Phone: 877.240.1364
http://OpenOSX.com Fax: 415.462.6211
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
More information about the Gdal-dev
mailing list