Hi all
I'm wondering if any thought has been given to rendering maps to SVG. I'm asking that especially in the light of http://techblog.wikimedia.org/2009/07/svg-for-all-with-flash/ which might give use in-browser display of SVG, and perhaps even interactive SVG. Using that with OSM would be really cool!
Now, afaik Mapnik supports SVG rendering. But I suspect that interactive vector maps would work differently from interactive pixel-based maps: you could scale smoothly, could use much bigger tiles, and would use level-of-detail layers instead of pre-scaled tiles...
Does somethign like that exist yet?
-- daniel
Osmarender: http://wiki.openstreetmap.org/wiki/Osmarender
On Thu, Jul 30, 2009 at 8:13 AM, Daniel Kinzler <daniel.kinzler@wikimedia.de
wrote:
Hi all
I'm wondering if any thought has been given to rendering maps to SVG. I'm asking that especially in the light of http://techblog.wikimedia.org/2009/07/svg-for-all-with-flash/ which might give use in-browser display of SVG, and perhaps even interactive SVG. Using that with OSM would be really cool!
Now, afaik Mapnik supports SVG rendering. But I suspect that interactive vector maps would work differently from interactive pixel-based maps: you could scale smoothly, could use much bigger tiles, and would use level-of-detail layers instead of pre-scaled tiles...
Does somethign like that exist yet?
-- daniel
--
Daniel Kinzler Software Developer Wikimedia Deutschland
Phone +49 30 219 158 260
Imagine a world in which every single human being can freely share in the sum of all knowledge. Help us achieve that! http://spenden.wikimedia.de/
Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V. Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter der Nummer 23855 Nz. Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin, Steuernummer 27/681/51985.
Maps-l mailing list Maps-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/maps-l
thanks 80n, that looks like a start into the direction i was thinking. but still a long way from openlayers. I found an online demo at http://dev.openstreetmap.org/~Merio/osmarender_frontend/osmarender_frontend.html but cound't get it to work with FF 3.5.1.
-- daniel
80n schrieb:
Osmarender: http://wiki.openstreetmap.org/wiki/Osmarender
On Thu, Jul 30, 2009 at 8:13 AM, Daniel Kinzler <daniel.kinzler@wikimedia.de mailto:daniel.kinzler@wikimedia.de> wrote:
Hi all I'm wondering if any thought has been given to rendering maps to SVG. I'm asking that especially in the light of <http://techblog.wikimedia.org/2009/07/svg-for-all-with-flash/> which might give use in-browser display of SVG, and perhaps even interactive SVG. Using that with OSM would be really cool! Now, afaik Mapnik supports SVG rendering. But I suspect that interactive vector maps would work differently from interactive pixel-based maps: you could scale smoothly, could use much bigger tiles, and would use level-of-detail layers instead of pre-scaled tiles... Does somethign like that exist yet? -- daniel -- Daniel Kinzler Software Developer Wikimedia Deutschland Phone +49 30 219 158 260 Imagine a world in which every single human being can freely share in the sum of all knowledge. Help us achieve that! http://spenden.wikimedia.de/ Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V. Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter der Nummer 23855 Nz. Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin, Steuernummer 27/681/51985. _______________________________________________ Maps-l mailing list Maps-l@lists.wikimedia.org <mailto:Maps-l@lists.wikimedia.org> https://lists.wikimedia.org/mailman/listinfo/maps-l
Maps-l mailing list Maps-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/maps-l
On Thursday 30 July 2009 09:13:37 Daniel Kinzler wrote:
Hi all
I'm wondering if any thought has been given to rendering maps to SVG. I'm asking that especially in the light of http://techblog.wikimedia.org/2009/07/svg-for-all-with-flash/ which might give use in-browser display of SVG, and perhaps even interactive SVG. Using that with OSM would be really cool!
Now, afaik Mapnik supports SVG rendering. But I suspect that interactive vector maps would work differently from interactive pixel-based maps: you could scale smoothly, could use much bigger tiles, and would use level-of-detail layers instead of pre-scaled tiles...
Does somethign like that exist yet?
I toyed around with the idea, but I think SVG would not be able to handle a few hundred thousand objects that you get on zooming to level 11 and lower. Someone prove me wrong please :)
All the best,
Tels
On Fri, Jul 31, 2009 at 3:42 PM, Tels nospam-abuse@bloodgate.com wrote:
On Thursday 30 July 2009 09:13:37 Daniel Kinzler wrote:
Hi all
I'm wondering if any thought has been given to rendering maps to SVG. I'm asking that especially in the light of http://techblog.wikimedia.org/2009/07/svg-for-all-with-flash/ which might give use in-browser display of SVG, and perhaps even interactive SVG. Using that with OSM would be really cool!
Now, afaik Mapnik supports SVG rendering. But I suspect that interactive vector maps would work differently from interactive pixel-based maps: you could scale smoothly, could use much bigger tiles, and would use level-of-detail layers instead of pre-scaled tiles...
Does somethign like that exist yet?
I toyed around with the idea, but I think SVG would not be able to handle a few hundred thousand objects that you get on zooming to level 11 and lower. Someone prove me wrong please :)
The trick, surely, is to filter the data at that zoom level so that you don't try to render too much.
When used with tiles@home, Osmarender renders place names for low zoom levels by working with a filtered dataset[1]. The place names are then superimposed on top of a captionless tileset that is derived by a separate process.
This link shows tiles containing just place names (major cities and countries) at zoom 5: http://informationfreeway.org/?lat=46.392704527927286&lon=9.361316960562...
You can imagine that it would be just as easy to render major features like coastlines and motorways using the same technique.
80n
[1] Providing such filtered datasets are one of the primary purposes of XAPI
On Friday 31 July 2009 17:15:12 80n wrote:
On Fri, Jul 31, 2009 at 3:42 PM, Tels nospam-abuse@bloodgate.com
wrote:
On Thursday 30 July 2009 09:13:37 Daniel Kinzler wrote:
Hi all
I'm wondering if any thought has been given to rendering maps to SVG. I'm asking that especially in the light of http://techblog.wikimedia.org/2009/07/svg-for-all-with-flash/ which might give use in-browser display of SVG, and perhaps even interactive SVG. Using that with OSM would be really cool!
Now, afaik Mapnik supports SVG rendering. But I suspect that interactive vector maps would work differently from interactive pixel-based maps: you could scale smoothly, could use much bigger tiles, and would use level-of-detail layers instead of pre-scaled tiles...
Does somethign like that exist yet?
I toyed around with the idea, but I think SVG would not be able to handle a few hundred thousand objects that you get on zooming to level 11 and lower. Someone prove me wrong please :)
The trick, surely, is to filter the data at that zoom level so that you don't try to render too much.
Erm, eys, but when you render the inner parts of a big city like Bonn, or Berlin, you end up with a couple of ten thousands streets alone, not minding the POIs, etc.
Outputting that purely all in SVG and giving it a browser to render in real-time sounds tricky to me.
That is why I choose a canvas solution, not SVG. For instance, if you want to pan the map with pre-rendered canvas elements (caption-less), you need only to move the few canvas tiles, then maybe rerender the labels. With everything in SVG, each pan from the user would need the browser to rerender the whole SVG (probably).
Of course, I haven't tried it, just wish I had more time for these things :(
All the best,
Tels