mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-09 00:35:20 -05:00
6 lines
190 B
Plaintext
6 lines
190 B
Plaintext
|
##polyg=vector
|
||
|
##numpoints=number 10
|
||
|
##output=output vector
|
||
|
##[Example scripts]=group
|
||
|
pts=spsample(polyg,numpoints,type="regular")
|
||
|
output=SpatialPointsDataFrame(pts, as.data.frame(pts))
|