Anuncio: Todos los proyectos no comerciales registrados para usar Earth Engine antes del
15 de abril de 2025 deben
verificar su elegibilidad no comercial para mantener el acceso a Earth Engine.
Feature
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Es un objeto de componente GeoJSON (consulta RFC 7946) que contiene la cadena "Feature" en un campo llamado "type", la geometría en un campo llamado "geometry" y propiedades de clave/valor en un campo llamado "properties".
Representación JSON |
{
"type": string,
"geometry": value,
"properties": value
} |
Campos |
type |
string
Esta cadena siempre está presente y es igual a "Feature".
|
geometry |
value (Value format)
Es la geometría del elemento. Contendrá un google.protobuf.Struct si hay geometría presente para este elemento. De lo contrario, contendrá un google.protobuf.NullValue .
|
properties |
value (Value format)
Son las propiedades del atributo. Contendrá un google.protobuf.Struct si hay propiedades presentes para esta función. De lo contrario, contendrá un google.protobuf.NullValue .
|
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-07-26 (UTC)
[null,null,["Última actualización: 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`. |"]]