[AniMov] positions from azimuths

Lichti, Nathanael I nlichti at purdue.edu
Mon Oct 13 13:57:34 CEST 2008


Hi all,

Sorry for the delay on this.  I contacted Gary White and asked if it
would be okay to simply integrate the TRIANG code into R and potentially
make it available in adehabitat or other software.  He said that was
fine. Since then, I simply haven't had as much time as I'd hoped to work
on this project.

If no Python code is available, someone who knows FORTRAN and Python
could probably translate the TRIANG code fairly quickly.  It's not very
long. 

Nate

-----Original Message-----
From: animov-bounces at faunalia.com [mailto:animov-bounces at faunalia.com]
On Behalf Of animov-request at faunalia.com
Sent: Saturday, October 11, 2008 6:00 AM
To: animov at faunalia.com
Subject: AniMov Digest, Vol 39, Issue 1

Send AniMov mailing list submissions to
	animov at faunalia.com

To subscribe or unsubscribe via the World Wide Web, visit
	http://www.faunalia.com/cgi-bin/mailman/listinfo/animov
or, via email, send a message with subject or body 'help' to
	animov-request at faunalia.com

You can reach the person managing the list at
	animov-owner at faunalia.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of AniMov digest..."


Today's Topics:

   1. Re: [SoC - Python plugin for QGIS for home	range
estimation]
      Feature	freeze (Giovanni Manghi)
   2. Re: [SoC - Python plugin for QGIS for home range	estimation]
      Feature	freeze (Damiano G. Preatoni)
   3. Re: position estimation from azimuths (Damiano G. Preatoni)
   4. Re: [SoC - Python plugin for QGIS for	home	range
estimation]
      Feature	freeze (Giovanni Manghi)
   5. Re: position estimation from azimuths (Paolo Cavallini)


----------------------------------------------------------------------

Message: 1
Date: Fri, 10 Oct 2008 12:24:14 +0100
From: Giovanni Manghi <giovanni.manghi at gmail.com>
Subject: Re: [AniMov] [SoC - Python plugin for QGIS for home	range
	estimation] Feature	freeze
To: Animal Movement <animov at faunalia.com>
Message-ID: <1223637854.17262.25.camel at sibirica>
Content-Type: text/plain


> Hi all, and apologies for cross-posting, 
> 
> today, at revision 111, the project enters feature freeze. All widgets
> are enabled and I began to test the plugin on my Ubuntu machine and
> other platforms, including Debian, Windows XP and Windows 2000.
> Next month is dedicated to bugfixing, writing documentation and
extended
> testing. 
> 
> To obtain and use the plugin, follow instructions on 
> http://wiki.qgis.org/qgiswiki/GSoC2008Rbinding
> 


Hi all,
I would like to install the plugin on a few colleagues windows machines
but I'm stuck with a problem:


R error: Error: package 'ade4' could not be loaded

on both Qgis 0.11 and 1.0 preview

In the project page I can see

"R 2.7.0 can't load adehabitat, because its latest version (1.7.2)
requires 2.7.1. So R 2.7.0 is not suitable. For R 2.7.1 or higher, be
careful to use the correct Rpy"

but I can't find rpy for R > 2.7.0, just for R 2.7.0

http://sourceforge.net/project/showfiles.php?group_id=48422&package_id=4
1514&release_id=598874

I tried also to install a version of R < 2.7.0 (as 2.6.2 is supported by
rpy) but then the package installer do install always a version of
adehabitat (1.7.1) that seems to me needs R >= 2.7.1

I would love to install by hand an older version of adehabitat, ade4,
etc. but in the arquives there are only the sources and not the binaries
for windows.

Ideas?


-- Giovanni --



------------------------------

Message: 2
Date: Fri, 10 Oct 2008 13:40:29 +0200
From: "Damiano G. Preatoni" <prea at uninsubria.it>
Subject: Re: [AniMov] [SoC - Python plugin for QGIS for home range
	estimation] Feature	freeze
To: animov at faunalia.com
Cc: "Ghisla, Anne" <a.ghisla at uninsubria.it>
Message-ID: <200810101340.36230.prea at uninsubria.it>
Content-Type: text/plain; charset="iso-8859-1"

In un messaggio del Friday 10 October 2008, Giovanni Manghi ha scritto:
> > Hi all, and apologies for cross-posting,
> >
> > today, at revision 111, the project enters feature freeze. All
widgets
> > are enabled and I began to test the plugin on my Ubuntu machine and
> > other platforms, including Debian, Windows XP and Windows 2000.
> > Next month is dedicated to bugfixing, writing documentation and
extended
> > testing.
> >
> > To obtain and use the plugin, follow instructions on
> > http://wiki.qgis.org/qgiswiki/GSoC2008Rbinding
>
> Hi all,
> I would like to install the plugin on a few colleagues windows
machines
> but I'm stuck with a problem:
>
>
> R error: Error: package 'ade4' could not be loaded
>
> on both Qgis 0.11 and 1.0 preview
>

Have you installed adehabitat satisfying all its dependencies?
adehabitat (among others) requires ade4..

install.packages('adehabitat', dep=T)


> In the project page I can see
>
> "R 2.7.0 can't load adehabitat, because its latest version (1.7.2)
> requires 2.7.1. So R 2.7.0 is not suitable. For R 2.7.1 or higher, be
> careful to use the correct Rpy"
>
> but I can't find rpy for R > 2.7.0, just for R 2.7.0

This is one of the biggest problems we are facing: the plugin uses rpy,
but 
windows versions of rpy are a bit behind... a possible bugfix could be
to 
modify python code in order to check on which OS we're running, and
importing 
either 'classic' rpy under *nix, or the newer rpy2 (in rpy compatibility

mode) under windows.



>
>
http://sourceforge.net/project/showfiles.php?group_id=48422&package_id=4
151
>4&release_id=598874
>
> I tried also to install a version of R < 2.7.0 (as 2.6.2 is supported
by
> rpy) but then the package installer do install always a version of
> adehabitat (1.7.1) that seems to me needs R >= 2.7.1
>
> I would love to install by hand an older version of adehabitat, ade4,
> etc. but in the arquives there are only the sources and not the
binaries
> for windows.
>
> Ideas?

Contact Anne (who's reading in CC:) if you like to join in to fix the
windows 
version...

ciao


-- 
Le prestazioni di Windows 95 sono eccezionali.
		-- Micro$oft Corporation, installazione di Windows 95
-----------------------------------------------------------
Damiano G. Preatoni, PhD

Unit? di Analisi e Gestione delle Risorse Ambientali
Dipartimento Ambiente-Salute-Sicurezza
Universit? degli Studi dell'Insubria
Via J.H. Dunant, 3 - 21100 Varese (ITALY)

tel +39 0332421538 fax +39 0332421446
http://biocenosi.dipbsf.uninsubria.it/
ICQ: 78690321 jabber: prea at jabber.org skype: prea.net
-----------------------------------------------------------
Please consider the environment before printing this email
Please do not send attachments in proprietary formats
http://www.gnu.org/philosophy/no-word-attachments.html
Use the UNI CEI Standard ISO/IEC 26300:2006
-----------------------------------------------------------
O< stop html mail - http://www.asciiribbon.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL:
<http://www.faunalia.com/pipermail/animov/attachments/20081010/66d07075/
attachment-0001.pgp>

------------------------------

Message: 3
Date: Fri, 10 Oct 2008 13:42:49 +0200
From: "Damiano G. Preatoni" <prea at uninsubria.it>
Subject: Re: [AniMov] position estimation from azimuths
To: animov at faunalia.com
Message-ID: <200810101342.49834.prea at uninsubria.it>
Content-Type: text/plain; charset="iso-8859-15"

In un messaggio del Sunday 22 June 2008, Lichti, Nathanael I ha scritto:
> Thanks, Mike.  These look like useful packages - especially the trip
> estimation package - I'm looking forward to trying it out on some of
my
> tracking data!  However, I am fairly certain that deldir and ellipse
will
> not work for this particular problem.  deldir performs Delauny
> triangulations, whereas we want to triangulate the position of an
animal
> from azimuths taken at various observation points.  Fortunately, this
is
> pretty straight forward trigonometry, so that's not a big deal.
>
> I'm less certain about ellipse without playing with it, but nothing in
my
> initial reading of the documentation leads me to think that it
calculates
> confidence ellipses based on the Andrews, Huber, or ML estimators from
> Lenth's 1981 paper. Do you know if there is a way to get it to do
this?
>
> Just FYI, I wrote to Gary White and got permission to try porting
TRIANG to
> R.  I'll do this over the next month and let you all know how it goes.
>


Any news about TRIANG code?

Here we're about to start a thesis project aimed to create from scratch
code 
(either in R or in QGis + Python, we've still to define that), just
starting 
from White & Garrot book...

Any suggestion is welcome, of course!


-- 
Barometro, s.m.:
	Un ingegnoso strumento che indica che tipo di tempo stiamo
avendo.
		-- Ambrose Bierce, "The Devil's Dictionary"
-----------------------------------------------------------
Damiano G. Preatoni, PhD

Unit? di Analisi e Gestione delle Risorse Ambientali
Dipartimento Ambiente-Salute-Sicurezza
Universit? degli Studi dell'Insubria
Via J.H. Dunant, 3 - 21100 Varese (ITALY)

tel +39 0332421538 fax +39 0332421446
http://biocenosi.dipbsf.uninsubria.it/
ICQ: 78690321 jabber: prea at jabber.org skype: prea.net
-----------------------------------------------------------
Please consider the environment before printing this email
Please do not send attachments in proprietary formats
http://www.gnu.org/philosophy/no-word-attachments.html
Use the UNI CEI Standard ISO/IEC 26300:2006
-----------------------------------------------------------
O< stop html mail - http://www.asciiribbon.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL:
<http://www.faunalia.com/pipermail/animov/attachments/20081010/56e3b8b0/
attachment-0001.pgp>

------------------------------

Message: 4
Date: Fri, 10 Oct 2008 13:03:10 +0100
From: Giovanni Manghi <giovanni.manghi at gmail.com>
Subject: Re: [AniMov] [SoC - Python plugin for QGIS for	home	range
	estimation] Feature	freeze
To: "Preatoni, Damiano" <prea at uninsubria.it>,	Animal Movement
	<animov at faunalia.com>
Cc: "Ghisla, Anne" <a.ghisla at uninsubria.it>
Message-ID: <1223640190.17262.39.camel at sibirica>
Content-Type: text/plain

Hi again,



> Have you installed adehabitat satisfying all its dependencies?
> adehabitat (among others) requires ade4..
> 
> install.packages('adehabitat', dep=T)



Yes, I installed adehabitat with all the dependencies.



> 
> This is one of the biggest problems we are facing: the plugin uses
rpy, but 
> windows versions of rpy are a bit behind... a possible bugfix could be
to 
> modify python code in order to check on which OS we're running, and
importing 
> either 'classic' rpy under *nix, or the newer rpy2 (in rpy
compatibility 
> mode) under windows.



I didn't get how to try apply this workaround.




> Contact Anne (who's reading in CC:) if you like to join in to fix the
windows 
> version...


I quit Windows a while ago, but I would love to help. Said that, I'm not
sure to have the necessary skills.


Saluti e grazie



-- Giovanni Manghi--






------------------------------

Message: 5
Date: Fri, 10 Oct 2008 16:23:04 +0200
From: Paolo Cavallini <cavallini at faunalia.it>
Subject: Re: [AniMov] position estimation from azimuths
To: "Preatoni, Damiano" <prea at uninsubria.it>, 	Animal Movement
	<animov at faunalia.com>
Message-ID: <48EF6548.3070708 at faunalia.it>
Content-Type: text/plain; charset=ISO-8859-15

Damiano G. Preatoni ha scritto:

> Any news about TRIANG code?
> 
> Here we're about to start a thesis project aimed to create from
scratch code 
> (either in R or in QGis + Python, we've still to define that), just
starting 
> from White & Garrot book...
> 
> Any suggestion is welcome, of course!

Of course a python library, reusable through qgis an other, would be a
very nice option. Sure there is no python code to reuse for this?
All the best.
pc
-- 
Paolo Cavallini, see: * http://www.faunalia.it/pc *


------------------------------

_______________________________________________
AniMov mailing list
AniMov at faunalia.com
http://www.faunalia.com/cgi-bin/mailman/listinfo/animov


End of AniMov Digest, Vol 39, Issue 1
*************************************


More information about the AniMov mailing list