Feature
A 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".
JSON representation |
{
"type": string,
"geometry": value,
"properties": value
} |
Fields |
type |
string
This string is always present and equal to "Feature".
|
geometry |
value (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 .
|
properties |
value (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 .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-27 UTC.
[null,null,["Last updated 2024-09-27 UTC."],[[["A GeoJSON feature object is represented in JSON format with \"type\", \"geometry\", and \"properties\" fields."],["The \"type\" field is a string always set to \"Feature\"."],["The \"geometry\" field contains the feature's geometry data, represented as a `google.protobuf.Struct` or `google.protobuf.NullValue` if not present."],["Feature properties are stored in the \"properties\" field, using the same `google.protobuf.Struct` or `google.protobuf.NullValue` representation as geometry."]]],[]]