Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I want to use mdenoise / r.denoise but i cant get it working. I have Xubuntu 12.04 and Grass 6.4.1

GRASS tells me after installing the plugin:

g.extension extension=r.denoise svnurl=https://svn.osgeo.org/grass/grass-addons/grass6
Fetching <r.denoise> from GRASS-Addons SVN (be patient)...
A    r.denoise/description.html
A    r.denoise/r.denoise
A    r.denoise/Makefile
 U   r.denoise
Ausgecheckt, Revision 51599.
Compiling <r.denoise>...
Makefile:5: /usr/lib/grass64/include/Make/Script.make: Datei
oder Verzeichnis nicht gefunden
make: *** Keine Regel, um
»/usr/lib/grass64/include/Make/Script.make« zu erstellen.
Schluss.
ERROR: Compilation failed, sorry. Please check above error messages.

I got no solution for that so I tryed to use mdenoise in the terminal but here I got truble with the filextensions: ASC-is the only extension I can work with but I got a "memory access error". Converting to other extensions failed (using SAGA).

root@MAP-PC:~/mdenoise# /home/map/mdenoise/mdenoise -I esri.asc -o output.asc
Input File: esri.asc
Neighbourhood: Common Vertex
Threshold: 0.400000
n1: 20
n2: 50
Speicherzugriffsfehler (Speicherabzug geschrieben)
root@MAP-PC:~/mdenoise#

with xyz-extension:

root@MAP-PC:~/mdenoise# /home/map/mdenoise/mdenoise -I esri.xyz -o output.asc
Input File: esri.xyz
Neighbourhood: Common Vertex
Threshold: 0.400000
n1: 20
n2: 50
Read Model...
Triangulation...
    13.620 seconds
Denoising Model...     0.000 seconds
Saving Model...No .prj file is found.
     0.120 seconds
root@MAP-PC:~/mdenoise# 

Im working now 10hours nonstop on it! Im going crazy!

I realy hope, someone can help me, to get mdenoise running!

THANKS! Martin

share|improve this question

1 Answer 1

up vote 2 down vote accepted

To compile GRASS Addons, you need to install the "grass-dev[el]" package as well (looks like missing in your case). But it is highly recommended to use GRASS 6.4.2 since we fixed a series of (Ubuntu) problems of g.extension in this release. In GRASS 6.4.2 you find also a convenient install tool in the wxGUI, the graphical user interface.

share|improve this answer
    
Thats it! Thanks! –  MAP May 7 '12 at 21:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.