Merge pull request #626 from eva-j/osmdata_url

import-water 1.0, update osmdata URL
This commit is contained in:
Dalibor Janák 2019-05-20 13:37:14 +02:00 committed by GitHub
commit 2ecca4b20d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 7 deletions

View File

@ -96,7 +96,7 @@ Now start up the database container.
docker-compose up -d postgres docker-compose up -d postgres
``` ```
Import external data from [OpenStreetMapData](http://openstreetmapdata.com/), [Natural Earth](http://www.naturalearthdata.com/) and [OpenStreetMap Lake Labels](https://github.com/lukasmartinelli/osm-lakelines). Import external data from [OpenStreetMapData](http://osmdata.openstreetmap.de/), [Natural Earth](http://www.naturalearthdata.com/) and [OpenStreetMap Lake Labels](https://github.com/lukasmartinelli/osm-lakelines).
```bash ```bash
docker-compose run import-water docker-compose run import-water

View File

@ -18,7 +18,7 @@ services:
networks: networks:
- postgres_conn - postgres_conn
import-water: import-water:
image: "openmaptiles/import-water:0.6" image: "openmaptiles/import-water:1.0"
env_file: .env env_file: .env
networks: networks:
- postgres_conn - postgres_conn

View File

@ -4,14 +4,14 @@ layer:
Water polygons representing oceans and lakes. Covered watered areas are excluded (`covered=yes`). Water polygons representing oceans and lakes. Covered watered areas are excluded (`covered=yes`).
On low zoom levels all water originates from Natural Earth. To get a more correct display of the south pole you should also On low zoom levels all water originates from Natural Earth. To get a more correct display of the south pole you should also
style the covering ice shelves over the water. style the covering ice shelves over the water.
On higher zoom levels water polygons from [OpenStreetMapData](http://openstreetmapdata.com/) are used. On higher zoom levels water polygons from [OpenStreetMapData](http://osmdata.openstreetmap.de/) are used.
The polygons are split into many smaller polygons to improve rendering performance. The polygons are split into many smaller polygons to improve rendering performance.
This however can lead to less rendering options in clients since these boundaries show up. So you might not be This however can lead to less rendering options in clients since these boundaries show up. So you might not be
able to use border styling for ocean water features. able to use border styling for ocean water features.
fields: fields:
class: class:
description: | description: |
All water polygons from [OpenStreetMapData](http://openstreetmapdata.com/) have the class `ocean`. All water polygons from [OpenStreetMapData](http://osmdata.openstreetmap.de/) have the class `ocean`.
Water bodies are classified as `lake` or `river` for water bodies with the [`waterway`](http://wiki.openstreetmap.org/wiki/Key:waterway) tag. Water bodies are classified as `lake` or `river` for water bodies with the [`waterway`](http://wiki.openstreetmap.org/wiki/Key:waterway) tag.
values: values:
- ocean - ocean

View File

@ -192,10 +192,10 @@ make forced-clean-sql
echo " " echo " "
echo "-------------------------------------------------------------------------------------" echo "-------------------------------------------------------------------------------------"
echo "====> : Start importing water data from http://openstreetmapdata.com into PostgreSQL " echo "====> : Start importing water data from http://osmdata.openstreetmap.de/ into PostgreSQL "
echo " : Source code: https://github.com/openmaptiles/import-water " echo " : Source code: https://github.com/openmaptiles/import-water "
echo " : Data license: http://openstreetmapdata.com/info/license " echo " : Data license: https://osmdata.openstreetmap.de/info/license.html "
echo " : Thank you: http://openstreetmapdata.com/info/supporting " echo " : Thank you: https://osmdata.openstreetmap.de/info/ "
docker-compose run --rm import-water docker-compose run --rm import-water
echo " " echo " "