In QGIS/GRASS, is it possible to list the projection details of all the shp,tab,dxf files in a folder ? We are having 100 - 150 files in too many folders. We would like to create a table of Proj details of all the files in those folders. Any idea ?
GDAL ogrinfo is able to report the projection information of shapefiles.
You can use it recursively in batch mode in OSGeo4w or Linux/Mac Terminal. The command line for recursion is dependent on the operating system.
For Windows, try:
for /R .\ %%N IN (*.shp) DO ogrinfo -al -so %%N >>outogr.txt
or using gdalsrsinfo on the .prj file:
for /R .\ %%N IN (*.shp) DO (echo %%N >>outprj.txt & gdalsrsinfo %%~nN.prj >>outprj.txt)