Re: [pmapper-users] Tile caching support in p.mapper 5

2015-01-07 Thread gioza
I will try right now!
Great job Armin!



--
View this message in context: 
http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-Tile-caching-support-in-p-mapper-5-tp4025722p4025723.html
Sent from the pmapper-users -- p.mapper users mailing list mailing list archive 
at Nabble.com.

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Tile caching support in p.mapper 5

2015-01-07 Thread Armin Burger
Dear all

In case of interest, I added a simple solution for on-disk tile caching 
for tiled layers in pm5. It only requires enough disk space for the 
cache image tiles and a few config parameters.

It's mainly useful for large datasets that shall be displayed at lower 
zoom levels but have too many details to be rendered acceptably fast at 
lower zoom levels. Could be vector layers with a lot of details or 
raster layers with lots of single files to be read.

The advantage to a fully-fledged tile cache solution (like MapCache) is 
that it does not require additional service set-ups. And in case of 
vector layers it also supports legend icons (and printing, once it is 
fully working...).

If you want to try, see changesets 1372 and 1375 for the files to be 
updated from svn trunk. Config parameters are listed here:
http://svn.pmapper.net/trac/wiki/XmlFileSettingsFive?action=diffversion=12

could look like
category name=cat_admin imgFormat=png32 olTheme=admin buffer=0 
themeType=PMTile tileCache=true cacheMaxLevel=12

and needs under map an entry like
   tileCacheRoot/path/to/pmapper_tilecache/default/tileCacheRoot


A corresponding basic seeding functionality is currently in test. 
Out-dated tile files, e.g. due to changes in symbology, need to removed 
manually in the directory of the tile cache. But the Unix find command 
allows a quite comprehensive functionality for this.

Regards
/A

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users