(Multi)Polygon
Feature가 반환됩니다. 계산할 수 없는 경우 null
이 반환됩니다. ex)point 2개 입력
const points = analysis.helper.featureCollection([
new ktGms.geometry.PointGeo([127.015522, 37.49044],{}),
new ktGms.geometry.PointGeo([127.02222, 37.49144],{}),
new ktGms.geometry.PointGeo([127.015522, 37.49294],{}),
new ktGms.geometry.PointGeo([127.01312, 37.48755],{}),
new ktGms.geometry.PointGeo([127.02, 37.4935],{}),
new ktGms.geometry.PointGeo([127.018, 37.4965],{}),
new ktGms.geometry.PointGeo([127.019, 37.49],{}),
])
const hull = analysis.transformation.concave(points, {units:"kilometers"});
Generate a polygon by connecting vertices 모든 점들을 둘러싸는 다각형을 생성하는 예제
Generated using TypeDoc
Point
FeatureCollection을 입력받아concave hull Polygon
을 생성해주는 함수입니다.