I have a thousand of arc coverage would like to covert to shapefile. How can I use the ogr2ogr to convert it in batch rather than convert it one by one? It takes a lot of time! Any idea?
Asked
Active
Viewed 2,541 times
0
1 Answers
0
What BradHards said (in a comment, why not an answer? Sorry I'm new here).
Write a script, even a good-old DOS batch file would work. But since you are using ogr2ogr you likely have python installed. So make a list of the files to convert, and iterate through that list in a python script making the call to ogr2ogr in the loop for each file.
WxMan
- 111
- 1
for /R %f in (*.E00) do ogr2ogr -f "ESRI Shapefile" "%~dpnf" "%f"– Mike T Dec 05 '13 at 03:31