osm2vectortiles/src/import-osm
ImreSamu ce772dc88a add comment to the imposm3 mapping file 2016-09-16 20:15:39 +02:00
..
Dockerfile Let imposm3 handle cascade delete tables #397 2016-08-14 16:50:32 +02:00
README.md Correct readme of import-osm to mention import folder instead of export, move MIN_ZOOM env var to 0 as default value 2016-05-03 14:25:54 +02:00
import-diff.sh Improved bash script issues 2016-02-24 09:40:46 +01:00
import-mergediffs.sh Support merging diffs as separate bash command 2016-04-01 13:19:02 +02:00
import-osmupdate.sh Add missing trigger tables 2016-03-18 16:11:47 +01:00
import-pbf.sh Generate delete index creation and rename classify functions 2016-04-19 11:06:53 +02:00
import.sh Let imposm3 handle cascade delete tables #397 2016-08-14 16:50:32 +02:00
mapping.yml add comment to the imposm3 mapping file 2016-09-16 20:15:39 +02:00
point_update.sql Precalculate point on surface 2016-05-02 20:23:04 +02:00
requirements.txt Remove unused lxml requirement 2016-04-01 13:07:30 +02:00
subdivide_polygons.sql Updating SRID is no longer necessary if table not used 2016-08-14 18:34:01 +02:00
update_scaleranks.sql Refactoring imposm3 varname "osm_id" to "id" #304 2016-04-30 02:51:00 +02:00
water_point_table.sql Refactoring imposm3 varname "osm_id" to "id" #304 2016-04-30 02:51:00 +02:00

README.md

import-osm

The import-osm component is the imposm3 based import container to import OSM PBF files into the postgis component. It must run after the import-external component.

Usage

Download PBF File

Use Geofabrik and choose the extract of your country or region. Download it and put it into the ./src/import container.

Import

The import-osm component will take the first PBF file in the ./import folder and will import it into postgis. After that it will update the scaleranks using Natural Earth data from import-external to update the scaleranks and will create generalized tables based off the imported data. The data is imported using imposm3 diff mode and can take up to 14hrs for the entire planet file.

docker-compose run import-osm