osm2vectortiles/src/import-external
Roman Shuvalov 2e6cf4fa03 Fixed quoted Venezuela's osm_id in countries.json
For some reason, Venezuela's osm_id in import-external/countries.json was quoted. As a result, ogr2ogr could choose "character varying" type for osm_id instead of bigint. (This happened for me because I probably use different version of gdal-bin package). Quotes is now removed, potential problem is gone.
2016-09-04 18:54:25 +04:00
..
Dockerfile Remove unused Natural Earth tables 2016-04-23 16:20:22 +02:00
README.md Add information on the seas source 2016-08-19 08:20:31 -07:00
clean-natural-earth.sh Use only OSM data for oceans #329 2016-08-12 14:16:02 +02:00
countries.geojson Fixed quoted Venezuela's osm_id in countries.json 2016-09-04 18:54:25 +04:00
import-external-detail-flow-diagram.png Add component description for import-external 2016-04-27 08:55:43 +02:00
import-external-flow-diagram.png Add component description for import-external 2016-04-27 08:55:43 +02:00
import-labels.sh Restructure export and import containers 2015-12-06 18:35:18 +01:00
import-natural-earth.sh Move different import scripts into one container 2015-12-06 17:08:56 +01:00
import-water.sh Call generalize in import-external and switch to correct gen name 2016-08-14 16:50:32 +02:00
import.sh Remove unused Natural Earth tables 2016-04-23 16:20:22 +02:00
seas.geojson Convert OSM id in GeoJSON to number 2016-04-05 14:31:19 +02:00
sql.sh Restructure export and import containers 2015-12-06 18:35:18 +01:00
states.geojson Convert OSM id in GeoJSON to number 2016-04-05 14:31:19 +02:00

README.md

import-external

The import-external component is responsible for importing all data that is not mapped directly from OSM into the PostGIS database.

Usage

Docker

To use import-external you only need the osm2vectortiles/import-external Docker image, all the data sources are baked into the Docker container already.

You need to run import-external before you import OSM data with import-osm and you only need to run the import once!

docker-compose run import-external

Flow Diagram

import-external takes data from three data sources and imports them into PostGIS.

Flow Diagram

Details

Flow Diagram

Sources

Seas

The seas.geojson file is derived from OpenStreetMap data and licensed under the ODbL. The file was created by taking place=ocean and place=sea nodes and drawing lines by hand to replace some of the points.