mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
7 lines
191 B
R
7 lines
191 B
R
##polyg=vector
|
|
##numpoints=number 10
|
|
##output=output vector
|
|
##[Example scripts]=group
|
|
pts=spsample(polyg,numpoints,type="random")
|
|
output=SpatialPointsDataFrame(pts, as.data.frame(pts))
|