Home

Awesome

mod_mrf

An apache module that serves tiles directly from a local MRF, 2D or 3D. This module takes two apache configuration directives:

MRF On|Off

Defaults to on if the MRF_ConfigurationFile is provided

MRF_ConfigurationFile Filename

Points to a text file that contains lines, where the first word on a line is a directive, followed by parameters

Size X Y Z C

DataFile string

RegExp

PageSize X Y 1 C

IndexFile string

MimeType string

EmptyTile Size Offset FileName

SkippedLevels N

ETagSeed base32_string

Redirect path

For better performance on local files, the httpd source against which this module is compiled should include support for random file access optimization. A patch file for libapr is provided, see apr_FOPEN_RANDOM.patch

For better performance when using object stores, the mod_proxy should be patched to reuse connections on subrequests. A patch file is included, see mod_proxy_httpd.patch