I heard you like tiles…
Michal Migurski, Geomeetup April 2013
I heard you like tiles Michal Migurski, Geomeetup April 2013 so I - - PowerPoint PPT Presentation
I heard you like tiles Michal Migurski, Geomeetup April 2013 so I put some vectors in your tiles so you could tile while you vector. Why? Using OpenStreetMap should be as easy as pasting a URL. OSM is big, and computers &
Michal Migurski, Geomeetup April 2013
be as easy as pasting a URL.
aren’t getting much faster.
worldwide data right now.
http://nationalatlas.gov
We’re living in an explosion of cheap, easy-to-get geographic data on the internet.
http://naturalearthdata.com
Datasets like Natural Earth are widely available. Nathaniel publishes Natural Earth as a plain series of shapefiles, and has had hundreds of thousands of downloads from cartographers and mapmakers.
For those things that can’t be gotten with a simple download, a simple URL should suffjce.
http://teczno.com/s/9b8
Most things should be gettable with dumb files in directories. *Paul Ramsey rant about FTP* I spent weeks locating non-seamless, non-UI zip files for NED and SRTM data before finally finding them.
“…we hit the era of what I’m calling Peak MHz in about 2004. That’s the point when processor speed effectively peaked as chip manufacturers began competing along other dimensions.” —Mike Kuniavsky, http://sta.mn/5cm
Peak MHz: uh oh. Our computers haven’t actually gotten significantly faster in almost ten years. They’ve gotten smaller, and able to do more things at once, but not faster. Our typical internet has also not gotten faster in ten years. It’s everywhere now including the BART tunnel, but for a lot of typical users it’s actually smaller.
http://teczno.com/s/cbz
OSM is getting hugely popular, 5 of the 6 map projects in Atlantic Cities’s “12 Fresh Ideas” choose
fancy choropleths.
OSM data is getting bigger, though. When I first publicly talked about this a year and a half ago, the planet file was a paltry 19GB. Now it’s 27GB and growing all the time.
http://sta.mn/gjh
PostGIS is not getting any easier to administer, especially if you’re a newspaper or a civic data gadfly.
http://sta.mn/gjh
http://metro.teczno.com
I’ve helped this situation some on the past by creating metro extracts, which helps on just one dimension of ease by making shapefiles for small urban areas available. If you’re not looking for one of these almost cities and can’t wait for me to accept a pull request, you are out of luck.
http://teczno.com/s/14s
But! We’re starting to see the next steps beyond raster tiles, and they’re coming to us on our mobile phones in iOS, Google and Nokia maps. Bottom line: this stufg should be easy.
It’s time for OpenStreetMap to get creative (again) about how its data is distributed.
Why are vector tiles right for now?
http://sta.mn/xq
They’re easy to bake and distribute. Vector tiles are cheaper to render than image tiles, because there’s no server-side rasterization step beyond the packaging of the data. Distribution is easier thanks to all the HTTP infrastructure that we’re now able to take for granted: edge caches like Fastly, etc.
http://sta.mn/v7f
(talk GeoJSON vs. BSON + National Geographic here? backend infrastructure of that project)
Storage for these things is cheap. You can imagine putting an entire world of render-ready tile onto a single small hard drive, the size wouldn’t be much larger than planet itself. Most of that size is buildings anyway. Rendering can be a last-mile problem, with fast, high-quality GPU in everyone’s pocket.
(Show some screen grabs of Google iOS maps with tile boundaries visible)
E.g. , “37.123456” instead of “37.1234567890…”
(Talk relative effjciency of GeoJSON with clipped precision; show Rainbow Road map)
http://teczno.com/s/m0x
http://teczno.com/s/hjk
http://teczno.com/s/djb
Browser technologies like WebGL are an obvious way forward for showing this stufg. Google has had GL in its maps for a year now, though it’s a useless gimmick from our point of view without a data API.
E.g. replace three bytes in each double-precision floating point value with 0x00, then zlib that
(Talk MVT specifically)
Three kinds of efficiency for file formats
Two kinds of effjciency for a file format:
A third kind of effjciency:
With the introduction of Mapnik Python Datasource last year, we can use vector tiles right in our favorite raster renderer.
{ "type": "python", "factory": "TileStache.Goodies.VecTiles:Datasource", "template":
"http://tile.openstreetmap.us/vectiles-highroad/{z}/{x}/{y}.mvt",
}
http://mapy.cz
http://sta.mn/pm
@michalmigurski mike.teczno.com