[GRASS-dev] output r.proj in degrees:minutes
Moritz Lennert
mlennert at club.worldonline.be
Wed Mar 29 01:46:11 PDT 2017
On 29/03/17 10:36, Paulo van Breugel wrote:
> Dear devs
>
> When using r.proj with the g flag, I would expect an output that can be
> used directly in g.region. However, running from a latlon location, the
> following:
>
> r.proj -g location=nc_spm_08_grass7 mapset=PERMANENT input=cfactorbare_1m
>
>
> gives me the n-s-w-e coordinates in d:m:s, which doesn't work for g.region.
>
> n=35:44:22.382841N s=35:43:57.972871N w=78:40:57.865683W e=78:40:29.910034W rows=750 cols=700
Why doesn't this work. It should.
Testing here with
g.region n=35:44:22.382841N s=35:43:57.972871N w=78:40:57.865683W
e=78:40:29.910034W rows=750 cols=700 -p
I get:
projection: 3 (Latitude-Longitude)
zone: 0
datum: wgs84
ellipsoid: wgs84
north: 35:44:22.382841N
south: 35:43:57.972871N
west: 78:40:57.865683W
east: 78:40:29.910034W
nsres: 0:00:00.032547
ewres: 0:00:00.039937
rows: 750
cols: 700
cells: 525000
Moritz
More information about the grass-dev
mailing list