Step characteristics on raster maps (Mathieu Basille)
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