Warren Vick pisze:
> Two Mapnik questions for the group...
> 
> 1) I have a common set of styles that I want to use across several
> projects but only want to have one copy of them. Is there an include
> directive I can put in my Mapnik XML to bring in the common map styles?
> 

Extract common parts to separate files and use xml entities:

http://trac.mapnik.org/wiki/ManagingLargeXmlFiles#ExternalEntities

I used this feature to divide large osm.xml to easily manageable files, 
but You can use it to include common styles in different projects.

> 2) Is there a way/trick of drawing a line with two sides in different
> colours. Including extra (parallel) polyline in the data is not an
> option.
> 

I'm afraid it isn't supported, it has already ticket:

http://trac.mapnik.org/ticket/180

Here You have some hack with LinePatternSymbolizer and image with 
transparent middle and Your different colors on both sides.

Marcin Rudowski
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to