[GRASS-user] AdvancedViewshedAnalysis

Hi GRASS-Users

Apologies for cross-posting.

My difficulty is with install AdvancedViewshedAnalysis extension using GEM within GRASS 6.4.ORC6

command ‘gem6’ is not recognised

command ‘gem install AdvancedViewshedAnalysis.tar’ produces the following error message

ERROR: Could not find a valid gem ‘AdvancedViewshedAnalysis.tar’ (>= 0) in any repository

I have an older version of GRASS (GRASS 6.3.0). From here the command
‘gem6 -i AdvancedViewshedAnalysis.tar -v’ begins to install and then aborts with the following error message:

ERROR: Compilation failed for these module(s):
/private/tmp/grass.extension.Mngj89/AdvancedViewshedAnalysis/src/raster/r.cva
/private/tmp/grass.extension.Mngj89/AdvancedViewshedAnalysis/src/raster/r.prominence
Run ‘make’ manually in each module’s directory for details.
make: *** [default] Error 1

I’ve now run make in both modules (I think), but I still get the same error message. I also don’t understand why the tar file is recognised from GRASS 6.3 but not 6.4. I’m almost certainly doing something very stupid - any help gratefully received!

Thanks
Becky

grass-user@lists.osgeo.org

Hi,

2010/8/13 Rebecca Rennell <lostbex@hotmail.com>:

My difficulty is with install AdvancedViewshedAnalysis extension using GEM
within GRASS 6.4.ORC6

update your version to 6.4. from SVN and try g.extension [1].

command 'gem6' is not recognised

gem is not maintained anymore.

/private/tmp/grass.extension.Mngj89/AdvancedViewshedAnalysis/src/raster/r.cva
/private/tmp/grass.extension.Mngj89/AdvancedViewshedAnalysis/src/raster/r.prominence

use

g.extension extension=r.cva

and

g.extension extension=r.prominence

instead.

Martin

[1] http://grass.osgeo.org/grass64/manuals/html64_user/g.extension.html

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa

Rebecca wrote:

> command 'gem6' is not recognised

Martin:

gem is not maintained anymore.

for the record, everything in the release branch will be
maintained- best attempts will be made to fix bugs, etc.
Including this one. Right now GEM is not getting any
_new_ development though, so no new features are planned.

stuff not under our control we can't do much about beyond
maintaining backwards-compatibility as best we can.

the correct solution in this case is to fix the last few
bugs in r.viewshed and move that into the main source
tree, making the need for the addon app obsolete..

Hamish, friend of obsolete and forgotten code

Hi,

2010/8/13 Hamish <hamish_b@yahoo.com>:

gem is not maintained anymore.

for the record, everything in the release branch will be
maintained- best attempts will be made to fix bugs, etc.

well, probably I haven't used the right word. I just wanted to note
that the last modification in source code of gem is *2* years old
(expect of minor changes). So it's seems to be not actively developed.

Including this one. Right now GEM is not getting any
_new_ development though, so no new features are planned.

That's new information for me. I was thinking that we are going to use
g.extension instead of gem and to drop gem at the end (already done in
trunk).

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa

Hamish:

> Right now GEM is not getting any _new_ development
> though, so no new features are planned.

Martin:

That's new information for me. I was thinking that we
are going to use g.extension instead of gem

right, but one does not preclude the other.

and to drop gem at the end (already done in trunk).

nothing new about enforcing backwards compatibility for
previously released features. that isn't an issue for
grass7, which is why it could be removed there.
and apparently the maintenance burden for this one is low,
which is good.

Hamish

Hi,

2010/8/13 Hamish <hamish_b@yahoo.com>:

Hamish:

> Right now GEM is not getting any _new_ development
> though, so no new features are planned.

Martin:

That's new information for me. I was thinking that we
are going to use g.extension instead of gem

right, but one does not preclude the other.

osp, I am apparently too tired, I overlooked all 'no' in your
sentence. Sorry for the noise. No development of gem is planned.
That's not new information for me at all :wink:

Best, Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa