I'm working on an application that renders geoJSON into OpenLayers map.
The idea is about not having PNG images downloaded from external services (OSM
or Bing) but having geo information in geoJSON file and rendering them in
real-time. From my research this technology seems to be called 'vector tile'. I
had a look at some of the guys' websites such
ashttp://openstreetmap.us/~migurski/vector-datasource/
andhttp://mike.teczno.com/notes/postgreslessness-mapnik-vectiles.html (same
guy).
His work seems to be what I want to achieve but I do not really get how it
works. From my understanding, since I use OpenLayers, a client retrieves map
data in geoJSON format and transfers them into vectors using OpenLayers'
geoJSON parser. But it's just the terms used in this technology that I do not
get.
In his blog he described that there will be a server that provides data that is
called 'MapNik Vector Tile' format. What's the difference between vector tile
and geoJSON? does it simply mean tiled geoJSON that corresponds to the bounding
box? or is it something new image type?
If you have a look at his example, you can observe the labels on roads are
aligned with the strokes of the roads. I tried to do the same on OpenLayers by
changing Renderer code in OpenLayers but I'm only able to rotate labels but not
make them bend them along the roads (E.g., when roads have corners, map
displays labels in 'L' shape. ** + very well rendered!
It looks like Mike (the author of the blog) uses some different map besides
OpenLayers but I cannot figure out how he did it. There are so many questions
to ask but I'd like to understand the above first.
Thanks in advance.
_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users