Feature
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
یک شی ویژگی GeoJSON (به RFC 7946 مراجعه کنید) که شامل رشته «ویژگی» در فیلدی به نام «type»، هندسه در فیلدی به نام «geometry» و ویژگیهای کلید/مقدار در فیلدی به نام «ویژگیها» است.
نمایندگی 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 و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eRepresents geographical features using a JSON object with "type", "geometry", and "properties" fields.\u003c/p\u003e\n"],["\u003cp\u003eThe "type" field is always a string with the value "Feature".\u003c/p\u003e\n"],["\u003cp\u003eGeometry and properties are stored in "geometry" and "properties" fields respectively, utilizing the \u003ccode\u003egoogle.protobuf.Value\u003c/code\u003e format.\u003c/p\u003e\n"],["\u003cp\u003eThese fields will contain a \u003ccode\u003egoogle.protobuf.Struct\u003c/code\u003e if data is present and \u003ccode\u003egoogle.protobuf.NullValue\u003c/code\u003e if not.\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`. |"]]