[GRASS-dev] [GRASS GIS] #248: v.info vs. r.info: different region
output formats
GRASS GIS
trac at osgeo.org
Sat Aug 2 03:56:29 EDT 2008
#248: v.info vs. r.info: different region output formats
-------------------------------------------+--------------------------------
Reporter: sebastianh | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: minor | Milestone: 7.0.0
Component: default | Version: unspecified
Keywords: v.info, r.info, region output | Platform: All
Cpu: All |
-------------------------------------------+--------------------------------
In a location with a geographic crs, the region outputs (esp. the unit
formats) of vector and raster layers differs from each other.
v.info prints the region in decimal degrees (DD) whereas r.info produces
an output in degrees,minutes,seconds (DMS).
For example (nc_ll location from www.grassbooks.org):
{{{
> v.info -g precip_30ynormals
north=36.49917
south=33.99472
east=-75.62194
west=-84.02389
top=1615.440000
bottom=2.438400
> r.info -g elev_ned_03arcsec
north=35:54:40.666666N
south=35:35:17.334885N
east=78:27:08.335106W
west=78:49:17.333333W
}}}
For parsing both ouputs with external tools, it would be better if the
formats were equal (preferably decimal degrees).
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/248>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list