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