[OSM-talk-fr] Fwd: [Mapcss] Image to show oww
Emilie Laffray
emilie.laffray at gmail.com
Jeu 8 Juil 08:34:00 UTC 2010
Nouveau moteur de rendu fait rapidement suivant MapCSS
Emilie Laffray
---------- Forwarded message ----------
From: Sebastian Spaeth <Sebastian at sspaeth.de>
Date: 8 July 2010 08:23
Subject: [Mapcss] Image to show oww
To: MapCSS implementers and stylesheet authors <mapcss at 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
Mapcss at openstreetmap.org
http://lists.openstreetmap.org/listinfo/mapcss
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <http://lists.openstreetmap.org/pipermail/talk-fr/attachments/20100708/a816e2ba/attachment.htm>
-------------- section suivante --------------
Une pièce jointe autre que texte a été nettoyée...
Nom: non disponible
Type: application/pgp-signature
Taille: 197 octets
Desc: non disponible
URL: <http://lists.openstreetmap.org/pipermail/talk-fr/attachments/20100708/a816e2ba/attachment.sig>
Plus d'informations sur la liste de diffusion Talk-fr