#428: g.proj -c defines wrong default values ----------------------+----------------------------------------------------- Reporter: martinl | Owner: grass-dev@lists.osgeo.org Type: defect | Status: new Priority: major | Milestone: 6.4.0 Component: default | Version: 6.4.0 RCs Resolution: | Keywords: projection, create location Platform: All | Cpu: All ----------------------+----------------------------------------------------- Comment (by pkelly):
Without looking in depth, it seems to me it is a bug / "feature" of PROJ that the first syntax, i.e. with no parameters specified, actually works. For clarity it is best to specify the parameters. How g.proj works is it uses OGR functions to parse and validate the PROJ.4 string before converting it into GRASS format. OGR interprets the string differently from PROJ.4 - internally it converts it to WKT format so I'm guessing that it requires the parameters to be specified, and because none are there it sets them to zero. Then when OGR exports the validated projection back to g.proj the parameters will be set to zero. Perhaps the best fix is for PROJ.4 to be modified so it does not accept the syntax with no parameters specified. But that is not good as it will break existing installations where people use the syntax with no parameters. -- Ticket URL: <http://trac.osgeo.org/grass/ticket/428#comment:4> GRASS GIS <http://grass.osgeo.org>
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev