Skip to main content

Clip By Extent

ProcessId : de7477d30fbb43b18f6d1eef

Clip By Extent เป็นเครื่องมือในการ Clip โดยใช้ Bounding Box ของข้อมูล Overlay ที่นำมาใช้ในการ Clip

ตัวอย่างการ Clip โดยใช้ Bounding Box

วิธีการใช้งาน

ทำการกรอกข้อมูลและเลือกผลลัพธ์จากการวิเคราะห์ข้อมูล

Input

  • Input ระบุข้อมูลที่ต้องตัด (Clip) โดยจะเป็นข้อมูลประเภท Vector (Point, Line, Polygon) ซึ่งสามารถนำ Features Collection ที่เคยนำเข้ามาแล้วมาสร้างและสามารถนำข้อมูล GeoJSON มาใช้ในการสร้างได้

  • Overlay ระบุข้อมูลนำมาเป็นขอบเขตในการตัดซึ่งการ Clip by Extent จะตัดโดยใช้ Bounding Box ของข้อมูล Overlay

Result

  • Result ทำการเลือกประเภทของผลลัพธ์ซึ่งมีอยู่ 2 ประเภท คือ Vallaris Feature GeoJSON
    • Vallaris Feature จะต้องทำการสร้าง Features Collection ไว้สำหรับเก็บข้อมูลผลลัพธ์
    • GeoJSON จะได้ผลลัพธ์ออกมาเป็น GeoJSON ซึ่งดูผลลัพธ์การประมวลผลของ Module
ตัวอย่างข้อมูล GeoJSON : Input
polygon.geojson
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"input": "1111"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
100.360107421875,
14.008696370634667
],
[
100.360107421875,
14.785505314974657
],
[
101.986083984375,
14.785505314974657
],
[
101.986083984375,
14.008696370634667
],
[
100.360107421875,
14.008696370634667
]
]
]
}
}
]
}
ตัวอย่างข้อมูล GeoJSON : Overlay
overlay.geojson
{
"type" : "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"overlay": "11111"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
100.81054687499999,
14.32825967774278
],
[
102.37060546875,
14.32825967774278
],
[
102.37060546875,
15.13576435459581
],
[
100.81054687499999,
15.13576435459581
],
[
100.81054687499999,
14.32825967774278
]
]
]
}
}
]
}