ogr2ogr with file list

Yar Doroshenko numerous at GMAIL.COM
Tue Jul 26 13:08:29 EDT 2005


Hi Guys,

I'm working on automating my shapefile coordinate conversions. I know how
to do single file conversion:

ogr2ogr input.shp output.shp -t_srs WGS84

Now, can I automate the process? Let's say I have a list of shapefiles that
I want to convert, would I do something like:

for %f in (path_here\list.in) do ogr2ogr %f

I tried this one in many different ways, but I do get errors.

Would anyone have a correct syntax for multiple file conversions?

Thank you

Yar



More information about the mapserver-users mailing list