[GRASS-user] Re: r.proj -Segmentation fault

Markus Neteler neteler at osgeo.org
Mon Mar 21 18:40:27 EDT 2011


On Fri, Mar 18, 2011 at 1:31 PM, TimNorwey <timmy_weyrer at live.at> wrote:
> OK ... the locations are in there too.

Perfect, like this testing is easy.

> I can download the file, without any problems.
>
> But I will attach it here again and hope that you can download it:
> http://osgeo-org.1803224.n2.nabble.com/file/n6184337/ReProjectWGS84toUTM15.zip

GRASS 6.4.1svn (utm15):~/grassdata > r.proj in=tif_test out=dem30_tif
location=reproj_tif_84 mapset=reproj_tif_84 method=bilinear
resolution=30
Input Projection Parameters:  +proj=longlat +no_defs +a=6378137
+rf=298.257223563 +towgs84=0,0,0,0,0,0,0
Input Unit Factor: 1
Output Projection Parameters:  +proj=utm +no_defs +zone=15 +a=6378137
+rf=298.257222101 +towgs84=0,0,0,0,0,0,0
Output Unit Factor: 1

Input:
Cols: 180 (180)
Rows: 180 (180)
North: 30.100000 (30.100000)
South: 30.050000 (30.050000)
West: -90.600000 (-90.600000)
East: -90.550000 (-90.550000)
EW-res: 0.000278
NS-res: 0.000278

Output:
Cols: 165 (166)
Rows: 188 (189)
North: 3332400.000000 (3332400.000000)
South: 3326760.000000 (3326730.000000)
West: 731280.000000 (731250.000000)
East: 736230.000000 (736230.000000)
EW-res: 30.000000
NS-res: 30.000000

Allocating memory and reading input map...
 100%
Projecting...
 100%
r.proj complete.

No problems here... the resulting map looks fine. My system:

uname -a
Linux north 2.6.33.7-desktop-2mnb #1 SMP Mon Sep 20 18:19:20 UTC 2010
x86_64 x86_64 x86_64 GNU/Linux

Someone on Mac needs to try.. Or Tim, you need to run it through
a debugger, see

http://grass.osgeo.org/wiki/GRASS_Debugging#Using_GDB

and post the full backtrace to a Trac ticket for analysis.

PS: I'll send the reprojected map to you.

Markus


More information about the grass-user mailing list