Skip to content

Commit a308619

Browse files
committed
getting started
0 parents  commit a308619

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
An MIT licensed javascript implementation of some of the mapnik Layer, Rule, Style and symbolizer
2+
classes (implemented mainly by eye-balling the XML and reading the wiki).
3+
4+
Also javascript classes to take XML from the OpenStreetMap API and turn it into GeoJSON-ish things.
5+
6+
Also javascript classes to make using Array.filter more sane, and slightly SQL-ish.
7+
8+
Nowhere near feature complete. There is an initial attempt to implement text rendering,
9+
which is where things should get interesting.
10+
11+
OpenLayers has a similar set of classes for styling vector data, and Cartagen also explores
12+
similar ideas.
13+
14+
TODO:
15+
- proper projections (right now things just get squeezed into squares)
16+
- more symbolizers (text, point, etc)
17+
- try an SVG renderer instead of canvas (DOM is handy!)
18+
- load and parse mapnik-ish xml files (URLs for sources?)
19+
- load and parse cascadenik files (CSS++)
20+
- use something like YQL to transform the XML to GeoJSON on a server?
21+

0 commit comments

Comments
 (0)