[Qgis-user] Error with Shaded Relief

Agustin Lobo alobolistas at gmail.com
Mon Oct 12 12:11:36 PDT 2009


My previous post on the Raster based Terrain Analysis plugin
was wrong, the error occurs with the DEM relief shader:

> We find this error at running DEM relief shader
> on Win (1.3.0 from the standalone version). The plugin works fine on linux
> (ubuntu jaunty), so it seems the python version, which cannot
> be changed in the win standalone version, right?
> Agus
> 
> An error has occured while executing Python code:
> 
> Traceback (most recent call last):
>    File "C:/Documents and
> Settings/WIN-XP/.qgis//python/plugins\shadedrelief\ShadedReliefDialog.py",
> line 82, in accept
>      myEngine.run()
>    File "C:/Documents and
> Settings/WIN-XP/.qgis//python/plugins\shadedrelief\ShadedReliefEngine.py",
> line 64, in run
>      sta=numpy.dstack((-gr[1]*dy,gr[0]*dx,numpy.ones(gr[0].shape)*dx*dy))
>    File "C:/Archivos de programa/Quantum GIS
> Mimas/./python\numpy\lib\shape_base.py", line 304, in dstack
>      return _nx.concatenate(map(atleast_3d,tup),2)
> MemoryError
> 
> Python version:
> 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
> 

Agus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alobolistas.vcf
Type: text/x-vcard
Size: 251 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20091012/36b5dfa4/attachment.vcf>


More information about the Qgis-user mailing list