mapcache_detail1
Coverage analysis tool for sqlite caches
Usage
FCmapcache_detailF [0]
[options]
Overview
mapcache_detail is a coverage analysis tool for SQLite caches.
Options
- FC
-cF[0], FC--configF[0] file -
Configuration file (/path/to/mapcache.xml)
- FC
-DF[0], FC--dimensionF[0] DIMENSION_NAME=VALUE -
Set the value of a dimension: format DIMENSIONNAME=VALUE. Can be used multiple times for multiple dimensions
- FC
-tF[0], FC--tilesetF[0] name -
Tileset to analyze
- FC
-gF[0], FC--gridF[0] name -
Grid to analyze
- FC
-eF[0], FC--extentF[0] minx,miny,maxx,maxy -
Extent to analyze: format minx,miny,maxx,maxy. Cannot be used with FC
--ogr-datasourceF[0]
- FC
-dF[0], FC--ogr-datasourceF[0] data source -
OGR data source to get features from. Cannot be used with FC
--extentF[0].
- FC
-lF[0], FC--ogr-layerF[0] layer -
OGR layer inside OGR data source. Cannot be used with FC
--ogr-sqlF[0].
- FC
-wF[0], FC--ogr-whereF[0] filter -
Filter to apply on OGR layer features. Cannot be used with FC
--ogr-sqlF[0].
- FC
-sF[0], FC--ogr-sqlF[0] SQL query -
SQL query to filter inside OGR data source. Cannot be used with FC
--ogr-layerF[0] or FC--ogr-whereF[0].
- FC
-zF[0], FC--zoomF[0] minzoom,maxzoom -
Set min and max zoom levels to analyze, separated by a comma, eg: 12,15
- FC
-qF[0], FC--queryF[0] value -
Set query for counting tiles in a rectangle. Default value works with default schema of SQLite caches.
- FC
-oF[0], FC--short-outputF[0] -
Only existing SQLite files are reported, missing SQLite files are still taken into account for level and global coverage.
Examples
Analyze tile coverage of tileset osm with the g grid. Default extent is the whole world and default zoom level is 0:
FC
mapcache_detail --config mapcache.xml --tileset osm --grid g
F[0]
Same as beforehand, with explicit zoom levels 9 to 12 and explicit extent covering Switzerland:
FC
mapcache_detail --config mapcache.xml --tileset osm --grid g --zoom 9,12 --extent 663000,5751230,1167680,6075050
F[0]
History
- Debian 13 (Trixie): the text shown here
- Debian 12 (Bookworm)
- Debian 11 (Bullseye)