I have to reproject all the layers from a database, but some of them are undefined and some are defined in a wrong projection. I would like to sort all those layers in a text file with their source projection and their path. I tried:
For /R %f in (*.tab) do ogrinfo -al -so %~dpnxf > list.txt
The fact is only the last layer return a result in the list.txt
. Do you know why? Is there a more appropriate method to overcome that projection problem?