Feature
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ออบเจ็กต์ฟีเจอร์ GeoJSON (ดู RFC 7946) ที่มีสตริง "Feature" ในฟิลด์ชื่อ "type", เรขาคณิตในฟิลด์ชื่อ "geometry" และพร็อพเพอร์ตี้คู่คีย์/ค่าในฟิลด์ชื่อ "properties"
การแสดง JSON |
{
"type": string,
"geometry": value,
"properties": value
} |
ช่อง |
type |
string
สตริงนี้จะแสดงอยู่เสมอและมีค่าเท่ากับ "ฟีเจอร์"
|
geometry |
value (Value format)
เรขาคณิตของฟีเจอร์ ซึ่งจะมี google.protobuf.Struct หากมีเรขาคณิตสำหรับฟีเจอร์นี้ มิฉะนั้น ระบบจะถือว่ามีค่าเป็น google.protobuf.NullValue
|
properties |
value (Value format)
พร็อพเพอร์ตี้ของฟีเจอร์ ซึ่งจะมี google.protobuf.Struct หากมีพร็อพเพอร์ตี้สำหรับฟีเจอร์นี้ มิฉะนั้น ระบบจะถือว่ามีค่าเป็น google.protobuf.NullValue
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[],["The core content describes a GeoJSON feature object structured with three fields: `type`, `geometry`, and `properties`. The `type` field always contains the string \"Feature\". The `geometry` field holds the feature's geometry data as a `google.protobuf.Struct` or `google.protobuf.NullValue`. The `properties` field stores key/value pairs as a `google.protobuf.Struct` or `google.protobuf.NullValue`. Both `geometry` and `properties` use the [Value](https://protobuf.dev/reference/protobuf/google.protobuf/#value) format.\n"],null,[]]