[GRASS-dev] Re: [GRASS GIS] #429: Add option to disable warnings in
modules
GRASS GIS
trac at osgeo.org
Tue Jan 13 13:12:46 EST 2009
#429: Add option to disable warnings in modules
--------------------------+-------------------------------------------------
Reporter: kyngchaos | Owner: grass-dev at lists.osgeo.org
Type: enhancement | Status: new
Priority: minor | Milestone: 6.4.0
Component: default | Version: svn-develbranch6
Resolution: | Keywords:
Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment (by pkelly):
I also like the idea of a flag for r.proj to hide any errors from PROJ.4,
but for implementing it I think it might be better (this would be for
GRASS 7 - too disruptive for 6.x I think) to remove the code in
lib/proj_do_proj.c that prints the error messages as a GRASS warning, and
instead make sure all modules calling pj_do_proj() or pj_do_transform()
check the return value and do what they see fit if it indicates an error
value. They really should be checking the return value at the minute IMHO.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/429#comment:6>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list