Hi, Anybody knows a tool or algorythm (R, GRASS or ArcGIS Script, anything!) to generate a number of random same length transects (e.g. 1000) within the extent of a given polygon or raster?
I can't just create random point in the extent and joint hem two by two. This would result in different length transects. A simple algorythm would be: -create a transect of a certain length from a random point and a random angle -reject any transect having an end falling outside the given extent But there is chances that this takes years to run... Thanks, Pierre pierre.rac...@sbf.ulaval.ca _______________________________________________ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo