artemp/mapnik — Issue #440: Support relative paths in map.load_map_from_string()
Author: artemp
Created: 2011-10-11 16:19:04+00:00
State: open

Currently any relative paths in XML read from a string will be interpreted relative to the current working directory of the script that is doing the loading (# file loading fixed in #326), which will likely be different than the location of the original xml file (if there was one). It would be useful for live-editing applications like HaosBuilder or Quantumnik to be able to specify - from where- the paths should be interpreted from when loading a file from a string. Perhaps passing in a root directory as an argument would suffice.