Opened 12 years ago
Closed 12 years ago
#4083 closed defect (fixed)
Incomplete mapcache seed when not using metatiles
Reported by: | mwalker | Owned by: | tbonfort |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | MapCache | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
When running mapcache_seed on a tileset without metatiles, only very few tiles are created and only on some zoom levels.
Example configuration (mapcache_seed.xml):
<?xml version="1.0" encoding="UTF-8"?> <mapcache> <cache name="disk" type="disk"> <base>/tmp/mapcache/tiles_debug</base> <symlink_blank/> </cache> <source name="debug" type="wms"> <getmap> <params> <FORMAT>image/png</FORMAT> <LAYERS>basic</LAYERS> <TRANSPARENT>false</TRANSPARENT> </params> </getmap> <http> <url>http://vmap0.tiles.osgeo.org/wms/vmap0</url> <connection_timeout>30</connection_timeout> </http> </source> <tileset name="debug_meta"> <source>debug</source> <cache>disk</cache> <format>PNG</format> <grid>WGS84</grid> <metatile>4 4</metatile> <metabuffer>0</metabuffer> </tileset> <tileset name="debug_nometa"> <source>debug</source> <cache>disk</cache> <format>PNG</format> <grid>WGS84</grid> </tileset> <service type="wmts" enabled="true"/> <service type="tms" enabled="true"/> <service type="wms" enabled="true"/> <service type="kml" enabled="true"/> <service type="gmaps" enabled="true"/> <service type="ve" enabled="true"/> <default_format>JPEG</default_format> <errors>report</errors> <lock_dir>/tmp</lock_dir> </mapcache>
Seeding with metatiles generates all tiles on all levels:
mapcache_seed -c mapcache_seed.xml -t debug_meta -g WGS84 -e 0,40,10,50 -z 0,5
Seeding without metatiles generates only a single tile on the first level ( debug_nometa/WGS84/00/000/000/001/000/000/000.png ):
mapcache_seed -c mapcache_seed.xml -t debug_nometa -g WGS84 -e 0,40,10,50 -z 0,5
Change History (4)
comment:1 by , 12 years ago
comment:3 by , 12 years ago
Status: | new → assigned |
---|
I've just committed r12777 that fixes the issue for me.
please confirm and close this ticket.
thomas
comment:4 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Works for me too.
Thank you for the quick fix!
Note:
See TracTickets
for help on using tickets.
There have been quite a few changes/fixes to the seeding utility in the past week, are you using the trunk version ?