[GRASS5] [bug #4028] (grass) d.grid -g fails for Washington State Plane South Projection
Request Tracker
grass-bugs at intevation.de
Sat Jan 21 02:53:45 EST 2006
this bug's URL: http://intevation.de/rt/webrt?serial_num=4028
-------------------------------------------------------------------------
Subject: d.grid -g fails for Washington State Plane South Projection
Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: 20060117
Problem: d.grid -g fails to draw a geographic grid in the Washington State Plane South projection:
# Washington State Plane South:
GRASS 6.1.cvs (WASPS_NAD83):~/ecology_data_nad83_harn > g.proj -p
-PROJ_INFO-------------------------------------------------
name : State Plane
datum : nad83
nadgrids : WO
proj : lcc
a : 0.6378137e+07
es : 0.66943800229e-02
x_0 : 0.5e+06
y_0 : 0
lon_0 : 120d30'w
lat_0 : 45d20'n
lat_1 : 47d20'n
lat_2 : 45d50'n
-PROJ_UNITS------------------------------------------------
unit : USfoot
units : USfeet
meters : 0.30480060960121920243
GRASS 6.1.cvs (WASPS_NAD83):~/ecology_data_nad83_harn > d.grid -g size=1 color=red origin=0,0 bordercolor=blue
pj_transform() failed
cause: failed to load NAD27-83 correction file
ERROR: Error in pj_do_proj
d.grid -g works perfectly from Washington State Plane North (same projection with the standard parallels shifted north):
# Washington State Plane North
GRASS 6.1.cvs (WASPN_NAD83):~ > g.proj -p
-PROJ_INFO-------------------------------------------------
name : State Plane
datum : nad83
nadgrids : WO
proj : lcc
a : 0.6378137e+07
es : 0.66943800229e-02
x_0 : 0.5e+06
y_0 : 0
lon_0 : 120d50'w
lat_0 : 47dn
lat_1 : 48d44'n
lat_2 : 47d30'n
-PROJ_UNITS------------------------------------------------
unit : USfoot
units : USfeet
meters : 0.30480060960121920243
GRASS 6.1.cvs (WASPN_NAD83):~ > d.grid -g size=1 color=red origin=0,0
bordercolor=blue
(draws grid on screen)
To reproduce the error you need to create a washington state plane south location.
Select Projection: D (other projection)
projection: stp
datum: nad83
transformation: 5 (Washington - Oregon)
state FIPS code: 53 (WA)
county FIPS code: 67 (Thurston)
state plane: 83 (1983)
units: 1 (US Survey Foot)
north: 1383333.33333333
south: -90000
west: 478678.67867868
east: 2681081.08108108
nsres: 303.03030303
ewres: 300.3003003
rows: 4862
cols: 7334
Now try to add the geographic grid.
-------------------------------------------- Managed by Request Tracker
More information about the grass-dev
mailing list