변환할 Polygon 또는 MultiPolygon 입니다.
Optional options: { 변환된 Feature에 포함할 Properties 입니다.
Optional properties?: Object변환된 LineString 또는 MultiLineString 입니다.
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 lines = analysis.conversion.polygonToLine(polygon);
Generated using TypeDoc
Polygon을(Multi)LineStringFeature로, 또는MultiPolygon을(Multi)LineStringFeatureCollection으로 변환하는 함수입니다.