Opened 16 years ago

Closed 15 years ago

#485 closed defect (fixed)

r.external crash

Reported by: hellik Owned by: grass-dev@…
Priority: major Milestone: 6.4.0
Component: Raster Version: 6.4.0 RCs
Keywords: r.external Cc:
CPU: Unspecified Platform: MSWindows Vista

Description

osgeo4w (2008/02/08):

grass64rc3-2 GDAL 1.5.4, released 2009/01/07

gisdemo_ncspm-data:

r.out.gdal input=elevation@PERMANENT output=C:\wd\testdata\demout.tif

=> export ok

info about demout.tif

gdalinfo demout.tif

Driver: GTiff/GeoTIFF Files: demout.tif Size is 1500, 1350 Coordinate System is: PROJCS["Lambert Conformal Conic",

GEOGCS["NAD83",

DATUM["North_American_Datum_1983",

SPHEROID["GRS 1980",6378137,298.2572221010002,

AUTHORITY["EPSG","7019"]],

AUTHORITY["EPSG","6269"]],

PRIMEM["Greenwich",0], UNIT["degree",0.0174532925199433], AUTHORITY["EPSG","4269"]],

PROJECTIONLambert_Conformal_Conic_2SP, PARAMETER["standard_parallel_1",36.16666666666666], PARAMETER["standard_parallel_2",34.33333333333334], PARAMETER["latitude_of_origin",33.75], PARAMETER["central_meridian",-79], PARAMETER["false_easting",609601.22], PARAMETER["false_northing",0], UNIT["metre",1,

AUTHORITY["EPSG","9001"]]]

Origin = (630000.000000000000000,228500.000000000000000) Pixel Size = (10.000000000000000,-10.000000000000000) Metadata:

AREA_OR_POINT=Area

Image Structure Metadata:

INTERLEAVE=BAND

Corner Coordinates: Upper Left ( 630000.000, 228500.000) ( 78d46'27.41"W, 35d48'34.59"N) Lower Left ( 630000.000, 215000.000) ( 78d46'28.63"W, 35d41'16.54"N) Upper Right ( 645000.000, 228500.000) ( 78d36'29.89"W, 35d48'33.08"N) Lower Right ( 645000.000, 215000.000) ( 78d36'32.01"W, 35d41'15.03"N) Center ( 637500.000, 221750.000) ( 78d41'29.49"W, 35d44'54.91"N) Band 1 Block=1500x1 Type=Float32, ColorInterp=Gray

Metadata:

COLOR_TABLE_RULES_COUNT=5 COLOR_TABLE_RULE_RGB_0=5.557879e+001 7.572901e+001 0 191 191 0 255 0 COLOR_TABLE_RULE_RGB_1=7.572901e+001 9.587922e+001 0 255 0 255 255 0 COLOR_TABLE_RULE_RGB_2=9.587922e+001 1.160294e+002 255 255 0 255 127 0 COLOR_TABLE_RULE_RGB_3=1.160294e+002 1.361797e+002 255 127 0 191 127 63 COLOR_TABLE_RULE_RGB_4=1.361797e+002 1.563299e+002 191 127 63 20 20 20

=> demout.tif ok

link external raster via gdal

r.external --verbose input=C:\wd\testdata\demout.tif output=demext title=TestExternalLink

=> r.external-crash

I've tried the example above with wxpython- and tcltk-gui, in both cases r.external crashes

Change History (4)

comment:1 by martinl, 15 years ago

Keywords: r.external added

comment:2 by hellik, 15 years ago

grass6_devel self compiled in the osgeo4w-stack on WinVista rev39094 nc-dataset

elevetation data exported as geotiff and linked with r.external => no crash of r.external

but the linked geotiff, added to the mapdisplay, is not displayed

r.info map=testelevlinked@user1 category support for [testelevlinked@user1] in mapset [user1] missing

+----------------------------------------------------------------------------+ | Layer: testelevlinked@user1 Date: Wed Sep 09 21:21:05 2009 | | Mapset: user1 Login of Creator: syringia | | Location: nc_spm_08 | | DataBase: C:\gisdata\grassdata | | Title: ?? ( testelevlinked ) | | Timestamp: none |

|

| | | Type of Map: raster Number of Categories: ?? | | Data Type: FCELL | | Rows: 1350 | | Columns: 1500 | | Total Cells: 2025000 | | Projection: Lambert Conformal Conic | | N: 228500 S: 215000 Res: 10 | | E: 645000 W: 630000 Res: 10 | | Range of data: min = 55.98819 max = 155.9353 | | | | Data Description: | | generated by r.external | | | | Comments: | | r.external input="C:\wd\test_elev.tif" output="testelevlinked" band=1 | | | +----------------------------------------------------------------------------+

g.region -p projection: 99 (Lambert Conformal Conic) zone: 0 datum: nad83 ellipsoid: a=6378137 es=0.006694380022900787 north: 228500 south: 215000 west: 630000 east: 645000 nsres: 10 ewres: 10 rows: 1350 cols: 1500 cells: 2025000

r.colors map=testelevlinked@user1 color=elevation Color table for raster map <testelevlinked@user1> set to 'elevation'

comment:3 by neteler, 15 years ago

Is this now fixed? see also #885 - please close here if #885 reports the same.

in reply to:  3 comment:4 by hellik, 15 years ago

Resolution: fixed
Status: newclosed

Replying to neteler:

Is this now fixed? see also #885 - please close here if #885 reports the same.

tested with the nightly build WinGRASS-6.4.SVN-r40852-1-Setup.exe on a WinXP32, displaying the linked raster in the wxgui is working. so closing this report, because #885 reports the same.

Helmut

Note: See TracTickets for help on using tickets.