[Tilecache] XML especification

Christopher Schmidt crschmidt at metacarta.com
Tue Jul 24 09:00:16 EDT 2007


On Tue, Jul 24, 2007 at 01:42:31PM +0100, Tyler Durden wrote:
> On 7/24/07, Christopher Schmidt <crschmidt at metacarta.com> wrote:
> >On Tue, Jul 24, 2007 at 01:05:12PM +0100, Tyler Durden wrote:
> >> There are some specification or API for the XML configuration?
> No,
> I mean the file where I define the Styles and Layers:
> 
> myService = Service (
>    DiskCache(ROOT_PATH + "/cache"),
>    {"all" : MapnikLayer("all", ROOT_PATH + "/osm.xml",
> extension="png", size="256,256", bbox="-8.74685, 41.12416, -8.52712,
> 41.21823")})

Oof, you're using the Python based configuration? You might want to look
into the tilecache.cfg and follow the README -- it'd probably make your
life easier, especially for upgrades. (Though I appreciate your tenacity
if you got that far!) Did you get it working with that? If so, that's
great! 

The XML file you're describing is a Mapnik configuration file: I dont
think there's any documentation on them, beyond the C++ source for
Mapnik.  You might try asking on the mapnik mailing list/lists: 

http://mapnik.org/contact/


> A XML like this:
> http://svn.openstreetmap.org/applications/rendering/mapnik/osm.xml

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list