[OSM-dev] Converting OSM Mapnik stylesheet to Cascadenik or Carto
Komяpa
me at komzpa.net
Fri Jul 29 19:26:51 BST 2011
> In MapCSS I would have to go through the list of all geo elements and apply
> any matching MapCSS styling rules to produce a graphic element.
> Maperitive goes through the list of all rules and finds any matching geo
> elements (using rule selectors) for each rule.
It is rather easy to produce SQL queries that will take out of the
database only data referred by stylesheet. In fact that's already done
in both Komap and Kothic.
At least we manage to render planet using mapcss for kosmosnimki.ru somehow ;)
> In a large database going through the list of all geo elements (even if
> bound-boxed) would be prohibitively expensive. It's true that computers get
> faster, but the planet.osm gets bigger, too :)
Sounds like "hey, we won't support .osm.bz2 because one day someone
will feed planet.osm.bz2 there". ;)
--
Darafei "Komяpa" Praliaskouski
OSM BY Team
xmpp:me at komzpa.net mailto:me at komzpa.net
More information about the dev
mailing list