News — 01 May, 2015
Nepal earthquake. We have maps
Since the earthquake struck in Nepal five days ago, 3679 mappers have made 62587 edits to the map (latest stats) It’s an amazing groundswell of map editing effort from our global community. We’re adding lots of detail to the map, which was already pretty impressive due to the work of the local OpenStreetMap community.
But what happens next? How can aid agencies use the maps we are creating? Well there are many ways, some very simple, some more technical. The OpenStreetMap community has 10 years of experience with access to free and open map data. We’ve developed all sorts of tools and processes in that time. This is a brain dump of various links you may find useful. Probably for aid agencies the most interesting ideas will be around printing the maps, or loading the maps onto devices to use offline.
Browse the maps
- Firstly you can browse the maps on the OpenStreetMap.org front page . Zoom in on the map of Nepal. Pan around and explore. This view of the map is usually updated within about 10 minutes of new features being added.
- Take a look at HOT's humanitarian style, as well as Mapquest's style. Even the cycle map style is actually pretty interesting in Nepal, not so much for its cycle routes, but for the nice terrain rendering style.
- Browse maps and maps styles elsewhere on the web e.g. Mapbox terrain maps. The terrain cartography on the Russian sputnik.ru site is also rather nice. There are countless other examples of OpenStreetMap cartography as browsable maps created by third parties.
Web map data overlays
- quakemap.org is a tool for reporting needs or situational updates, related to the earthquake, as pins on a map (read more here). Potentially very useful in itself, but this is also just a great example of overlaying additional data on top of OpenStreetMap basemaps.
- You can use OpenStreetMap on your own website, with your own data overlaid, using web map libraries such as OpenLayers and LeafletJS. In this way, web-based digital humanitarian initiatives are making use of OpenStreetMap as a rich detailed basemap.
- uMap offers an easier (zero coding) way to create custom overlays with your own data. We've used it to create HOT coordination maps for example. Support for viewing KML / geojson files. This can also be embedded on your own website.
A good old paper map is still the ultimate mapping tool, and a very popular way for aid agencies to use OpenStreetMap in disaster response. Paper works without power or internet! Poster sized printouts can also be the ideal thing to pin-up in a meeting space back at HQ.
Big poster sized printouts being used for Typhoon Haiyan response
There are a variety of ways to get a map printout
- Simply take a screenshot. You may like to go fullscreen first.
- fieldpapers.org lets you create a multi-page PDF atlas to be printed, including a nice interface for choosing the area to cover. maposmatic.org does this too, and also lets you add a street index to the page.
- Kathmandu Living Labs have made some pre-prepared printable PDFs to download. Scroll down to see different city regions.
- MapAction specialise in printable maps as PDF downloads tailored to disaster response. You'll see OpenStreetMap's street-level data in use in some of their maps, for example this map of Search And Rescue zones
For the more advanced, you’ll be wanting to create your own maps to print…
- This might involve loading shapefiles into GIS software, customise the cartography, and print from there (more on shapefiles below)
- Or alternatively prepare a map as an SVG file which designers can work with in inkscape or Adobe Illustrator. Several approaches to getting SVG maps. For a nicely layered file, try Maperative.
- Those last two options will tend to fail if you load too much complex map data. So for an intricate detailed hi resolution map (particularly if you're aiming for poster sizes) you may have more luck sending a very large raster image to print. You can create such an image through rendering e.g. using Mapbox studio. Rendering is wonderfully flexible, but pretty complicated. Somewhat easier is to generate a big image from existing tile servers using a tool called BigMap.
Offline maps on your device
It’s quite possible to download a fully detailed map of an entire country onto a smartphone (or tablet) ready for you to zoom around and navigate while you’re in a disaster zone without an internet connection. This is a fantastic possibility for aid workers, which is largely made possible by OpenStreetMap’s free and open approach to data downloads. In recent years app developers have made this easier and easier. So if you’re heading out to Nepal, and you have a smartphone, this is a no-brainer!. Tell your whole team to do this before you leave your internet connection.
- OsmAnd is our favourite recommendation these days. For android phones / tablets it's here on google play, and now for iPhone/iPad it's here on the apple appstore Before you leave your wifi behind, start up the app and download the Nepal map!
We particularly like OsmAnd because anyone can create newly updated map downloads for different regions in the open .obf file format. You can see some people are offering downloads listed here created specially for the Nepal response. But also the OsmAnd central download server is being specially updated for Nepal each day at the moment (so the default Nepal map you get inside the app, should be pretty up-to-date). In addition to excellent map viewing, OsmAnd has many neat features, including ways of collecting data for OpenStreetMap. Our LearnOSM.org documentation gives more information on this.
- Map.me is another nice offline OpenStreetMap viewing apps for android & iPhone, but the map downloads are not as up-to-date as with OsmAnd
- Garmin GPS devices (rugged GPS units with a screen for map viewing) can also be loaded with maps from OpenStreetMap. You can download pre-generated .img files from a variety of sources, but we're listing some options made specially during the Nepal earthquake response.
A Garmin unit with our maps being used by search & rescue teams in Haiti
- Shapefiles might be the data format you'll be looking for if you know a thing or two about maps and GIS software. At the same data download link we list few options for shapefiles, including this download created by HOT's Blake Girardot. He's split out the OpenStreetMap features into 13 thematic layers. That's significant because shapefile users will tend to expect these layers, while OpenStreetMap data has no such concept. Some shapefiles are more intelligent than others with the way their filtering of OpenStreetMap tags has happened. If you want more control over this, you can run the conversion process yourself. The shapefiles page on the wiki gives a range options.
- Raw OpenStreetMap data is also available at the same data download link. I'm working backwards in my explanation of these things. Downloads in data formats such as shapefiles, garmin .img files, and OsmAnd .obf files, are all generated as a conversion from raw OpenStreetMap data. Big thanks to geofabrik who set up their extract download server on a 30 minute update cycle for Nepal.
Small areas of map follow a .osm xml format, but for city or country-sized extracts you'll see either zipped up XML, or a special intelligently compacted format called PBF. This data, made up of Nodes, Ways, Relations & Tags, is the source sitting at the heart of the OpenStreetMap ecosystem, with many tools, apps and scripts for working with it, and with data changes coming in from the community via data diffs synced using tools like osmosis
We know that some of these things sound pretty complicated, and aid agencies don’t necessarily have time to be getting their heads around it all right now. Hopefully getting a map printout is not too taxing, and again that OsmAnd app is a favourite (HOT tip!). But if you do get stuck on any of this, or you want help with some more advanced use cases, just get in touch. We have a very active community of technical experts who will jump to attention if you tell us you’re looking to use our maps in an aid context! The true power of OpenStreetMap is its community.
Don’t forget OpenStreetMap is editable and improving all the time (very rapidly in Nepal at the moment). This is always worth remembering for map users, because it means A) Bringing in updates can be a good idea B) You can contribute back! Most of our mapping effort is based on puzzling over a fuzzy view from space. Contributions from people on the ground are hugely valuable, and we can feed it back into the outputs to benefit other aid workers. Mapping is a topic for another blog post, but it can be as simple as adding “Notes” or sharing some photos with us!
And finally give us your success stories! We love hearing back from people using our maps. It has a serious value in terms of motivating our mapping community and helping to promote our work.