Is it possible to convert a shapefile to a gml file?
If so, how and using what tools?
Best Answer
Yes, using the command line ogr2ogr tool.
For example, given a "roads.shp" file, you could convert it using the following:
ogr2ogr -f GML roads.gml roads.shp
ogr2ogr provides a large array of options, so you might want to review them prior to executing. You can also use the tool to create only a subset of the input data and also reproject the output.
Best Answer
Yes, using the command line
ogr2ogr
tool.For example, given a "roads.shp" file, you could convert it using the following:
ogr2ogr
provides a large array of options, so you might want to review them prior to executing. You can also use the tool to create only a subset of the input data and also reproject the output.