Updated Ideas (markdown)

springmeyer 2012-03-21 14:14:07 -07:00
parent 21cc42a5db
commit c2111bbb48

@ -1,15 +1,27 @@
http://www.slideshare.net/steve8/what-id-like-to-do-with-mapnik-4756837
* icon rotation: could also be used for amenity=viewpoint when tagged with viewing angles
* <strike>SVG icons: allow replacing colors (e.g. color a black icon in blue); have an alpha parameter</strike> (done)
* move icon a bit if it would collide with others
* replace an already placed icon with a collection icon when there is another one to be shown right there
* <strike>push lines apart so that there is a minimum distance between them</strike> (nearly done)
* <strike>be able to construct file names from tag values in XML (e.g. "symbol_file=parking.svg" should be mapped to e.g. ~/mapnik/parking.svg or http://example.com/parking.svg). Right now, people resort to generating XML styles by a script.</strike> (done, see "PathExpressions")
* when there is a very curvy road, place the name along a smoothed line (when the text is not centered to the line but with a dy)
* multi-line text constructed from several tags, e.g. for peak name and height (can be done when you accept the same styling for these text fragments)
* stronger coupling between icon and text (maybe similar to the ShieldSymbolizer?) so that manual text dy tweaking is not required anymore (want to be able to say: "place this icon in size 20x20 and put the text in size 12pt five pixels below it")
* collapsing of little small areas with the same tags into a single big one (for e.g. a big forest), so that e.g. the name is drawn only once
* be able to suppress automatic text rotation (per style or layer) - contour lines should always be displayed so that the base line of the text points to the lower ground
* underlined text (for e.g. capitals)
* sometimes, peak names drawn in a half circle, would be cool if Mapnik could do that as well
1) icon rotation: could also be used for amenity=viewpoint when tagged with viewing angles
2) <strike>SVG icons: allow replacing colors (e.g. color a black icon in blue); have an alpha parameter</strike> (done)
3) move icon a bit if it would collide with others
4) replace an already placed icon with a collection icon when there is another one to be shown right there
5) <strike>push lines apart so that there is a minimum distance between them</strike> (nearly done)
6) <strike>be able to construct file names from tag values in XML (e.g. "symbol_file=parking.svg" should be mapped to e.g. ~/mapnik/parking.svg or http://example.com/parking.svg). Right now, people resort to generating XML styles by a script.</strike> (done, see "PathExpressions")
7) when there is a very curvy road, place the name along a smoothed line (when the text is not centered to the line but with a dy)
8) multi-line text constructed from several tags, e.g. for peak name and height (can be done when you accept the same styling for these text fragments)
9) stronger coupling between icon and text (maybe similar to the ShieldSymbolizer?) so that manual text dy tweaking is not required anymore (want to be able to say: "place this icon in size 20x20 and put the text in size 12pt five pixels below it")
10) collapsing of little small areas with the same tags into a single big one (for e.g. a big forest), so that e.g. the name is drawn only once
11) be able to suppress automatic text rotation (per style or layer) - contour lines should always be displayed so that the base line of the text points to the lower ground
12) underlined text (for e.g. capitals)
13) sometimes, peak names drawn in a half circle, would be cool if Mapnik could do that as well