Skip to content

orfon/mod_metatile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ALPHA quality software

This is my first apache module so do not use unless you know more than I do.

mod_metatile

If you are generating metatiles and want to simply serve them as tiles with apache, this might be the module for you. Unlike the famous mod_tile this module is much simpler and only delivers tiles from metatiles. There is no logic to generate tiles.

Basically, I stripped the metatile-reading code from mod_tile and wrapped it in a simple module.

apache config example

build:

apxs -i -a -c mod_metatile.c metatile.c

load:

LoadModule metatile_module    /usr/lib/apache2/modules/mod_metatile.so

MetatilePath can be configured per , or :

LogLevel metatile:debug
<Location /meta-test/>
    AddHandler metatile-handler .png .json
    MetatileEtag On
    MetatilePath /root-path-to-meta/
</Location>

About

Serving metatiles without the overhead

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages