[OSM-dev] Converting OSM Mapnik stylesheet to Cascadenik or Carto
Igor Brejc
igor.brejc at gmail.com
Fri Jul 29 21:07:50 BST 2011
On Fri, Jul 29, 2011 at 8:26 PM, Komяpa <me at komzpa.net> wrote:
> > 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.rusomehow ;)
>
> I don't doubt you do, however I would have to know a little more about your
solution to comment.
>
> > 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". ;)
>
> Not sure I understand that one.
Igor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20110729/609ec315/attachment-0001.html>
More information about the dev
mailing list