kopia lustrzana https://github.com/osm2vectortiles/osm2vectortiles
1.0 KiB
1.0 KiB
| layout | title | published |
|---|---|---|
| page | Import and Export Process | true |
Import and Export Process
Import
The import process imports the data from all data sources into a single PostGIS database. The figure below shows which data source gets imported with which import tool.
The import-sql container adds helper sql functions, which are used inside the data style.
Export
For generating the vector tiles the tilelive tool tl is used which wraps around Mapnik. The tm2source project defines all feature sets (layers) and is transformed into a Mapnik XML stylesheet by the tilelive-tm2source provider. Tilelive-bridge calls Mapnik with the generated stylesheet and hands the generated data over to node-mbtiles, which stores the vector tiles in a MBTiles container.

