[FWTools] Could AnyOne give me a Copy Of FwTools?

Mateusz Loskot mateusz at loskot.net
Tue Nov 20 21:05:30 EST 2007


abe.zhu wrote:
> how can i use the ogr2ogr cmd to convert a shapefile to gml,and convert
> a gml to shapefile?

Please, read the documentation first:

http://www.gdal.org/ogr/ogr2ogr.html
http://www.gdal.org/ogr/ogr_formats.html

> can i convert a list of shapefiles into a single gml files?

Yes, just specify directory with bunch of shapefiles as sources dataset.

ogr2ogr -f GML out.gml /path/to/dir/with/shapefiles

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net


More information about the FWTools mailing list