mirror of
https://github.com/maplibre/martin.git
synced 2024-12-30 18:39:02 +03:00
f88fd10aa8
This adds a new utility called `martin-cp` that allows copying any number of tiles from a single source (or a composite source) to an mbtiles file. `martin-cp` is a tool for generating tiles in bulk, and save retrieved tiles into a new or an existing MBTiles file. It can be used to generate tiles for a large area or multiple areas. If multiple areas overlap, it will generate tiles only once. `martin-cp` supports the same configuration file and CLI arguments as Martin server, so it can support all sources and even combining sources.
216 lines
5.5 KiB
YAML
216 lines
5.5 KiB
YAML
postgres:
|
|
default_srid: 900913
|
|
auto_bounds: calc
|
|
auto_publish: true
|
|
tables:
|
|
MixPoints:
|
|
schema: MixedCase
|
|
table: MixPoints
|
|
srid: 4326
|
|
geometry_column: Geom
|
|
bounds:
|
|
- -170.94984639004662
|
|
- -84.20025580733805
|
|
- 167.70892858284475
|
|
- 74.23573284753762
|
|
geometry_type: POINT
|
|
properties:
|
|
Gid: int4
|
|
TABLE: text
|
|
auto_table:
|
|
schema: autodetect
|
|
table: auto_table
|
|
srid: 4326
|
|
geometry_column: geom
|
|
bounds:
|
|
- -166.87107126230424
|
|
- -53.44747249115674
|
|
- 168.14061220360549
|
|
- 84.22411861475385
|
|
geometry_type: POINT
|
|
properties:
|
|
feat_id: int4
|
|
gid: int4
|
|
bigint_table:
|
|
schema: autodetect
|
|
table: bigint_table
|
|
srid: 4326
|
|
geometry_column: geom
|
|
bounds:
|
|
- -174.89475564568033
|
|
- -77.2579745396886
|
|
- 174.72753224514435
|
|
- 73.80785950599903
|
|
geometry_type: POINT
|
|
properties:
|
|
big_feat_id: int8
|
|
id: int4
|
|
points1:
|
|
schema: public
|
|
table: points1
|
|
srid: 4326
|
|
geometry_column: geom
|
|
bounds:
|
|
- -179.27313970132585
|
|
- -67.52518563265659
|
|
- 162.60117193735186
|
|
- 84.93092095128937
|
|
geometry_type: POINT
|
|
properties:
|
|
gid: int4
|
|
points1_vw:
|
|
schema: public
|
|
table: points1_vw
|
|
srid: 4326
|
|
geometry_column: geom
|
|
bounds:
|
|
- -179.27313970132585
|
|
- -67.52518563265659
|
|
- 162.60117193735186
|
|
- 84.93092095128937
|
|
geometry_type: POINT
|
|
properties:
|
|
gid: int4
|
|
points2:
|
|
schema: public
|
|
table: points2
|
|
srid: 4326
|
|
geometry_column: geom
|
|
bounds:
|
|
- -174.050750735362
|
|
- -80.46177157848345
|
|
- 179.11187181086706
|
|
- 81.13068764165727
|
|
geometry_type: POINT
|
|
properties:
|
|
gid: int4
|
|
points3857:
|
|
schema: public
|
|
table: points3857
|
|
srid: 3857
|
|
geometry_column: geom
|
|
bounds:
|
|
- -161.40590777554058
|
|
- -81.50727021609012
|
|
- 172.51549126768532
|
|
- 84.2440187164111
|
|
geometry_type: POINT
|
|
properties:
|
|
gid: int4
|
|
points_empty_srid:
|
|
schema: public
|
|
table: points_empty_srid
|
|
srid: 900913
|
|
geometry_column: geom
|
|
bounds:
|
|
- -162.35196679784573
|
|
- -84.49919770031491
|
|
- 178.47294677445652
|
|
- 82.7000012450467
|
|
geometry_type: GEOMETRY
|
|
properties:
|
|
gid: int4
|
|
table_source:
|
|
schema: public
|
|
table: table_source
|
|
srid: 4326
|
|
geometry_column: geom
|
|
bounds:
|
|
- -2.0
|
|
- -1.0
|
|
- 142.84131509869133
|
|
- 45.0
|
|
geometry_type: GEOMETRY
|
|
properties:
|
|
gid: int4
|
|
table_source_multiple_geom:
|
|
schema: public
|
|
table: table_source_multiple_geom
|
|
srid: 4326
|
|
geometry_column: geom1
|
|
bounds:
|
|
- -136.62076049706184
|
|
- -78.3350299285405
|
|
- 176.56297743499888
|
|
- 75.78731065954437
|
|
geometry_type: POINT
|
|
properties:
|
|
gid: int4
|
|
table_source_multiple_geom.1:
|
|
schema: public
|
|
table: table_source_multiple_geom
|
|
srid: 4326
|
|
geometry_column: geom2
|
|
bounds:
|
|
- -136.62076049706184
|
|
- -78.3350299285405
|
|
- 176.56297743499888
|
|
- 75.78731065954437
|
|
geometry_type: POINT
|
|
properties:
|
|
gid: int4
|
|
functions:
|
|
function_Mixed_Name:
|
|
schema: MixedCase
|
|
function: function_Mixed_Name
|
|
function_null:
|
|
schema: public
|
|
function: function_null
|
|
function_null_row:
|
|
schema: public
|
|
function: function_null_row
|
|
function_null_row2:
|
|
schema: public
|
|
function: function_null_row2
|
|
function_zoom_xy:
|
|
schema: public
|
|
function: function_zoom_xy
|
|
function_zxy:
|
|
schema: public
|
|
function: function_zxy
|
|
function_zxy2:
|
|
schema: public
|
|
function: function_zxy2
|
|
function_zxy_query:
|
|
schema: public
|
|
function: function_zxy_query
|
|
function_zxy_query_jsonb:
|
|
schema: public
|
|
function: function_zxy_query_jsonb
|
|
function_zxy_query_test:
|
|
schema: public
|
|
function: function_zxy_query_test
|
|
function_zxy_row:
|
|
schema: public
|
|
function: function_zxy_row
|
|
function_zxy_row_key:
|
|
schema: public
|
|
function: function_zxy_row_key
|
|
pmtiles:
|
|
paths:
|
|
- tests/fixtures/mbtiles
|
|
- tests/fixtures/pmtiles
|
|
- tests/fixtures/pmtiles2
|
|
sources:
|
|
png: tests/fixtures/pmtiles/png.pmtiles
|
|
stamen_toner__raster_CC-BY-ODbL_z3: tests/fixtures/pmtiles/stamen_toner__raster_CC-BY+ODbL_z3.pmtiles
|
|
webp2: tests/fixtures/pmtiles2/webp2.pmtiles
|
|
mbtiles:
|
|
paths:
|
|
- tests/fixtures/mbtiles
|
|
- tests/fixtures/pmtiles
|
|
- tests/fixtures/pmtiles2
|
|
sources:
|
|
geography-class-jpg: tests/fixtures/mbtiles/geography-class-jpg.mbtiles
|
|
geography-class-jpg-diff: tests/fixtures/mbtiles/geography-class-jpg-diff.mbtiles
|
|
geography-class-jpg-modified: tests/fixtures/mbtiles/geography-class-jpg-modified.mbtiles
|
|
geography-class-png: tests/fixtures/mbtiles/geography-class-png.mbtiles
|
|
geography-class-png-no-bounds: tests/fixtures/mbtiles/geography-class-png-no-bounds.mbtiles
|
|
json: tests/fixtures/mbtiles/json.mbtiles
|
|
uncompressed_mvt: tests/fixtures/mbtiles/uncompressed_mvt.mbtiles
|
|
webp: tests/fixtures/mbtiles/webp.mbtiles
|
|
world_cities: tests/fixtures/mbtiles/world_cities.mbtiles
|
|
world_cities_diff: tests/fixtures/mbtiles/world_cities_diff.mbtiles
|
|
world_cities_modified: tests/fixtures/mbtiles/world_cities_modified.mbtiles
|
|
zoomed_world_cities: tests/fixtures/mbtiles/zoomed_world_cities.mbtiles
|