[Qgis-user] Re:Newbie question - gml files

aperi2007 aperi2007 at gmail.com
Sun Jan 2 14:08:58 PST 2011


Il 02/01/2011 22:51, Sam Vekemans ha scritto:
>
> The ogr2ogr.exe file is hidden in the
> D:\Downloads\release-1500-gdal-mapserver\bin\gdal\apps directory.
> does it automatically look in the
> D:\Downloads\release-1500-gdal-mapserver\bin  folder?
>
no, it need some setting to path and variables.
The simplest way to use it is put always needed in a single folder.

So you can
create a folder naming for example
"try-gdal"

copy in thata folder
bin/gdal/apps/ogr2ogr.exe

after you copy in "try-gdal" even all the dlls
from "bin" without the subdirectories.
and always in "try-gdal" copy all the file from
bin/gdal-data

ending copy-ing in try.gdal all the files GML you want to convert.

after this
open a console dos and go in "try-gdal" and put the comand:

ogr2ogr.exe -f "ESRI Shapefile" folder-result file.gml

regards





More information about the Qgis-user mailing list