Feature

A feature is each one of the entities represented in your map layer, that will contain data. For example, countries, states/regions, cities, polygons, lines or points.

  • Depending on the app subtype, features will represent either geographic entities (countries, states/regions or cities) or points.

  • In a Google Sheet, each row represents a feature.

For example:

  • In apps of subtype Geographic Area, each one of your countries, states/regions or cities is a feature.

  • In apps of subtype Geographic Location, each one of your raw geographic coordinates is a feature (points, lines, polygons...).

A feature belongs to an app, and can have many feature properties.

Attributes of a feature

App Subtype: Geographic Area

NameRequiredDescriptionValidationExample

title

true

Title of your feature.

Non-empty values.

United States

country

One of country, region or city.

Country ISO code.

2-character ISO codes, uppercase.

US

region

One of country, region or city.

Region ISO code.

Valid region ISO codes, uppercase. The country ISO code must precede the region ISO code.

US-NY

city

One of country, region or city.

City ISO code.

3-character city ISO codes, without prefix.

NYC

App Subtype: Geographic Location

NameRequiredDescriptionValidationExample

title

true

Title of your feature.

Non-empty values.

Secure area

type

true

Type of the raw data you wish to represent.

- Point - MultiPoint - Polygon - MultiPolygon - LineString - MultiLineString

coordinates

true

Coordinates that represent your data. Coordinates are in x, y order ([lng, lat] for geographic coordinates).

Valid JSON string representing the coordinates with [lng, lat] format, that depends on type. Check the specification of each of the previous types in Mapbox.

- If type is Point: [100,0] - If type is MultiPoint: [[100,0],[101,1]] - If type is Polygon: [[[100,0],[101,0],[101,1],[100,1],[100,0]]] - If type is MultiPolygon: [[[[102,2],[103,2],[102,2]]],[[[100,0],[101,0],[101,1]],[[100.2,0.2],[100.2,0.8],[100.8,0.8],[100.8,0.2]]]] - If type is LineString: [[100,0],[101,1]] - If type is MultiLineString: [[[100,0],[101,1]],[[102,2],[103,3]]]

App Subtype: Green Accommodation

NameRequiredDescriptionValidationExample

title

true

Title of the hotel.

Non-empty string values.

Hotel Casa Amsterdam

country

Either country or feature property country_name

Country ISO code.

2-character ISO codes, uppercase.

NL

address

Either address or feature property bcom_id

The address of the hotel, that will be used to fetch coordinates using a geolocation provider. The address must be as specific as possible, otherwise the gollocation might fail or provide a wrong result. The city name and country must not be included in this field; the country must either be field country (ISO code) or feature property with name country_name, and the city name must be the feature property with name city_name. If you specify bcom_id instead (feature property), we will use the ID from Booking.com to fetch the hotel details from Booking.com, which is more accurate than geolocation.

Non-empty string values.

Example in the Netherlands: Eerste Ringdijkstraat 4, 1097 BC Example in Cape Town: 1 Lagoon Gate Drive, Lagoon Beach, 7441

See Hotel data for more information on the fields to import for Green Accommodation.

Last updated