Skip to content

Commit

Permalink
add licence information
Browse files Browse the repository at this point in the history
  • Loading branch information
ch-routerank committed Nov 21, 2024
1 parent 779ceca commit 301bdb1
Show file tree
Hide file tree
Showing 11 changed files with 45 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pelias/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
# SPDX-FileCopyrightText: 2024 routeRANK <[email protected]>
#
# SPDX-License-Identifier: MIT

./data
6 changes: 6 additions & 0 deletions pelias/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
SPDX-FileCopyrightText: 2024 routeRANK <[email protected]>
SPDX-License-Identifier: MIT
-->

# Italian area

This project is configured to download/prepare/build a complete Pelias installation for South-Tyrol.
Expand Down
4 changes: 4 additions & 0 deletions pelias/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 routeRANK <[email protected]>
#
# SPDX-License-Identifier: MIT

version: '3'
networks:
default:
Expand Down
4 changes: 4 additions & 0 deletions pelias/elasticsearch.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 routeRANK <[email protected]>
#
# SPDX-License-Identifier: MIT

network.host: 0.0.0.0
bootstrap.memory_lock: true
indices.breaker.fielddata.limit: 85%
Expand Down
4 changes: 4 additions & 0 deletions pelias/importers/delete_old_poi_and_stops.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 routeRANK <[email protected]>
#
# SPDX-License-Identifier: MIT

function delete_old_stops {
curl -X POST "localhost:9200/pelias/_delete_by_query?pretty" -H 'Content-Type: application/json' -d'
{
Expand Down
4 changes: 4 additions & 0 deletions pelias/importers/download_and_prepare_poi.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 routeRANK <[email protected]>
#
# SPDX-License-Identifier: MIT

curl "https://tourism.api.opendatahub.com/v1/ODHActivityPoi?pagesize=50000" > ./data/csv-importer/touristic-poi-all.json
curl "https://tourism.api.opendatahub.com/v1/STA/ODHActivityPoi?language=en&referer=SuedtirolMobilWeb&fields=Id%2CDetail.en.Title%2CContactInfos.en.City&pagesize=20000" > ./data/csv-importer/touristic-poi-filtered-set.json

Expand Down
4 changes: 4 additions & 0 deletions pelias/importers/download_and_prepare_stops.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 routeRANK <[email protected]>
#
# SPDX-License-Identifier: MIT

STOP_JSON_FILE=./data/csv-importer/stops.json
STOP_CSV=./data/csv-importer/stops.csv

Expand Down
4 changes: 4 additions & 0 deletions pelias/importers/fetch-poi.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 routeRANK <[email protected]>
//
// SPDX-License-Identifier: MIT

let fs = require('fs');

// Retrieve all stops and additional information
Expand Down
4 changes: 4 additions & 0 deletions pelias/importers/graphql_otp.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 routeRANK <[email protected]>
//
// SPDX-License-Identifier: MIT

let getAllPoi = `query GetAllPoi {
vehicleParkings {
vehicleParkingId
Expand Down
4 changes: 4 additions & 0 deletions pelias/importers/process-touristic-poi.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2024 routeRANK <[email protected]>
//
// SPDX-License-Identifier: MIT

const fs = require('fs');

const DATA_DIR = __dirname + "/../data/csv-importer";
Expand Down
3 changes: 3 additions & 0 deletions pelias/pelias.json.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 routeRANK <[email protected]>

SPDX-License-Identifier: MIT

0 comments on commit 301bdb1

Please sign in to comment.