[GRASS-dev] Re: [GRASS GIS] #654: g.proj -c fails with ERROR: region for current mapset is not set run "g.region"

GRASS GIS trac at osgeo.org
Wed Jun 17 09:52:32 EDT 2009


#654: g.proj -c fails with ERROR: region for current mapset is not set run
"g.region"
-----------------------+----------------------------------------------------
  Reporter:  hamish    |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect    |      Status:  new                      
  Priority:  critical  |   Milestone:  6.4.0                    
 Component:  default   |     Version:  6.4.0 RCs                
Resolution:            |    Keywords:  g.proj                   
  Platform:  All       |         Cpu:  All                      
-----------------------+----------------------------------------------------
Comment (by hamish):

 > I think the solution is to create a new lib fn
 > char *G_format_number(double value, int dp);

 better, path of least change: allow G_format_northing() etc to accept "-1"
 for projection type which in this instance can mean use "%.15g"
 independent of the projection.


 Hamish

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


More information about the grass-dev mailing list