Feature
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह एक GeoJSON फ़ीचर ऑब्जेक्ट है. RFC 7946 देखें. इसमें "type" नाम के फ़ील्ड में "Feature" स्ट्रिंग, "geometry" नाम के फ़ील्ड में ज्यामिति, और "properties" नाम के फ़ील्ड में कुंजी/वैल्यू प्रॉपर्टी शामिल होती हैं.
JSON के काेड में दिखाना |
{
"type": string,
"geometry": value,
"properties": value
} |
फ़ील्ड |
type |
string
यह स्ट्रिंग हमेशा मौजूद होती है और इसकी वैल्यू "Feature" होती है.
|
geometry |
value (Value format)
फ़ीचर की ज्यामिति. अगर इस सुविधा के लिए ज्यामिति मौजूद है, तो इसमें google.protobuf.Struct शामिल होगा. ऐसा न करने पर, इसमें google.protobuf.NullValue वैल्यू सेव हो जाएगी.
|
properties |
value (Value format)
सुविधा की प्रॉपर्टी. अगर इस सुविधा के लिए प्रॉपर्टी मौजूद हैं, तो इसमें google.protobuf.Struct शामिल होगा. ऐसा न करने पर, इसमें google.protobuf.NullValue वैल्यू सेव हो जाएगी.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eA GeoJSON feature object is represented in JSON format with "type", "geometry", and "properties" fields.\u003c/p\u003e\n"],["\u003cp\u003eThe "type" field is a string always set to "Feature".\u003c/p\u003e\n"],["\u003cp\u003eThe "geometry" field contains the feature's geometry data, represented as a \u003ccode\u003egoogle.protobuf.Struct\u003c/code\u003e or \u003ccode\u003egoogle.protobuf.NullValue\u003c/code\u003e if not present.\u003c/p\u003e\n"],["\u003cp\u003eFeature properties are stored in the "properties" field, using the same \u003ccode\u003egoogle.protobuf.Struct\u003c/code\u003e or \u003ccode\u003egoogle.protobuf.NullValue\u003c/code\u003e representation as geometry.\u003c/p\u003e\n"]]],["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,["# Feature\n\nA GeoJSON feature object (see RFC 7946) containing the string \"Feature\" in a field named \"type\", the geometry in a field named \"geometry\", and key/value properties in a field named \"properties\".\n\n| JSON representation |\n|--------------------------------------------------------------------|\n| ``` { \"type\": string, \"geometry\": value, \"properties\": value } ``` |\n\n| Fields ||\n|--------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `type` | `string` This string is always present and equal to \"Feature\". |\n| `geometry` | `value (`[Value](https://protobuf.dev/reference/protobuf/google.protobuf/#value)` format)` The geometry of the feature. This will contain a `google.protobuf.Struct` if geometry is present for this feature. Otherwise, it will hold a `google.protobuf.NullValue`. |\n| `properties` | `value (`[Value](https://protobuf.dev/reference/protobuf/google.protobuf/#value)` format)` The properties of the feature. This will contain a `google.protobuf.Struct` if properties are present for this feature. Otherwise, it will hold a `google.protobuf.NullValue`. |"]]