[GRASS-dev] Re: [GRASS GIS] #167: g.region: reports wrong center
longitude and LL bounding box
GRASS GIS
trac at osgeo.org
Wed May 14 04:28:52 EDT 2008
#167: g.region: reports wrong center longitude and LL bounding box
----------------------+-----------------------------------------------------
Reporter: hamish | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: major | Milestone: 6.4.0
Component: default | Version: svn-develbranch6
Resolution: | Keywords: g.region 180
----------------------+-----------------------------------------------------
Comment (by hamish):
Center coord via another method for comparison:
{{{
g.region -c
center easting: -164500.000000
center northing: -2107500.000000
echo "-164500 -2107500" | m.proj -o --quiet
132d26'33.612"E 18d18'35.426"S 0.000
}}}
which doesn't match either -b or -l's version, but looks about right if
you plot it over 'd.grid -g 10':
{{{
# d.mark from wiki addons
d.mark -m at="-164500,-2107500"
}}}
compare:
{{{
g.region -l
center longitude: 42:35:00.190847E + 180 = +137.4166137
center latitude: 11:51:25.545225S
echo "137.4166137 11d51'25.545225\"S" | m.proj -i --quiet
380455.32 -1390800.80 0.00
d.mark -m at="380455.32,-1390800.80" fcolor=red
## (off a way to the NE)
}}}
{{{
g.region -b
center [lon]: 118:53:40.840749E
center [lat]: 12:21:00.985478S
echo "118d53'40.840749\"E 12d21'00.985478\"S" | m.proj -i --quiet
-1671525.94 -1541908.71 0.00
d.mark -m at="-1671525.94,-1541908.71" fcolor=blue
## (off even further away to the NW)
}}}
Hamish
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/167#comment:1>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list