Type Alias FeatureProperties
type FeatureProperties = {
categories?: string[];
country_code: string;
kind?:
| "road"
| "road_relation"
| "admin_area"
| "place"
| "street"
| "virtual_street";
"osm:place_type"?: string;
"osm:tags"?: Record<string, string>;
ref: string;
wikidata?: string;
}
categories?: string[];
country_code: string;
kind?:
| "road"
| "road_relation"
| "admin_area"
| "place"
| "street"
| "virtual_street";
"osm:place_type"?: string;
"osm:tags"?: Record<string, string>;
ref: string;
wikidata?: string;
}
Index
Properties
Properties
Optionalcategories
categories?: string[]
country_code
country_code: string
ISO 3166-1 alpha-2 country code of the feature
Optionalkind
kind?:
| "road"
| "road_relation"
| "admin_area"
| "place"
| "street"
| "virtual_street"
| "road"
| "road_relation"
| "admin_area"
| "place"
| "street"
| "virtual_street"
(experimental) Kind of the feature
Optionalosm:place_type
"osm:place_type"?: string
(experimental) Value of place=* tag from OpenStreetMap feature if kind=place
Optionalosm:tags
(experimental) Feature tags from OpenStreetMap. Only available for poi type.
ref
ref: string
External reference of the feature used for debugging purposes
Optionalwikidata
wikidata?: string
Wikidata identifier.
Was this helpful?
Array of POI categories. Only available for
poitype.