Hi, do you usually use QGIS? You can convert your coordinates with qgis of course! PS I can't open your link.
Regards 2013/1/31 Santiago Guallar <[email protected]> > > Hello, > > I am trying to create a ltraj object to obtain first passage times (with > the aim to reveal stopover sites of migratory seabirds) using package > adehabitat, My code is: > > require(adehabitat) > Xloc$Date <- paste( Xloc$date, Xloc$hm) > Xloc$Date <- as.POSIXct( Xloc$Date, format = "%d/%m/%Y %H:%M", tz = "GMT" > ) > xy <- Xloc[,c("lat","long")] > id= Xloc$ind > tr1 <- as.ltraj( xy, Xloc$Date, id ) > F <- fpt(tr1, seq(300,1000, length=30)) > plot(F, scale = 500, warn = FALSE) > > However, I only obtain NAs. I think the problem lies in the format of the > coordinates. I'm using a decimal format but function fpt() apparently works > with UTM coordinates. How can I convert them into this format? > Here is a link to a dput() to file tr1.txt: > http://file-manager.000webhost.com/file-manager/index.php > > Thank you for your help! > > Santi > > > > > _______________________________________________ > AniMov mailing list > [email protected] > http://lists.faunalia.it/cgi-bin/mailman/listinfo/animov > > -- Sergio Vignali CERM Centro Rapaci Minacciati (Endangered Raptors Centre)
_______________________________________________ AniMov mailing list [email protected] http://lists.faunalia.it/cgi-bin/mailman/listinfo/animov
