Closed zabuTNT closed 3 years ago
also this to payment servce(always pelias in background) https://geocode.earth/ that is compatible with https://github.com/opentripplanner/otp-react-redux
may be some problems is that the gtfs is outside the boundaries of Bolzano
this Pelias plugin is useful for import NOI Point Of Interest data: https://github.com/pelias/csv-importer
NOI POIs must be imported as Venue layer: https://github.com/pelias/documentation/blob/4ac70226018718e3d89b293080e48299962283ce/autocomplete.md#layers
support multilangs: https://github.com/pelias/csv-importer#names-in-multiple-languages
importing too many different data into pelias can create problems in the expected results, it is better to import the minimum data used for this application, for example gtfs and NOI POIs
this is to be evaluated if it is convenient
Pelias support gtfs datasource can also be added through TRANSIT pelias module
https://github.com/pelias/transit
using similar config(this is for Trento):
"transit": {
"datapath": "/data/transit",
"feeds": [
{
"layerId": "stops",
"url": "http://www.ttesercizio.it/opendata/google_transit_urbano_tte.zip",
"filename": "stops.txt",
"agencyId": "tte",
"agencyName": "trentino trasporti esercizio",
"layerName": "stop"
}
]
}
tool to download data WOF: https://spelunker.whosonfirst.org/search/?q=trentino
Trentino-Alto Adige/South Tyrol https://spelunker.whosonfirst.org/id/404227499/
provincia Bolzano: https://spelunker.whosonfirst.org/id/85685271/
provincia Trento: https://spelunker.whosonfirst.org/id/85685277/
Pelias transit module loads followe data from gtfs datasource:
SWAGGER API for data: https://tourism.opendatahub.bz.it/swagger/ui/index
mapping fields of custom pois:
// 20201111010909
// https://tourism.opendatahub.bz.it/api/Accommodation?language=de&poitype=447&active=true&fields=Id,AccoDetail.de.Name,Latitude,Longitude&pagesize=100
{
"OnlineResults": -1,
"ResultId": "",
"TotalResults": 9592,
"TotalPages": 96,
"CurrentPage": 1,
"Seed": null,
"Items": [
{
"Id": "2657B7CBCB85380B253D2FBE28AF100E",
"AccoDetail.de.Name": "1477 Reichhalter",
"Latitude": 46.615101,
"Longitude": 11.143296
},
{
"Id": "C93CE627A8497E697C657CF53028F9D2",
"AccoDetail.de.Name": "360 Grad - Bundeswehr Sozialwerk",
"Latitude": 46.660809,
"Longitude": 11.180298
},
feature branch work in progress here: https://github.com/openmove/odh-mentor-otp/tree/pelias-lite/geocoder
case study: https://www.suedtirolmobil.info/de/
solved in #38
Resources: