[GRASS-dev] Identifying the EPSG code from projection string

Hi,

in order to add the file PROJ_EPSG to older locations, we may use of a
GDAL function for that:

Python:
   srs.AutoIdentifyEPSG()

http://www.gdal.org/classOGRSpatialReference.html#acb0373c83927bfd694048da6f79e33ea

In C
  OSRAutoIdentifyEPSG()

See
* http://gis.stackexchange.com/questions/7608/shapefile-prj-to-postgis-srid-lookup-table
* https://lists.osgeo.org/pipermail/gdal-dev/2014-August/039963.html

It would be great to extend g.proj (e.g. new flag -i for "identify
EPGS code") or write a helper Python routine.
Of course it will not work for all projection definitions but likely
catch many of the relevant ones (I tried with UTM32N).

What do you think?

Markus