[GRASS-user] custom local map location

Nikos Alexandris nik at nikosalexandris.net
Sat May 19 05:48:25 PDT 2018


* Ken Mankoff <mankoff at gmail.com> [2018-05-19 11:35:23 +0200]:

>Hi GRASS List,
>
>I've just spent 30 days on a field campaign collecting data. I have a
>large amount of it in a GRASS mapset with location EPSG:3413. I'd like
>to set up a new location with (0,0) centered on our basecamp and
>everything nearby relative to that. Can someone advise how to use
>"proj" to create a new location centered on either a (lon,lat) location
>but with units meter, or centered on an (x,y) location from a different
>projection?
>
>The reason for this is so I can push data to ParaView which doesn't
>work well with coordinate systems far removed from the origin.

Ken,

some starter idea (?)

# create an unprojected XY location
grass -c /grassdb/xy

# import an 256 by 256 sized (unprojected) TIFF
r.external input=SomeTIFF out=SomeTIFF

# re-set SomeTIFF's region
r.region n=128 s=-128 w=-128 e=128

Now (0,0) is in the center of the image.

Nikos

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20180519/e58298f4/attachment.sig>


More information about the grass-user mailing list