[Tilesathome] Color reduction
Jiri Klement
jiri.klement at gmail.com
Fri Aug 29 10:18:18 BST 2008
Ok, I will add new osmarender instruction "include" to include
external shared defs in generated svg file and then split css files
(and also markers/patterns).
Does anybody know correct way how to insert xml fragment in perl? I'm
using $writer->raw($file->find_nodes_as_string) for now, but it might
break if namespace prefixes in external and generated file are
different.
On Fri, Aug 29, 2008 at 9:44 AM, spaetz <osm at sspaeth.de> wrote:
> On Fri, Aug 29, 2008 at 08:36:48AM +0200, Jiri Klement wrote:
>
>> I've reduced number of colors in symbols from 24 to 8. Some symbols
>> looks a bit different now, but I think it's ok. Symbol are now normal
>> svg files saved in osmarender/symbols, so you can check them in your
>> favourite image viewer.
>
> Great!
>
>> Next step is reducing number of colors used in stylesheets.
>> Unfortunatelly it's not possible to use only one css for all zoom
>> levels as pixel has different size on different zoom. But we can use
>> one css for shared attributes (fill, stroke, pattern...) shared by all
>> zoom levels and one css for each zoom containg zoom specific
>> attributes (stroke-width,...). Is this a good idea?
>
> Yes, absolutely
>
> spaetz
>
> _______________________________________________
> Tilesathome mailing list
> Tilesathome at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/tilesathome
>
More information about the Tilesathome
mailing list