mapcache_detail(1)
π mapcache_detail β like, the manual page, bestie π
okay so this is the manual for mapcache_detail, which lives in section 1 of the manual. it's a coverage analysis tool for SQLite caches. that's the whole vibe. let's get into it π«Ά
β¨ NAME β¨
mapcache_detail β coverage analysis tool for SQLite caches
πΈ SYNOPSIS πΈ
mapcache_detail [options]
that's it. that's the whole shape of it. just options, no positional args, no drama π
π DESCRIPTION π
so mapcache_detail is a coverage analysis tool for SQLite caches. like literally that's what it is. it looks at your SQLite cache and tells you what's covered. iconic behavior honestly π
π OPTIONS π
-c,--configfile β the configuration file, i.e./path/to/mapcache.xml. yes bestie, point it at your xml π-D,--dimensionDIMENSION_NAME=VALUE β sets the value of a dimension. the format isDIMENSIONNAME=VALUE. you can use this one multiple times for multiple dimensions, so go off π-t,--tilesetname β the tileset you wanna analyze πΊοΈ-g,--gridname β the grid you wanna analyze β¨-e,--extentminx,miny,maxx,maxy β the extent you wanna analyze, formatted asminx,miny,maxx,maxy. cannot be used with--ogr-datasourceπ-d,--ogr-datasourcedata source β an OGR data source to pull features from. cannot be used with--extentπ-l,--ogr-layerlayer β the OGR layer inside that OGR data source. cannot be used with--ogr-sqlπ§-w,--ogr-wherefilter β a filter to apply on the OGR layer's features. cannot be used with--ogr-sqlπΈ-s,--ogr-sqlSQL query β an SQL query to filter inside the OGR data source. cannot be used with--ogr-layeror--ogr-whereπ-z,--zoomminzoom,maxzoom β sets the min and max zoom levels to analyze, separated by a comma, eg:12,15π-q,--queryvalue β sets the query used for counting tiles in a rectangle. the default value works with the default schema of SQLite caches, so lowkey just leave it alone unless you know what you're doing π€«-o,--short-outputβ only existing SQLite files get reported. missing SQLite files are still taken into account for level and global coverage, so don't think they're gone bestie, they're just not showing up in the output π
π EXAMPLE π
wanna analyze tile coverage of the tileset osm with the g grid? the default extent is the whole world and the default zoom level is 0, so this is like, the chill version:
mapcache_detail --config mapcache.xml --tileset osm --grid g
same thing as beforehand, but now with explicit zoom levels 9 to 12 and an explicit extent covering Switzerland:
mapcache_detail --config mapcache.xml --tileset osm --grid g --zoom 9,12 --extent 663000,5751230,1167680,6075050
like?? look at those numbers. Switzerland really said "here's my bounding box" π¨πβ¨
lowkey reminder:--extentand--ogr-datasourcecannot hang out together, and--ogr-sqldoes not vibe with--ogr-layeror--ogr-where. pick a lane bestie π
and that's the whole page!! this one's from the mapcache_detail(1) manual, dated 27 June 2026 π ily, go analyze some caches, periodt π
π¦
π¦ where this page comes from
- ubuntu stonking: mapcache-tools 1.16.0-1build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms