artemp/mapnik — Issue #147: Allow ability to read datasource paths relative to the xml during load_map()
Author: artemp
Created: 2011-10-11 15:59:56+00:00
State: open
Labels: XML

The attached patch provides two options for turning this behavior on:

Setting in XML:
{{{
true
}}}

An argument (4th) in the load_map():

{{{
load_map(m,'mapfile.xml',false,true) # third arg is 'strict' xml parsing boolean, fourth arg would be 'relative_to_xml' boolean
}}}