[GRASS-user] r.cva & r.prominence binaries for Windows 64

Hello,

I would like to compile an add-on module to my installation of GRASS 6.4.3, specifically the r.cva and r.prominence modules developed by Mark Lake and Benjamin Ducke.

http://www.ucl.ac.uk/~tcrnmar/downloads/AdvancedViewshedAnalysis.tar.gz

Hoping that I can compile these modules myself, I’ve ran into a number of problems trying to compile OSgeo4w64 on my system. I’m guessing it has something to do with the 64bit processor, but I’m also not too experienced with compiling open source software for this to be easy in the first place.

I was wondering if anyone would be kind enough to compile the above modules, and produce a working binary that I could implement into GRASS here on my Windows 64-bit system. Or at the very least, point me in the right direction for how to go about this myself.

Dario Guiducci

PhD candidate - research assistant - course lecturer

Hominid Dispersals Research Cluster
doctorant - auxiliaire de recherche - chargé de cours

l’équipe d’étude sur la dispersion des hominidés

Département d’anthropologie
Université de Montréal

dario.guiducci@umontreal.ca

daguiducci@gmail.com

====================================================

On 21/01/14 15:56, Dario Guiducci wrote:

Hello,

I would like to compile an add-on module to my installation of GRASS
6.4.3, specifically the r.cva and r.prominence modules developed by Mark
Lake and Benjamin Ducke.

http://www.ucl.ac.uk/~tcrnmar/downloads/AdvancedViewshedAnalysis.tar.gz

Hoping that I can compile these modules myself, I've ran into a number
of problems trying to compile OSgeo4w64 on my system. I'm guessing it
has something to do with the 64bit processor, but I'm also not too
experienced with compiling open source software for this to be easy in
the first place.

I was wondering if anyone would be kind enough to compile the above
modules, and produce a working binary that I could implement into GRASS
here on my Windows 64-bit system. Or at the very least, point me in the
right direction for how to go about this myself.

You should probably try r.viewshed, for which windows binaries are pre-compiled [1] and should be installable with g.extension. See also [2].

Moritz

[1] http://wingrass.fsv.cvut.cz/grass64/addons/grass-6.4.3/
[2] http://osgeo-org.1560.x6.nabble.com/Status-of-r-cva-td5063519.html

Thanks Moritz, I didn’t realize r.prominence was already compiled. I managed to get the modules up and running.
I will try out r.viewshed. Any thoughts on the key differences between it and r.viewshed.cva? Is the latter a successor to r.cva?

Best,

···

On 21 January 2014 10:08, Moritz Lennert <mlennert@club.worldonline.be> wrote:

On 21/01/14 15:56, Dario Guiducci wrote:

Hello,

I would like to compile an add-on module to my installation of GRASS
6.4.3, specifically the r.cva and r.prominence modules developed by Mark
Lake and Benjamin Ducke.

http://www.ucl.ac.uk/~tcrnmar/downloads/AdvancedViewshedAnalysis.tar.gz

Hoping that I can compile these modules myself, I’ve ran into a number
of problems trying to compile OSgeo4w64 on my system. I’m guessing it
has something to do with the 64bit processor, but I’m also not too
experienced with compiling open source software for this to be easy in
the first place.

I was wondering if anyone would be kind enough to compile the above
modules, and produce a working binary that I could implement into GRASS
here on my Windows 64-bit system. Or at the very least, point me in the
right direction for how to go about this myself.

You should probably try r.viewshed, for which windows binaries are pre-compiled [1] and should be installable with g.extension. See also [2].

Moritz

[1] http://wingrass.fsv.cvut.cz/grass64/addons/grass-6.4.3/
[2] http://osgeo-org.1560.x6.nabble.com/Status-of-r-cva-td5063519.html

Dario Guiducci

PhD candidate - research assistant - course lecturer

Hominid Dispersals Research Cluster
doctorant - auxiliaire de recherche - chargé de cours

l’équipe d’étude sur la dispersion des hominidés

Département d’anthropologie
Université de Montréal

dario.guiducci@umontreal.ca

daguiducci@gmail.com

====================================================

Hi Dario,

On 21/01/14 16:08, Moritz Lennert wrote:

On 21/01/14 15:56, Dario Guiducci wrote:

Hello,

I would like to compile an add-on module to my installation of GRASS
6.4.3, specifically the r.cva and r.prominence modules developed by Mark
Lake and Benjamin Ducke.

http://www.ucl.ac.uk/~tcrnmar/downloads/AdvancedViewshedAnalysis.tar.gz

You can use both modules through the SEXTANTE/GRASS interface
in gvSIG OADE 2010:

http://www.oadigital.net/software/gvsigoade

For instructions, see the PDF manual that will be copied
to your computer as part of the installation process.

Note that gvSIG OADE 2010 is now unmaintained. There is
a successor called gvSIG CE (www.gvsigce.org), which
will release a stable version in a few weeks (inshallah).
It will also include r.cva and r.prominence. But if you
need them right now, use OADE 2010. It works fine.

Hoping that I can compile these modules myself, I've ran into a number
of problems trying to compile OSgeo4w64 on my system. I'm guessing it
has something to do with the 64bit processor, but I'm also not too
experienced with compiling open source software for this to be easy in
the first place.

Both modules have not seen updates for a while, so I am not sure
that they will compile on GRASS 6.4.3 at all at this moment.

Unfortunately, OSgeo4w64 includes some MS Visual C/C++ projects
and some MSVC runtimes/DLLs, whereas the GRASS binaries that ship
with gvSIG use only open source MinGW DLLs, so I don't think you
can just copy the GRASS modules over (but it's worth a try).

I was wondering if anyone would be kind enough to compile the above
modules, and produce a working binary that I could implement into GRASS
here on my Windows 64-bit system. Or at the very least, point me in the
right direction for how to go about this myself.

You should probably try r.viewshed, for which windows binaries are
pre-compiled [1] and should be installable with g.extension. See also [2].

I would say the same: Try if r.viewshed suits your needs first.
It's much more efficient than r.cva (though not as flexible and
convenient for cumulative analyses).

Alternatively, if you opt for gvSIG: Look in the SEXTANTE group
"Visibility & Lighting". There are many other options in there.

Best,

Ben

Moritz

[1] http://wingrass.fsv.cvut.cz/grass64/addons/grass-6.4.3/
[2] http://osgeo-org.1560.x6.nabble.com/Status-of-r-cva-td5063519.html

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

--
Dr. Benjamin Ducke, M.A.
{*} Geospatial Consultant
{*} GIS Developer

  benducke@fastmail.fm

On 21/01/14 16:39, Dario Guiducci wrote:

Thanks Moritz, I didn't realize r.prominence was already compiled. I
managed to get the modules up and running.
I will try out r.viewshed. Any thoughts on the key differences between
it and r.viewshed.cva? Is the latter a successor to r.cva?

Yes. It is a python script that does cumulative viewshed analysis running r.viewshed in a loop and then combining the results with r.series.

Currently, there seems to be a problem in the Windows 'build' of it. But you can just download the python script here:

https://trac.osgeo.org/grass/browser/grass-addons/grass6/raster/r.viewshed.cva

Moritz

On Tue, Jan 21, 2014 at 5:54 PM, Moritz Lennert
<mlennert@club.worldonline.be> wrote:

On 21/01/14 16:39, Dario Guiducci wrote:

Thanks Moritz, I didn't realize r.prominence was already compiled. I
managed to get the modules up and running.
I will try out r.viewshed. Any thoughts on the key differences between
it and r.viewshed.cva? Is the latter a successor to r.cva?

Yes. It is a python script that does cumulative viewshed analysis running
r.viewshed in a loop and then combining the results with r.series.

Currently, there seems to be a problem in the Windows 'build' of it.

Fixed, there was a typo in the Makefile [1]. Now you should be able to
install it with g.extension (by tomorrow morning when it has been
prepared for Windows in the (European) overnight job).

Markus

[1] https://trac.osgeo.org/grass/changeset/58755