08.31.2011   08.9.2011   06.11.2011   04.16.2011 

TileMill

The folks over at Development Seed have been building awesome open source tools for mapping and GIS for a couple of years now. Their bread and butter products are really their Drupal tools and extensions, but the stuff I get the most out of, personally, are the mapping toolkits produced under the Mapbox brand: Maps on a Stick, MBTiles, and of particular note, TileMill.

If you’ve ever explored how Google Maps is put together, you’ll have noticed that it combines a Javascript map viewer (the “slippy map”) with static PNG image files it serves up to the browser as you slide around on the map. Creating tiles from GIS vector data — be it street lines, boundaries, lake polygons, or points representing cities — is a challenging task, but a surmountable one with the toolsets developed and nurtured by the OpenStreetMap community over the last few years. Mapnik (the renderer ultimately responsible for the pretty tile images) is fantastic for distilling vector and raster data into images — the downside being the learning curve to putting together style templates to define the layers, colors, line styles, and label typefaces for your maps, not to mention the difficulty of configuring the software and tweaking its performance.

This is where TileMill comes in to save your bacon.

Cartography made easy(er)

Trying to design Mapnik XML style templates by hand is totally insane. Especially for a cartographer-type just trying to make good looking graphics. Catch this snippet of the raw Mapnik style it parses to build the tiles:

Yuck. Logical, yet totally overkill for someone just trying to “make that highway dark blue.”

Full of nasty tag duplication and anti-DRY machine language. Editing this stuff is made better by using Michal Migurski’s cascadenik, a CSS preprocessor that turns a CSS-like language into that XML format, but it’s still tedious. You have to make your changes, run a tile server somewhere, setup an OpenLayers viewer, and wait for it to re-render your samples each time you iterate style changes.

TileMill combines all these tools into a map design suite. Extremely easy to use (with a rudimentary knowledge of CSS and spatial data formats), and so fast. Much faster than I ever had Mapnik and Postgres working together for rendering OSM data.

They’ve stitched together an array of open source components to build an incredibly useful tool for putting together great-looking interactive maps. I’ve even been using it as a replacement for making static map graphics; what used to be fodder for the very-frustrating-to-use ArcGIS Desktop. I essentially have no need of ArcGIS for data display, it’s only got the handcuffs on me for analysis work (but this is quickly disappearing day-by-day, too).

Smart storage formats

Another huge complementary feature/tool is the MBTiles format for exporting tilesets. I can build a map quickly, export the zoom levels I want to MBTiles, and view them in OpenLayers on a webpage. All tile images are encapsulated in a compressed SQLite database, so therefore very interoperable. Our iPhone “geo data app”, Maptual, now has support for viewing MBTiles datasets (but it’s not yet on the App Store). So this is fantastic for developing gorgeous, offline maps that can be used on iOS.

You can also read in GeoJSON, KML, and GeoTIFFs — smarter formats that I hope start to trump things like shapefiles and coverages in the future.

Hats off to the Dev Seed guys (and others) for building a great tool for us geographers. Stuff like this is making our jobs more interesting every day.

 08.1.2010 

  “The University of Warwick campus map was drawn on foot at 1:1 scale with 238 miles of GPS tracks walked over 17 days”.


I love the compass rose, scale, and signature.

“The University of Warwick campus map was drawn on foot at 1:1 scale with 238 miles of GPS tracks walked over 17 days”.

I love the compass rose, scale, and signature.

 05.2.2010   03.26.2010 

Visualizing the landscape of “check-ins” at SXSW in Austin.

 03.14.2010 

GeoPlanet Explorer, a tool for browsing the Yahoo! geolocation hierarchical database, GeoPlanet.

The tool queries Yahoo’s GeoPlanet API for a WOEID of a “place,” which is Yahoo’s clever method of uniquely identifying any “location of interest” in the world, with something more loose yet more descriptive than just a lat/long. Passing a WOEID to the API returns lists of locations spatially-related to your search, like parent/child/sibling places and historical “ancestor” records.

The developer used YQL, YUI, and Yahoo Maps to put it all together. Check out the source code on Github for the full experience.

 02.12.2010 

After a couple of map related posts, I found this video of the new stuff Microsoft’s doing with Bing Maps. It looks like the Live Labs guys have even integrated Photosynth photos into the Streetside interface. really dig the seamless display of constellations when you pan up to the sky.

 02.12.2010   02.11.2010 
The StreetView team goes to Whister!

For the Vancouver Olympics, the StreetView guys have been hittin’ the slopes to get imagery from snowmobiles.  The little StreetView guy is even a skier!

The StreetView team goes to Whister!

For the Vancouver Olympics, the StreetView guys have been hittin’ the slopes to get imagery from snowmobiles. The little StreetView guy is even a skier!

 02.2.2010 
Mike’s guide to Lost filming locations.

It’s funny to think that there are so many houses and buildings just barely through the trees while they’re galavanting around the island.

Mike’s guide to Lost filming locations.

It’s funny to think that there are so many houses and buildings just barely through the trees while they’re galavanting around the island.

 01.15.2010 
A Peek Into Netflix Queues.

A NYT visualization of most-queued films by US zip code.  A cool example of what can be done with 100% free data.  The queue data is accessible through Netflix’s API and zip code boundaries from the US Census.

A Peek Into Netflix Queues.

A NYT visualization of most-queued films by US zip code. A cool example of what can be done with 100% free data. The queue data is accessible through Netflix’s API and zip code boundaries from the US Census.

 08.19.2009 
The UK’s first road map.


  “This extraordinary map, dating from 1675, details The Road From LONDON to the LANDS END Comencing at the Standard in Cornhill and Extending to Senan in Cornwall. It was made by IOHN OGILBY Esq[ui]r[e] his Ma[jes]ties Cosmographer and covers 308 miles and 3 furlongs (almost 500 km).”


(strangemaps)

The UK’s first road map.

“This extraordinary map, dating from 1675, details The Road From LONDON to the LANDS END Comencing at the Standard in Cornhill and Extending to Senan in Cornwall. It was made by IOHN OGILBY Esq[ui]r[e] his Ma[jes]ties Cosmographer and covers 308 miles and 3 furlongs (almost 500 km).”

(strangemaps)

Impression theme by Hello New York.