[OSM-talk] the ref:color schema

Andy Allan gravitystorm at gmail.com
Sun Apr 19 16:57:14 BST 2009


2009/4/19 Iván Sánchez Ortega <ivan at sanchezortega.es>:

> Do you really think we can work that network->color table out, and make
> software that fits into osm2pgsql to derive the shields?

Remember that it doesn't need to be osm2pgsql to do this - large-scale
.osm manipluation can be done with osmosis, and see also the
TagTransform plugin.

Overall, I'd rather see a lookup table of colours external to the osm
data, and then have a lookup at some point in the rendering chain. It
seems like a whole load of duplication of effort (and source of
errors) to tag every way, and a colour-reliant renderer would need to
cope with missing colour data so would end up needing the lookup table
anyway.

Cheers,
Andy




More information about the talk mailing list