kopia lustrzana https://github.com/openmaptiles/openmaptiles
Merge pull request #664 from OsmHackTW/import-sql-1.0
Upgrade import-sql from 0.8 to 1.0pull/604/head^2
commit
e1613f23ef
10
README.md
10
README.md
|
@ -106,6 +106,16 @@ docker-compose run import-lakelines
|
||||||
docker-compose run import-osmborder
|
docker-compose run import-osmborder
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**[Optional]**
|
||||||
|
Import latest Wikidata. If an OSM feature has [Key:wikidata](https://wiki.openstreetmap.org/wiki/Key:wikidata), OpenMapTiles check corresponding item in Wikidata and use its [labels](https://www.wikidata.org/wiki/Help:Label) for languages listed in [openmaptiles.yaml](openmaptiles.yaml). So the generated vector tiles includes multi-languages in name field.
|
||||||
|
|
||||||
|
Beware that current [Wikidata dump](https://dumps.wikimedia.org/wikidatawiki/entities/latest-all.json.gz) is more than 55GB, it takes time to download and import it. If you just want to have a quickstart on OpenMapTiles, just skip this step.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
make download-wikidata
|
||||||
|
docker-compose run import-wikidata
|
||||||
|
```
|
||||||
|
|
||||||
[Download OpenStreetMap data extracts](http://download.geofabrik.de/) and store the PBF file in the `./data` directory.
|
[Download OpenStreetMap data extracts](http://download.geofabrik.de/) and store the PBF file in the `./data` directory.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
|
@ -68,7 +68,7 @@ services:
|
||||||
- ./build:/mapping
|
- ./build:/mapping
|
||||||
- cache:/cache
|
- cache:/cache
|
||||||
import-sql:
|
import-sql:
|
||||||
image: "openmaptiles/import-sql:0.8"
|
image: "openmaptiles/import-sql:1.0"
|
||||||
env_file: .env
|
env_file: .env
|
||||||
networks:
|
networks:
|
||||||
- postgres_conn
|
- postgres_conn
|
||||||
|
|
Ładowanie…
Reference in New Issue