랜덤 포인트 생성

직사각형 또는 폴리곤 영역으로 랜덤 포인트를 생성합니다

Syntax

RandomPoints (ReferencedEnvelope extent, SimpleFeatureCollection polygonFeatures, Integer pointCount) : SimpleFeatureCollection

Input Parameters

Identifier

Description

Type

Default

Required

extent

랜덤 포인트가 생성될 영역입니다

ReferencedEnvelope

✓

polygonFeatures

랜덤 포인트가 생성될 폴리곤 레이어입니다.

SimpleFeatureCollection

pointCount

생성할 포인트의 갯수입니다.

Integer

1000

✓

Process Outputs

Identifier

Description

Type

Default

Required

result

랜덤 포인트 피처컬렉션

SimpleFeatureCollection

✓

Constraints

  • BoundingBox 또는 폴리곤 레이어를 기준 레이어로 사용할 수 있다.

Examples

폴리곤 레이어 영역을 기준으로 1000개의 Random Point를 생성한 예입니다. Dot Density(점묘도) 작성에 활용할 수 있습니다.

../../../_images/randompoints.png