[Qgis-user] Code of Grass Modules

Alex Mandel tech_dev at wildintellect.com
Mon Jan 14 13:33:55 PST 2013


On 01/12/2013 07:11 AM, Mohammad Omayr wrote:
> Hello Everyone!
> 
> I'm looking for the code of some Grass Modules so that I may know the logic
> used in those modules. Currently I want to get the code of r.horizon and
> r.sun modules of Grass. I know their basic algorithm but still I want to
> see the code.
> I'd be very thankful if anyone provides me any links which have the codes
> of these modules, Or if anyone could tell me the location of these modules
> in the installation directory of Grass. I tried to find but couldn't
> Thanks in advance!
> 

1st this question is probably better for the GRASS mailing list.

QGIS & GRASS ship compiled binaries of c code, if you want to see the
source you have to download the source:
http://grass.osgeo.org/download/software/sources/

Specifically you can browse to the algorithm you want and just pull that
file:
http://svn.osgeo.org/grass/grass/branches/releasebranch_6_4/raster/r.horizon/

Enjoy,
Alex



More information about the Qgis-user mailing list