[GRASS-user] Creating location using EPSG code

Rich Shepard rshepard at appl-ecosys.com
Mon Aug 26 14:10:25 PDT 2019


The region in the project location is incorrect. With only one small data
set imported I decided to start over by deleting that location in
/data/grassdata/.

I created a subdirectory for the project /data/grassdata/mohler/ then
started grass within that directory: grass79 -c epsg:2838 --gui PERMANENT

The EPSG code is defined as:

EPSG 2838  NAD83(HARN) <http://www.spatialreference.org/ref/epsg/2838/>
proj4: +proj=lcc +lat_1=46 +lat_2=44.33333333333334 +lat_0=43.66666666666666 +lon_0=-120.5 +x_0=2500000 +y_0=0 +ellps=GRS80 +units=m +no_defs

but those are not the values seen by g.region:

GRASS 7.9.dev (mohler):/data/grassdata > g.region -p
projection: 99 (NAD83(HARN) / Oregon North)
zone:       0
datum:      nad83harn
ellipsoid:  grs80
north:      1
south:      0
west:       0
east:       1
nsres:      1
ewres:      1
rows:       1
cols:       1
cells:      1

What have I done incorrectly?

TIA,

Rich


More information about the grass-user mailing list