[GRASS5] [bug #2916] (grass) errors in DEFAULT_WIND in a location made from epsg code

Markus Neteler neteler at itc.it
Fri Jan 21 05:53:18 EST 2005


On Fri, Jan 21, 2005 at 12:31:35AM +0100, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=2916
> -------------------------------------------------------------------------
> 
> Subject: errors in DEFAULT_WIND in a location made from epsg code
> 
> Platform: GNU/Linux/i386
> grass obtained from: Mirror of Trento site
> grass binary for platform: Compiled from Sources
> GRASS Version: grass-6.0.cvs_src_snapshot__2005_01_15
> 
> In the menu invoked by 'grass60 -gui' I set up a new location from an epsg code '2174'. After entering it any g.region command gave:
>  
> ERROR: default region is invalid
> line 13: <cols3: -1073745292>

Ah, I see. g.proj is missing an update for the WIND3 integrated.
Fixed in CVS.
 
> Today I used this functionality as one of the examples for a bunch of ArcView addicts of how easy it is to work in Grass6. We were rather impressed but not with g.region's output ;).
> 
> The problematic DEFAULT_WIND looks as follows:
> 
> north:      1
> south:      0
> east:       1
> west:       0
> cols:       1
> rows:       1
> e-w resol:  1
> n-s resol:  1
> top:        4.14363e-310
> bottom:     -1.99674
> cols3:      -1073745292
> rows3:      24641422
> depths:     1073826200
> e-w resol3: 2.16093445
> n-s resol3: 0
> t-b resol:  0
> 
> Maciek Sieczka

So, here we are:

GRASS 6.0.cvs:~ > g.proj -p
-PROJ_INFO-------------------------------------------------
name       : Stereographic
proj       : stere
a          : 6378245
es         : 0.0066934216
lat_0      : 51.67083333333333
lon_0      : 16.67222222222222
k          : 0.999800
x_0        : 3703000
y_0        : 5627000
towgs84    : 33.4,-146.6,-76.3,-0.359,-0.053,0.844,-0.84
no_defs    : defined
-PROJ_UNITS------------------------------------------------
unit       : metre
units      : metres
meter      : 1
GRASS 6.0.cvs:~ >

Now you can show your bunch of ArcView addicts the bug fix response time...

Reported: Fri Jan 21 2005 00:31:35
Fixed:    Fri Jan 21 2005 11:51:45 CET

Time difference: around 11h including the night.

It is available in CVS, will appear in the next Saturday's CVS snapshots and
of course in 6.0.0beta2.

Have fun, thanks for reporting

 Markus

-- 
Markus Neteler     <neteler itc it>       http://mpa.itc.it
ITC-irst -  Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18        -       38050 Povo (Trento), Italy




More information about the grass-dev mailing list