News for hackers. Stuff that matters.
Re:Vector Tiles for MapBox Streets by BaconHunter on Monday May 13, 2013 @03:15AM (#5697550)
I'm confused. Are the tiles meant to be delivered in a vector format? Their demo was using pngs...
Re:Vector Tiles for MapBox Streets by vidarh on Monday May 13, 2013 @04:26AM (#5697692)
Not so far, though this means they can experiment with that.

Part of the challenge of rendering maps quickly is simplifying features, clipping and filtering the data. E.g. you might have a layer containing really high resolution national boundaries. Most tiles won't even contain any part of it, and those who do will either contain a small subsection or a vastly simplified version. If you were to try client side rendering based on that, you're potentially looking at gigabytes of data to transfer to the client.

What they're doing is essentially doing all the steps apart from the final rasterisation, and then storing that vector data on a per tile basis, so that they can process only the relevant vector data - whether to serve it up as is, or rasterise it.

One major advantage is that things like styles (line widths, colours) can be modified without having to re-render the entire map data set. Instead you just have to on-the-fly rasterise the already prepared tiles, which you can do without totally killing performance.

Re:Vector Tiles for MapBox Streets by aw3c2 on Monday May 13, 2013 @03:48AM (#5697629)
Confusing indeed. No, the vector tiles are "just" small extracts of global data that then get rendered to standard png files again. Vector means vector geodata here.
Re:Vector Tiles for MapBox Streets by ferongr on Monday May 13, 2013 @09:38AM (#5698543)
Vector performance is still abysmal in browsers (apparently there's no vector benchmark used by the press to pressure vendors) so it's no wonder maps are served as prerendered images.

Even Google Maps WebGL implementation that only uses vectors for the streets is laggy as hell.

Re:Vector Tiles for MapBox Streets by fpp on Monday May 13, 2013 @04:12AM (#5697668)
Yes, would be great to see a live example of client rendered tiles.

I believe their ProtoBuffer approach sounds promising and their position in the mapping / OSM community is strong enough to get this to some kind of standard.

Have seen a few client vector-based approaches before. 2 of the better ones:

https://github.com/jywarren/cartagen

MapDroyd - was a product of OneStepAhead - now seemingly part of Cloudmade ( http://wiki.openstreetmap.org/wiki/MapDroyd - still in Google Play with screenshots etc search for MapDroyd )

Re:Vector Tiles for MapBox Streets by aw3c2 on Monday May 13, 2013 @04:39AM (#5697725)
Don't forget OruxMaps and OSMAnd (capitalisation as you like it). Both are Android apps that support vector data as well.

Also KothicJS, a JS renderer.

Re:Vector Tiles for MapBox Streets by smackfu on Monday May 13, 2013 @02:04PM (#5700309)
It seems almost intentionally misleading to call raster tiles "vector", when vector-based maps is a real thing that is superior to raster-based maps.
Re:Vector Tiles for MapBox Streets by urbanbiker on Monday May 13, 2013 @01:50PM (#5700185)
Yeah, it's not clear. Does the browser eventually create a vector or just work out a png itself?