Sign inSign up

openmaptiles/import-data

By openmaptiles

•Updated 7 months ago

Imports OMT-related data into a PostgreSQL database

Image
0

50K+

openmaptiles/import-data repository overview

⁠Import Prepared Data into PostGIS Docker Automated build

This is a Docker image containing several datasets used in OpenMapTiles project. Prepared data can be imported into PostgreSQL using ogr2ogr utility.

⁠Lakelines

Centered linestrings for labelling OpenStreetMap lakes from the osm-lakelines⁠ repo.

⁠Natural Earth

A subset of NaturalEarth⁠ version 5.1.2⁠.

⁠Water polygons

Water polygons from OpenStreetMapData⁠.

⁠Usage

Provide the database credentials and run import-data image.

docker run --rm --net=host \
    -e PGHOST="127.0.0.1" \
    -e PGDATABASE="openmaptiles" \
    -e PGUSER="openmaptiles" \
    -e PGPASSWORD="openmaptiles" \
    openmaptiles/import-data

Optional environment variables:

  • PGPORT (defaults to 5432)
  • PGCONN - Postgres connection string to override all previous env vars
  • LAKE_CENTERLINE_TABLE (defaults to lake_centerline)

Legacy env variables are still supported, but they are not recommended: POSTGRES_HOST,POSTGRES_DB, POSTGRES_USER, POSTGRES_PASSWORD, POSTGRES_PORT

Tag summary

Content type

Image

Digest

sha256:8b48c4f7d…

Size

1.1 GB

Last updated

7 months ago

docker pull openmaptiles/import-data