[Qgis-user] error with qgis 1.7 shaded relief plugin

maning sambale emmanuel.sambale at gmail.com
Mon Jun 27 21:34:41 PDT 2011


[Posting in the list because I can't find the shaded relief plugin
project in the hub.qgis.org to post an issue]

Using the shaded relief plugin in 1.7 we get the following errors.

An error has occured while executing Python code:
Traceback (most recent call last):
File "C:/Users/ariel/.qgis/python/plugins\shadedrelief\ShadedReliefDialog.py",
line 83, in accept    myEngine.run()
File "C:/Users/ariel/.qgis/python/plugins\shadedrelief\ShadedReliefEngine.py",
line 71, in run    gr = numpy.ma.filled(grm, numpy.ma.average(grm))
File "C:\PROGRA~2\QUANTU~2\apps\Python25\lib\site-packages\numpy\ma\extras.py",
line 286, in average    d =
umath.add.reduce((-mask).ravel().astype(int))

MemoryError

Python version:2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310
32 bit (Intel)]

QGIS version:1.7.0-Wroclaw Wroclaw, 63ecdd7

Python path: ['C:/PROGRA~2/QUANTU~2/apps/qgis/./python',
'C:/Users/ariel/.qgis/python', 'C:/Users/ariel/.qgis/python/plugin

DEM metadata here:

Driver:GDAL providerGTiffGeoTIFFDataset
DescriptionZ:\Philippines\DEMs\Country_srtm_90m\srtm_61_11(1)\srtm_62_11.tifAREA_OR_POINT=AreaBand
1Dimensions:X: 6001 Y: 6001 Bands: 1X : 1501,Y 1501X : 751,Y 751X :
376,Y 376X : 188,Y 188X : 94,Y 94X : 47,Y 47Origin:125,10.0004Pixel
Size:0.000833333,-0.000833333No Data Value-32768 Data Type:GDT_Int16 -
Sixteen bit signed integer Pyramid overviews:Layer Spatial Reference
System: +proj=longlat +ellps=WGS84 +towgs84=0,0,0,0,0,0,0
+no_defsLayer Extent (layer original source projection):
124.9995834543951787,4.9995834301807909 :
130.0004167877285113,10.0004167635141243BandBand 1Band No1No StatsNo
stats collected yet


We clipped the DEM into a smaller area and it worked.

-- 
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
------------------------------------------------------



More information about the Qgis-user mailing list