[AniMov] adehabitat and mcp.area

Paolo Cavallini cavallini at faunalia.it
Thu Jan 26 10:11:25 CET 2006


Have you tried proj?
http://proj.maptools.org/
Command line, very easy to use, when you've got the right parameters for your 
projection.
pc

At 09:20, giovedì 26 gennaio 2006, Bøthun Gjermund has probably written:
> Hello
>
> I'm using adehabitat to analyse satellite telemetry data from harbour
> porpoises. I have also played with different R-packages as  map, maptools
> and different  sp-packages. I want to estimate homerange with mcp.area or
> kernelUD.
> My data are georeferenced (latitude/longitude) but I think I need to
> project the data into a projection with metric units.
>
> My question is how can I transform my data from lat/lon into a format
> accepted as input for mcp.area?
>
> Example R-code:
>
> # EW and NS are latitude longitude in decimaldegree.
> xy=mapproject(EW,NS,proj="conic",param=35)
> cp=mcp.area(data.frame(x=xy$x,y=xy$y),rep("A",length(xy$x)),unin="km",unout
>="m2") #or unin="m" plot(seq(20,95,by=5),cp$A,type="b")
>
> Regards,
> Gjermund Bøthun
> Forskningsgruppe sjøpattedyr/ Marine Mammals Research Group
> Havforskningsinstituttet / Institute of Marine Research
> Boks 1870 Nordnes / P.O. Box 1870 Nordnes
> N-5817 Bergen, Norway
> Nordnesgaten 33
> Tlf. / Phone : (+47) 5523 8619 / 8500
> Faks / Fax : (+47) 5523 8531
> E-post / E-mail: gjermund at imr.no
> Internett: www.imr.no / post at imr.no
>
>
>
>
> _______________________________________________
> AniMov mailing list
> AniMov at faunalia.com
> http://www.faunalia.com/cgi-bin/mailman/listinfo/animov

-- 
Paolo Cavallini
email+jabber: cavallini at faunalia.it
www.faunalia.it
Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy   Tel: (+39)348-3801953



More information about the AniMov mailing list