[GRASS-user] Re-organizing database locations

Rich Shepard rshepard at appl-ecosys.com
Fri Jun 22 09:42:19 PDT 2018


   I need to re-organize locations within ~/data/grassdata and transform all
projections to a single one. Locations now are by the states in which I have
(or had) projects, but there are other locations within them that I want to
collect into a single PERMANENT mapset.

   For example, in ~/data/grassdata/Oregon the PERMANENT mapset's projection
is that of the former state standard:

name: Lambert Conformal Conic
proj: lcc
datum: nad83
ellps: grs80
lat_1: 43
lat_2: 45.5
lat_0: 41.75
lon_0: -120.5
x_0: 400000.00000000
y_0: 0
no_defs: defined
nadgrids: WO

and I want to transform that to the current state standard:

name: NAD83(HARN) / Oregon North
datum: nad83harn
ellps: grs80
proj: lcc
lat_1: 46
lat_2: 44.33333333333334
lat_0: 43.66666666666666
lon_0: -120.5
x_0: 2500000
y_0: 0
no_defs: defined
towgs84: 0.000,0.000,0.000

   Looking at the general commands I don't find one that will allow me to
transform a location's projection while there are modules to convert a
mapset's projection. The g.rename module renames mapsets so it seems that it
cannot be used to rename locations.

   Pointers needed.

Rich



More information about the grass-user mailing list