-
Notifications
You must be signed in to change notification settings - Fork 4
ODHActivityPoi
ODHActivityPoi contains data from different data Providers (LTS, Siag, IDM, Suedtirol Wine, etc...).
The source is identified by the field
_Meta: {
Id: "xxxxxxx",
Source: "idm",
....
}
Type, SubType, PoiType
deprecated, should not be used.
AdditionalPoiInfos.language.MainType, AdditionalPoiInfos.language.MainType and AdditionalPoiInfos.language.SubType
deprecated should not be used
Instead we strongly recommend to rely on the multiple categorization defined by Tagging:
ODHTags
Categorization of the ODHActivityPoi
AdditionalPoiInfos.[language].Categories
Categorization to show (some Tags are marked ad Categories to display and this Tags will be present here in all languages)
GpsInfo
GpsPoints
should be used instead of deprecated GpsInfo
type
activitytype
poitype
subtype
level3type
odhtagfilter
All type/subtype/level3type Filter "under the hood" are filtering on the assigned Tags. Every ODHActivityPoi can have multiple Tags association. The Bitmask is only helpful do shorten the Parameter and allows filtering by certain type combinations.
type --> Filters by ODHActivityPoi Maintypes. Find all available types on this list ODHActivityPoi Main Types and pass the key / bitmask
subtype --> Additional Filtering by subtype. Only available if filtering by ONE type is active. Find all available keys on this list by passing the maintype key https://tourism.api.opendatahub.bz.it/v1/ODHActivityPoiTypes?rawfilter=and(eq(Type,"SubType"),eq(Parent,"TYPEKEY"))
ODHActivityPoi - Kultur Sehenswürdigkeiten
ODHActivityPoi - Wellness Entspannung
ODHActivityPoi - Essen Trinken
ODHActivityPoi - Sommer
ODHActivityPoi - Winter
ODHActivityPoi - Anderes
ODHActivityPoi - Mobilität
[ODHActivityPoi - Geschäfte und Dienstleister](https://tourism.opendatahub.bz.it/v1/ODHActivityPoiTypes?rawfilter=and(eq(Type,%27SubType%27),eq(Parent,%27Geschäfte und Dienstleister%27)))
level3type --> Additional Filtering by level 3 type. Only available if filtering by ONE type and ONE subtype is active. Find all available keys on this list by passing by passing the subtypekey. https://tourism.api.opendatahub.bz.it/v1/ODHActivityPoiTypes?rawfilter=and(eq(Type,"PoiType"),eq(Parent,"SUBTYPEKEY"))
Example:
All Level 3 Types from Subtype Wandern
https://tourism.opendatahub.bz.it/v1/ODHActivityPoiTypes?rawfilter=and(eq(Type,"PoiType"),eq(Parent,"Wandern"))
Filtering Example:
I want to filter on all ODHActivityPois of Type
activitytype --> Filters by the LTS Activity categorization.
Find all available categorizations on this list LTS Activity Main Types
poitype --> Filters by the LTS categorization.
Find all available categorizations on this list LTS Poi Main Types
Simply Pass the Bitmask
If poitype is passed, the subtype Filter can be used also for the subtypes defined in the list.
Example, we filter on Shops (Bitmask 2) and Subtype Antiques (Bitmask 2) + Flowers (Bitmask 4)
poitype=2
subtype=6
https://tourism.api.opendatahub.bz.it/v1/ODHActivityPoi?poitype=2&subtype=6
same as
https://tourism.api.opendatahub.bz.it/v1/Poi?poitype=2&subtype=6
On ODHActivityPoi all filters from Gastronomy are available.
categorycodefilter --> Filters by the LTS Categories
dishcodefilter--> Filters by the LTS Dish Codes
ceremonycodefilter--> Filters by the LTS Ceremony Codes
facilitycodefilter--> Filters by the LTS Facility Codes
cuisinecodefilter--> Filters by the LTS Cuisine Codes
Find all available categorizations for Gastronomies on this list https://tourism.api.opendatahub.bz.it/v1/GastronomyTypes
This wiki contains additional information about the Open Data Hub alongside the Open Data Hub - Official Documentation 🔗 .