Nouveau moteur de rendu fait rapidement suivant MapCSS

Emilie Laffray

---------- Forwarded message ----------
From: Sebastian Spaeth <sebast...@sspaeth.de>
Date: 8 July 2010 08:23
Subject: [Mapcss] Image to show oww
To: MapCSS implementers and stylesheet authors <map...@openstreetmap.org>


Dear all, I feel a bit more confident now about presenting you 'ceyx':
http://wiki.openstreetmap.org/wiki/Ceyx which is my pathon-based mapcss
parser and osm renderer. My current stylesheet produces things like that:

http://img716.imageshack.us/img716/3008/map13.png

(and yes, it can do the pharmacy icons via icon-image since a few
minutes ago, that's why they are there at z13) :-).

Supports:
- Rendering directly from .osm files
- Outputting .png files at desired size, at desired zoom level
- Supports this set of MapCSS 0.1:
 All line properties BUT:
 casing-opacity, casing-dashes, casing-linecap, casing-linejoin
 All Point properties:
 icon-image (can also draw for an area)
 All Label properties BUT: max-width
 - 'bezier=yes' for beziercurving a way

Caveats:
- Ignoring relations for now
- No eval in CSS yet,
- no regex operator yet
- No stacked drawing rules yet
- No labels along paths yet
- No label/icon suppression yet
- Icons/Labels for areas are simply put in the
 center of the boundary^box for now. Need more fancy algorithm for eg
 half-moon shaped areas.

Code is on bitbucket.org (link see wiki page) and is released under the
GPL v2+.

Happy hacking,
spaetz

_______________________________________________
Mapcss mailing list
map...@openstreetmap.org
http://lists.openstreetmap.org/listinfo/mapcss

Attachment: pgpWMBDULEMIu.pgp
Description: PGP signature

_______________________________________________
Talk-fr mailing list
Talk-fr@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-fr

Répondre à