This service is essentially an ElasticSearch instance containing Geocoding data that can be used with Pelias Geocoder.
Start by reading (Note that it might not be up-to-date):
On build time the data is fetched from multiple sources and processed and loaded into ElasticSearch using Pelias tools. At high level this is what happens:
Download and extract Finland related shapefiles of administrational areas and regions from WhosOnFirst (or use embedded data of pelias-data-container source)
Download Open Street Map Finland data
Download DVV data (building locations with street addresses)
Download NLS places (an extensive list of venues and place names from the National Lands Survey)
Download national GTFS data, including GTFS stops
Start ElasticSearch
Create pelias schema
Run GTFS stop import
Run NLS places import
Run OpenStreetMap import
Run DVV data import
Run bike station import from an OpenTripPlanner service endpoint
For exploring ElasticSearch data, you can install the extension "elasticsearch-head" to Chrome browser and use it as follows:
Wait until cluster health changes to "green".
Click on "Browser"-tab
Write queries to "name.default" field.
Browse results
For Gis data exploration you can use e.g. QGis
Open addresses is a open data collaborative to produce global address data around the world. We use addresses from Open addresses as primary data.
OpenStreetMap import reads all items which are tagged with a name and one or more tags/tag pairs from the following list:
You can improve digitransit geocoding by contributing new or corrected data to OpenStreetMap. Please always include a Swedish name version, if available, to your data contributions. Below is a simple example node with proper names:
{
"id":26430225,
"type":"node",
"lat":60.2070123, "lon":24.7022998,
"tags":{
"name":"Koivuhovi",
"name:sv":"Björkgård",
"railway":"station"
}
}
For more information, check out:
Our goal is to use as much data from OSM as possible. Unfortunately, at the moment it doesn't contain everything that we need so we have to use other sources also.
National Land survey Nimistö ("places") contains place names in Finland. It provides places like "Takalammi".
Keep up with our development on GitHub
https://github.com/HSLdevcom/pelias-data-container
Keep up with Pelias importer projects
https://github.com/HSLdevcom/pelias-schema
https://github.com/HSLdevcom/pelias-gtfs
https://github.com/HSLdevcom/pelias-vrk
https://github.com/HSLdevcom/pelias-nlsfi-places-importer
https://github.com/HSLdevcom/openstreetmap
https://github.com/HSLdevcom/bikes-pelias
Keep up with Who's on First development
https://github.com/whosonfirst/whosonfirst-data/
Keep up with Geospatial Data Abstraction Library development
http://www.gdal.org/
Keep up with ElasticSearch docker image and it's changes
https://hub.docker.com/_/elasticsearch/
Asset | Url |
---|---|
source | https://github.com/HSLdevcom/pelias-data-container |
DockerHub | https://hub.docker.com/r/hsldevcom/pelias-data-container/ |
Dockerfile | https://github.com/HSLdevcom/pelias-data-container/blob/master/Dockerfile.loader |
Pelias data schema | https://github.com/HSLdevcom/pelias-schema.git |
Pelias config | https://github.com/HSLdevcom/pelias-data-container/blob/master/pelias.json |
ES client | https://github.com/HSLdevcom/dbclient.git |
pelias-nlsfi-places-importer | https://github.com/HSLdevcom/pelias-nlsfi-places-importer.git |
OSM import | https://github.com/HSLdevcom/openstreetmap.git |
DVV import | https://github.com/HSLdevcom/pelias-vrk.git |
GTFS stop import | https://github.com/HSLdevcom/pelias-gtfs.git |
Citybike station import | https://github.com/HSLdevcom/bikes-pelias.git |
The resulting Docker image is called hsldevcom/pelias-data-container and it is available at DockerHub. The image can be built using this build script.
To run Docker container, run:
docker run -p 9200:9200 hsldevcom/pelias-data-container
To access Docker container:
http://localhost:9200/
For More information about how to use Docker see docker info.