[R-sig-Geo] Step characteristics on raster maps (Mathieu Basille)
Clément Calenge
clement.calenge at oncfs.gouv.fr
Sun Oct 3 18:09:14 CEST 2010
Or, if you want to use this approach for your problem (transforming a
line into a polygon and then rasterize), a solution would be to use the
function "buffer" from the package adehabitatMA (on RForge), which
calculates a buffer from a SpatialLines.
Best regards,
Clément.
On 10/03/2010 05:59 PM, Mathieu Basille wrote:
> Dear Arnaud,
>
> This is actually on my todo list, a test with the polygon approach,
> although I'm not sure how to start to "polygonize" the segments... But
> in the end, that would allow a performance comparison with different
> approaches (and that would also allow the calculation of the
> characteristics of buffers around the segments, which might be
> interesting for us, too).
>
> Thanks for the suggestion,
> Mathieu.
>
>
> Le 03/10/2010 10:04, Arnaud Mosnier a écrit :
>> Hi Mathieu,
>>
>> An easy workaround could be to convert each segment to a polygon doing a
>> very small buffer around each segment then use the overlay method to
>> obtain info in each of these polygon.
>>
>> Arnaud
>
--
Clément CALENGE
Cellule d'appui à l'analyse de données
Direction des Etudes et de la Recherche
Office national de la chasse et de la faune sauvage
Saint Benoist - 78610 Auffargis
tel. (33) 01.30.46.54.14
More information about the R-sig-Geo
mailing list