[GRASS5] howto: direct access to raster cells - skeletons in cvs?

Stefan Paulick stefan.paulick at urbeli.com
Tue Sep 28 13:08:21 EDT 2004


I want to perform the following task:
	1) read a single cell in a raster map
	2) modify its value
	3) write it back and display the map 

When having a look at r.example using KDevelop, I received 	
	module = G_define_module();
	->  warning: assignment makes pointer from integer without a cast
and
	module->description ="GRASS raster programming example.";
	->  error: dereferencing pointer to incomplete type
so I got both stuck and very nervous... ;-)) 

It would be very helpful if there were some basic skeletons ( r.user, v.user 
...)  prepared in the cvs for home-brewed functions which do compile clean 
and are showing the correct use of the given basic resources. 


Mit freundlichen Grüßen / With kindest regards 

Stefan Paulick 

stefan.paulick at urbeli.com
http://www.urbeli.com
/*----------------------*/ 





More information about the grass-dev mailing list