변환할 GeoJSON
또는 ktGms.geometry
입니다.
변환된 Point
FeatureCollection 입니다.
const polygon: ktGms.geometry.Polygon = new ktGms.geometry.Polygon(
[
[
[127.01944982766713, 37.494201336292775],
[127.01747447522507, 37.49408524182098],
[127.01535280037876, 37.49325322615786],
[127.01513331677427, 37.491995510467916],
[127.01542596158032, 37.49064102373197],
[127.0162551218653, 37.489808969701116],
[127.01962053713726, 37.48994442098923],
[127.02049847155672, 37.491240870888134],
[127.02130324477332, 37.493175828880865],
[127.01944982766713, 37.494201336292775],
],
],
{}
);
const points = analysis.conversion.explode(polygon);
Explode Polygon에서 Points를 추출하는 예제
Generated using TypeDoc
GeoJSON
의 모든 좌표를Point
FeatureCollection으로 반환하는 함수입니다.