[OSM-talk] pyrender
OJ W
ojwlists at googlemail.com
Tue Jun 17 23:27:39 BST 2008
Hi. pyrender has a few new features recently:
* Uses tile data server for downloading
* Uses the same cache directory structure as pyroutelib2, so the same
data can be used for drawing and routing
* Layers within road junctions
* Road core and casing, to give neater junctions
* Multiple map styles on one server
Thanks to Spaetz for getting lots of Cairo tricks working.
As background information, pyrender aims to give you a slippy map of
the world instantly - no more having to download an entire planet just
to get started. It downloads map data on demand, in tiles (same as
slippy map tiles, but OSM data not images)
So for just 316KB application + openlayers + average 50KB per zoom-15
tile, you can start serving your very own slippy map.
As a quick example, I posted a few screenshots onto wiki.
http://wiki.openstreetmap.org/index.php/Pyrender#Screenshots
(the tile data server hasn't finished its import yet so some roads are
missing. The data should get more complete within the next day or so)
A few map styles have been created just as illustruations. Anything
capable of rendering a map tile given just the local data should work
(e.g. it would be nice to have Kosmos as a renderer).
Tiles are rendered on demand, which means that the number of map
styles offered should have no effect on resource usage. This means we
don't need to cram everything into a single map now. So there can be
layers to show the railway network, the water network, the cycle
network, etc. each emphasising their particular features. The demo
examples are:
* default (roads, etc)
* london underground
* railways (stations and rail lines)
* power lines
* water (rivers, lakes, coastline, canals)
* borders and boundaries
This should also be useful for debugging layers (like maplint), and
statistics (like plotting data sources or specific tag usages on the
map)
regards,
OJW
p.s. I haven't got pyrender running on the dev server under apache
yet, but that might be a nice project for someone?
More information about the talk
mailing list