Nouveau moteur de rendu fait rapidement suivant MapCSS<br><br>Emilie Laffray<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Sebastian Spaeth</b> <span dir="ltr"><<a href="mailto:Sebastian@sspaeth.de">Sebastian@sspaeth.de</a>></span><br>
Date: 8 July 2010 08:23<br>Subject: [Mapcss] Image to show oww<br>To: MapCSS implementers and stylesheet authors <<a href="mailto:mapcss@openstreetmap.org">mapcss@openstreetmap.org</a>><br><br><br>Dear all, I feel a bit more confident now about presenting you 'ceyx':<br>
<a href="http://wiki.openstreetmap.org/wiki/Ceyx" target="_blank">http://wiki.openstreetmap.org/wiki/Ceyx</a> which is my pathon-based mapcss<br>
parser and osm renderer. My current stylesheet produces things like that:<br>
<br>
<a href="http://img716.imageshack.us/img716/3008/map13.png" target="_blank">http://img716.imageshack.us/img716/3008/map13.png</a><br>
<br>
(and yes, it can do the pharmacy icons via icon-image since a few<br>
minutes ago, that's why they are there at z13) :-).<br>
<br>
Supports:<br>
- Rendering directly from .osm files<br>
- Outputting .png files at desired size, at desired zoom level<br>
- Supports this set of MapCSS 0.1:<br>
All line properties BUT:<br>
casing-opacity, casing-dashes, casing-linecap, casing-linejoin<br>
All Point properties:<br>
icon-image (can also draw for an area)<br>
All Label properties BUT: max-width<br>
- 'bezier=yes' for beziercurving a way<br>
<br>
Caveats:<br>
- Ignoring relations for now<br>
- No eval in CSS yet,<br>
- no regex operator yet<br>
- No stacked drawing rules yet<br>
- No labels along paths yet<br>
- No label/icon suppression yet<br>
- Icons/Labels for areas are simply put in the<br>
center of the boundary^box for now. Need more fancy algorithm for eg<br>
half-moon shaped areas.<br>
<br>
Code is on <a href="http://bitbucket.org" target="_blank">bitbucket.org</a> (link see wiki page) and is released under the<br>
GPL v2+.<br>
<br>
Happy hacking,<br>
spaetz<br>
<br>_______________________________________________<br>
Mapcss mailing list<br>
<a href="mailto:Mapcss@openstreetmap.org">Mapcss@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/mapcss" target="_blank">http://lists.openstreetmap.org/listinfo/mapcss</a><br>
<br></div><br>