[GRASS-dev] [GRASS GIS] #3048: r.out.gdal does not write EPSG code of the projection

GRASS GIS trac at osgeo.org
Sat May 28 02:42:27 PDT 2016


#3048: r.out.gdal does not write EPSG code of the projection
--------------------------+-------------------------
  Reporter:  sbl          |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  7.0.5
 Component:  Raster       |    Version:  svn-trunk
Resolution:               |   Keywords:  r.out.gdal
       CPU:  Unspecified  |   Platform:  All
--------------------------+-------------------------

Comment (by neteler):

 Thinking more about it, I believe that it is not possible to generate the
 AUTHORITY here because GRASS internally uses the PROJ.4 representation.

 Options:
  * implement lookup support in GDAL, see
 http://article.gmane.org/gmane.comp.gis.gdal.devel/43031
  * Change libproj to first read PROJ_EPSG (if present), then merge the
 datum information into that which is maintained in GRASS only, send all to
 GDAL and get WKT back (something like this).

 Note that EPSG codes often don't include the DATUM string since several
 datums may exist (that's why GRASS comes with a sophisticated lookup
 mechanism which isn't present in GDAL for example).

 Back to the original report:
 > which is thus not properly recognized by other tools (e.g. QGIS, but
 esp. !GeoServer).

 Can you elaborate?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3048#comment:2>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list