Alessandro,
unfortunately there is not a reliable tool on GDAL at the moment, but
I have been working on experimental EPSG lookup, see ticket #4345
http://trac.osgeo.org/gdal/ticket/4345
It requires gdalsrsinfo from gdal-1.9 and some extra data files
installed in the gdal data directory (see the
Is it possible to get a SRID code from an ESRI shapefile?
For example, I've got the following:
~ $ ogrinfo -al LC_FIN_smooth.shp | head -n 30
INFO: Open of `LC_FIN_smooth.shp'
using driver `ESRI Shapefile' successful.
Layer name: LC_FIN_smooth
Geometry: Polygon
Feature Count: 33308
Extent: