Thanks for all the info. It seems Cascadenik has been superseded by Carto, at least that's my impression, as Cascadenik hasn't been touched since last year, and Carto is inspired by Cascadenik but has seen more recent and active development. It would be interesting to see a comparison between Carto and MapCSS. However I'm not sure if OSMF would even be interested in changing the main stylesheet over to one of these.<br>
-Josh<br><br><div class="gmail_quote">On Wed, Jul 27, 2011 at 11:21 AM, Andy Allan <span dir="ltr"><<a href="mailto:gravitystorm@gmail.com">gravitystorm@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Wed, Jul 27, 2011 at 4:03 PM, Phil! Gold <<a href="mailto:phil_g@pobox.com">phil_g@pobox.com</a>> wrote:<br>
> * Josh Doe <<a href="mailto:josh@joshdoe.com">josh@joshdoe.com</a>> [2011-07-27 10:52 -0400]:<br>
>> I'm curious if anyone has ever attempted to convert the massive OSM Mapnik<br>
>> stylesheet to one of the CSS-like languages such as Cascadenik or Carto.<br>
><br>
> I started trying to do a conversion to Cascadenik, but gave up on it because<br>
> Cascadenik was generating tons of unnecessary rules (basically, the cartesian<br>
> product of all my selectors) that slowed Mapnik down quite considerably.<br>
> Maybe it's possible, but it's certainly not for the faint of heart.<br>
<br>
</div>There's a new feature in mapnik to handle this better which carto uses<br>
- a flag for mapnik to match only one rule per style. Saves all the<br>
"and not X and not (not X and Y)" that Cascadenik generated. I don't<br>
know how much it helps though, all my projects have either been XML or<br>
cascadenik, or carto, and I've never tried converting one to the other<br>
and comparing benchmarks.<br>
<br>
Cheers,<br>
<font color="#888888">Andy<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
dev mailing list<br>
<a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/dev" target="_blank">http://lists.openstreetmap.org/listinfo/dev</a><br>
</div></div></blockquote></div><br>