description: online collaborative project creating a world geographic database
51 results
by Erik Westra · 23 May 2013
Example code Documentation Availability Summary 4. Sources of Geospatial Data Sources of geospatial data in vector format OpenStreetMap Data format Obtaining and using OpenStreetMap data The OpenStreetMap API Planet.osm Mirror sites and extracts Working with OpenStreetMap data TIGER Data format Obtaining and using TIGER data Natural Earth Data format Obtaining and using Natural
…
and longitude. There are various ways to do this; one simple approach is to use a free geocoding web service, such as this: http://nominatim.openstreetmap.org/search?q=Pier 39, San Francisco,CA This returns a latitude value of 37.82 and a longitude value of -122.42. Note These
…
; we'll talk about decimal degrees in Chapter 2, GIS. Similarly, we can find the location of the Moscone Center using this query: http://nominatim.openstreetmap.org/search?q=Moscone Center, San Francisco,CA This returns a latitude value of 37.80 and a longitude value of -122.44. Now that
…
this data as an overlay on top of a street map, you can see exactly where the taxi has been: (Street map courtesy of http://openstreetmap.org). While this is a very simple example, visualization is a crucial aspect of working with geospatial data. How data is displayed visually, how different
…
provided a number of APIs, which can be used to include maps and perform limited geospatial analysis within a website. Other services, such as the OpenStreetMap geocoder we used earlier, allow you to perform various geospatial tasks that would be difficult to do if you were limited to using your own
…
party developer, support for Python is built right into Mapnik. This makes Python eminently suited to developing Mapnik-based applications. Mapnik is heavily used by OpenStreetMap (http://openstreetmap.org), EveryBlock (http://everyblock.com), among others. Since the output of Mapnik is simply an image, it is easy to include Mapnik as part
…
features will have metadata associated with them. In this section, we will look at some of the major sources of free vector-format geospatial data. OpenStreetMap OpenStreetMap (http://openstreetmap.org) is a website where people can collaborate to create and edit geospatial data. It describes itself as a "free editable map of the
…
whole world made by people like you." The following screenshot shows a portion of a street map for Onchan, Isle of Man, based on data from OpenStreetMap
…
: Data format OpenStreetMap does not use a standard format such as shapefiles to store its data. Instead, it has developed its own XML-based format for representing
…
, or relation) can have a number of tags associated with it that provide additional information about the element. Following is an example of how the OpenStreetMap XML data looks: <osm> <node id="603279517" lat="-38.1456457" lon="176.2441646".../> <node id="603279518" lat="-38.1456583" lon="176.2406726".../> <node id="603279519
…
="30A"/> <tag k="route" v="road"/> <tag k="type" v="route"/> </relation> </osm> Obtaining and using OpenStreetMap data You can obtain geospatial data from OpenStreetMap in one of following three ways: You can use the OpenStreetMap API to download a subset of the data you are interested in. You can download the entire
…
OpenStreetMap database, called Planet.osm, and process it locally. Note that this is a multi-gigabyte download. You can make use of one of the
…
mirror sites that provide OpenStreetMap data nicely packaged into smaller chunks and converted into other data formats. For example, you can download the data for North America on a state
…
available formats, including shapefiles. Let's take a closer look at each of these three options. The OpenStreetMap API Using the OpenStreetMap API (http://wiki.openstreetmap.org/wiki/API), you can download selected data from the OpenStreetMap database in one of following three ways: You can specify a bounding box defining the minimum and
…
with a specified element (for example, all elements belonging to a given relation). OpenStreetMap provides a Python module called OsmApi, which makes it easy to access the OpenStreetMap API. More information about this module can be found at http://wiki.openstreetmap.org/wiki/PythonOsmApi. Planet.osm If you choose to download the entire
…
OpenStreetMap database for processing on your local computer, you will first need to download the
…
entire Planet.osm database. This database is available in two formats: a compressed XML-format file containing all the nodes, ways, and relations in the OpenStreetMap database, or a special binary format called PBF that contains the same information but is smaller and faster to read. Note PBF is replacing XML
…
if you download it in XML format, or 18 GB if you download it in PBF format. Both formats can be downloaded from http://planet.openstreetmap.org. The entire dump of the Planet.osm database is updated weekly, but regular "diffs" are produced which you can use to update your local
…
area rather than the entire world. These mirror sites and extracts are maintained by third parties; for a list of the URLs, see http://wiki.openstreetmap.org/wiki/Planet.osm. Note that these extracts are often made available in alternative formats on the mirror sites, including shapefiles and direct database dumps
…
. Working with OpenStreetMap data When you download Planet.osm, you will end up with an enormous file on your hard disk—currently it would be 250 GB if
…
data into a database before you attempt to work with it. To do this, use the excellent osm2pgsql tool, which is available at http://wiki.openstreetmap.org/wiki/Osm2pgsql. osm2pgsql was created to import the entire Planet.osm data into a PostgreSQL database, and so is highly optimized. Once you have
…
Planet.osm data into your local database, you can use the psycopg2 library, as described in Chapter 6, GIS in the Database, to access the OpenStreetMap data from your Python programs. TIGER The United States Census Bureau have made available a large amount of geospatial data under the name TIGER (Topologically
…
sources Simple base map World Borders Dataset Shaded relief (pseudo-3D) maps GLOBE or NED data processed using gdaldem; Natural Earth raster images Street map OpenStreetMap City outlines TIGER (US); Natural Earth urban areas Detailed country outlines GSHHS Level 1 Photorealistic images of the Earth Landsat City and place names GNIS
…
) or Geonet Names Server (elsewhere) Summary In this chapter, we have surveyed a number of sources of freely-available geospatial data. We have learned that: OpenStreetMap is a collaborative website where people can create and edit vector maps worldwide. TIGER is a service of the US Geological Survey providing geospatial data
…
will use the geometry stored in the outline field for drawing lines, polygons, and so on. OSM The OSM data source allows you to include OpenStreetMap data onto a map. The OpenStreetMap data is stored in .osm format, which is an XML format containing the underlying nodes, ways and relations used by
…
OpenStreetMap. The OpenStreetMap data format, and options for downloading .osm files, can be found at: http://wiki.openstreetmap.org/wiki/.osm If you have downloaded a .osm file and want to access it locally, you can
…
set up your data source like this: datasource = mapnik.OSM(file="myData.osm") If you wish to use an OpenStreetMap API call to retrieve the OSM data on the fly, you can do this by supplying a URL to read the data from, along with
…
a bounding box to identify which set of data you want to download. For example: osmURL = "http://api.openstreetmap.org/api/0.6/map" bounds = "176.193,-38.172,176.276,-38.108" datasource = mapnik.OSM(url=osmURL, bbox=bounds) The bounding box is
…
query optimizer / Knowing the limits of your database's query optimizer Bingabout / Creating a geospatial mash-up bounding / The OpenStreetMap API C calc_search_radius() function / Implementing the find feature view changesets / The OpenStreetMap API civic locationabout / Location colorsusing / Using colors common spatially-enabled databasesabout / Commercial Spatially-enabled databases Oracle / Oracle MS
…
"select country" script I import shapefile view function / The "import shapefile" view function import_data() function / Importing shapefiles, Extracting the uploaded shapefile imposmURL / Working with OpenStreetMap data J jurisdictional locationsabout / Location K KMLabout / Recent developments L labelsdrawing / Drawing labels Landsatabout / Landsat data format / Data format Landsat imageryobtaining / Obtaining Landsat imagery Layer
…
-enabled databases MySQL / MySQL PostGIS / PostGIS SpatiaLite / SpatiaLite OpenStreetMapURL / Mapnik, OpenStreetMap about / OpenStreetMap screenshot / OpenStreetMap data format / Data format geospatial data, obtaining / Obtaining and using OpenStreetMap data geospatial data, using / Obtaining and using OpenStreetMap data data, working with / Working with OpenStreetMap data OpenStreetMap API / The OpenStreetMap API OpenStreetMap geocoderabout / Recent developments Oracleabout / Oracle Oracle Locatorabout / Oracle Oracle Spatialabout / Oracle
…
orthorectification / Data format os.path.join() function / Shapefile osm2pgsql tool / Working with OpenStreetMap data OsmApi / The OpenStreetMap API OSM data sourceabout / OSM overlay / Visualizing geospatial data P painters algorithmabout / Introducing Mapnik parallelsabout / Location parametersabout / URL dispatching Planet.osmabout / Planet.osm mirror site
…
Natural Earth / Natural Earth GLOBE / Global Land One-kilometer Base Elevation (GLOBE) National Elevation Dataset (NED) / National Elevation Dataset (NED) sources, vector-format geospatial dataOpenStreetMap / OpenStreetMap TIGER / TIGER Natural Earth / Natural Earth GSHHS / Global, self-consistent, hierarchical, high-resolution shoreline database (GSHHS) World Borders Dataset / World Borders Dataset spatial datatypes / Spatially
by Regina O. Obe and Leo S. Hsu · 2 May 2015
xi Importing and exporting vector data with ogr2ogr Environment variables 93 Ogrinfo 93 ogr2ogr 93 Exporting with ogr2ogr 97 ■ ■ 92 Importing with ■ 4.4 Importing OpenStreetMap data with osm2pgsql 99 Getting OSM data osm2pgsql 101 4.5 100 Loading OSM-formatted data with ■ Importing and exporting raster data 103 Using gdalinfo
…
how to import and export both raster and vector data of various formats using the GDAL/OGR suite. You’ll also learn how to load OpenStreetMap data using the commonly available osm2pgsql command-line tool. Chapter 5 covers some of the more common, open source, desktop tools for viewing and querying
…
<nordick.an@gmail.com> www.it-ebooks.info 4 1.1 CHAPTER 1 What is a spatial database? Thinking spatially Popular mapping sites such as OpenStreetMap, Google Maps, Bing Maps, MapQuest, and Yahoo have empowered people in many walks of life to answer the question “Where is something?” by displaying teardrop
…
covers PostGIS backup and restore utilities Utilities for downloading and uncompressing files Importing and exporting Esri shapefile data Importing and exporting vectors using ogr2ogr Importing OpenStreetMap data Importing and exporting raster data PostGIS raster output functions In this chapter, we’ll look at how you can load real-world data into
…
command-line switches specific to the OGR GPX driver, visit www.gdal.org/ogr/drv_gpx.html. OpenStreetMap is full of user-contributed GPX files uploaded by users worldwide. You can find these at www.openstreetmap.org/traces. We randomly selected one from Australia titled “A bike trip around Narangba” by going
…
to www.openstreetmap.org/ traces/tag/australia and downloading the file www.openstreetmap.org/user/Ash %20Kyd/traces/468761. You can find out more about the data you’re about to load by using ogrinfo. Listing 4
…
_action password=mypassword" -dsco NameField=time ➥staging.track_points staging.tracks Licensed to tracy moore <nordick.an@gmail.com> www.it-ebooks.info 99 Importing OpenStreetMap data with osm2pgsql These examples always include a NameField argument. This tells ogr2ogr which field to use as the KML title. When exporting multiple tables
…
tab_files. If the containing folder already exists, you must include the -dsco overwrite=YES switch, or ogr2ogr will fail. 4.4 Importing OpenStreetMap data with osm2pgsql OpenStreetMap (OSM) is an exciting project that makes spatial data available free of charge via mapping web services, similar to Google Maps and MS Virtual
…
be used for both commercial and non-commercial ventures. In section 4.4.1 we’ll discuss how you can carve out specific areas of OpenStreetMap data and download them in OSM XML format and then import the resulting file into your PostGIS-enabled database. You can import OSM data into
…
the table structures of your data as part of the load process. You can find out more about Imposm at http://imposm.org. Visit www.openstreetmap .org/export to download both utilities. Now that we’ve covered the common free options available for loading data, let’s test these tools. 4
…
.de/ or http://metro.teczno.com. To export a section from the OSM world map, follow these steps: 1 2 3 4 Go to www.openstreetmap.org/export and type in the lon/lat block you want, or draw a box on the map. Select a region encompassing the Arc de
…
be filled in the bounding box coordinates. Something like 2.28568,48.87957,2.30371,48.8676 will appear in the coordinate text boxes. Select OpenStreetMap XML Data as the export format. We called ours arctriump.osm. Licensed to tracy moore <nordick.an@gmail.com> www.it-ebooks.info Importing
…
OpenStreetMap data with osm2pgsql 101 You can also use one of the REST APIs provided by OpenStreetMap to achieve the same results. The following listing demonstrates carving out a similar section using a wget call
…
.87,2.30,48.88][@meta]" Listing 4.8 should be run as a single line. A wizard for using the REST XAPI services for OpenStreetMap can be found at http://harrywood.co.uk/maps/uixapi/xapi.html. Not only does the XAPI service allow you to carve out specific areas
…
command: CREATE EXTENSION hstore;. USING OSM2PGSQL ON WINDOWS If you’re using Windows, the best binary to use is the Cygwin one from http://wiki.openstreetmap.org/wiki/ Osm2pgsql#Binary. Just extract the zip file into a folder and it should work. At the time of this writing, the Cygwin version
…
and what goes into or is excluded from tags. If you’re missing a style file, you can download one from GitHub (https://github.com/openstreetmap/osm2pgsql/blob/master/default.style) and put it in the same folder as osm2pgsql or specify the full path to the style file. You denote
…
.an@gmail.com> www.it-ebooks.info 112 CHAPTER 4 Working with real data Pgsql2shp for Esri shapefiles Ogr2ogr for other vector files Osm2pgsql for OpenStreetMap Raster2pgsql for importing rasters Gdal_translate and gdalwarp for exporting raster data We advised you to take advantage of useful GDAL tools such as ogrinfo
…
of growth since the 1800s as the city annexed adjacent areas. We downloaded our Paris data from GeoCommons (http://geocommons.com) as well as OpenStreetMap (OSM; http://www.openstreetmap.org). We transformed all the data to SRID 32631 (WGS 84 UTM Zone 31). All of Paris fits into this UTM zone, and
…
are commonly used to display PostGIS data on the web. You’ll learn how to display PostGIS data with third-party mapping layers, such as OpenStreetMap, Google Maps, and Microsoft Bing, using the open source JavaScript mapping APIs Leaflet and OpenLayers. You’ll also learn the basics of setting up GeoServer
…
D. 16.4.4 Geocoding example PL/Python is a great tool for enabling geocoding within your database using a third- party service such as OpenStreetMap, Google Maps, MapQuest, Yahoo Maps, or Bing. You can find numerous Python packages at the CheeseShop to do just that. One fine example is the
…
, a package management system for Python. If you don’t have pip installed, you can install it using easy_install pip. Geopy has support for OpenStreetMap, Nominatim, Google Geocoding API (V3), Yahoo OSS, geocoder.us, Bing Maps API, and Esri ArcGIS. The package supports both Python 2 and Python 3, so
…
open source with generous licensing terms. OpenLayers is an older, more mature platform, whereas Leaflet is a newer framework recently adopted by projects such as OpenStreetMap (www.openstreetmap .org) and CartoDB (http://cartodb.com), to name just two. Leaflet is a bit lighter weight than OpenLayers, but it has a large crowd
…
, using the same interface for all. Both the OpenLayers 2 and 3 series have many of these built into the base package (in addition to OpenStreetMap tile layers) whereas Leaflet requires additional plug-ins. The only tile layer drivers built into the base Leaflet download are for
…
OpenStreetMap and WMS tile services. Layer classes that enable you to access OGC-compliant map servers WMS, WFS, and WFS-T, again using the same fairly
…
subsequent sections, we’ll add PostGIS layers and PostGIS queries that output JSON. OpenStreetMap tiles: publicly available tiles versus building your own For the base layers, we’ll use OpenStreetMap public tile servers for the exercises that follow. Because OpenStreetMap public tile servers run on donations, you may be cut off if you
…
make a lot of calls to them. The tile usage policy is detailed at http:// wiki.openstreetmap.org/wiki/Tile_usage_policy. If you have heavy traffic, you should build your own tiles, or use tiles from a commercial service, such as
…
MapQuest OSM tiles (http://wiki.openstreetmap.org/wiki/ Mapquest#MapQuest-hosted_map_tiles), CloudMade (http://cloudmade.com), or Mapbox (http://mapbox.com), which also provide storage and tools for building custom
…
particularly good at is allowing you to integrate various map sources from disparate services. Both versions have classes for accessing the Google, Bing (Virtual Earth), OpenStreetMap (OSM), MapQuest, and MapServer APIs, as well as standard OGC-compliant WMS and WFS services produced with tools like MapServer, GeoServer, Degree, and TinyOWS. OPENLAYERS
…
2.13 For a first example, we’ll demonstrate adding an OpenStreetMap base layer and a WMS layer we created. Note that you can easily swap out MapServer for GeoServer in these examples. Listing 17.5 Position
…
sets the map projection to EPSG 3587 (web mercator) D. The OpenLayers.Layer.OSM layer class is used to instantiate an OpenStreetMap layer and set the base map to OpenStreetMap E. The OpenLayers .Layer.WMS layer class is used to overlay layers from a PostGIS-driven WMS service F. The map.addControl
…
type="text/ javascript"> var l1 = new ol.layer.Tile({ source: new ol.source.OSM( Create {url:'//{a-c}.tile.osm.org/{z}/{x}/{y}.png'} OpenStreetMap ) layer }); C var l2 = new ol.layer.Tile({ source: new ol.source.TileWMS(({ Create PostGIS WMS layers url: 'Map.ashx', params: { 'LAYERS': 'openspace,major_roads
…
the choice of using a hosted version or downloading and using one on your server. You then add an OpenStreetMap tile layer C. The url property is optional and defaults to the OpenStreetMap tile server when not specified. You next add two layers from your WMS mapping server D. As part of
…
to the map, and G reproject to map units.This particular WMS layer call adds the layers as tiles of the same size as the OpenStreetMap tile. If you wanted single tiles to minimize on query calls to your server, you’d use ol.Layer.Image in conjunction with ol.source
…
) is missing the layer switcher that allows the user to turn on and off layers. The OpenLayers 3 version also has a slightly more prominent OpenStreetMap attribution and has a small link back to the OpenLayers 3 website. The code for OpenLayers 2.13 (listing 17.5) and OpenLayers 3 (listing
…
general setup: postgis_in_action_leaflet_1.htm <!doctype html> <html lang="en"><head> cdn.leafletjs.com Link to Leaflet API JS and CSS Create OpenStreetMap layer B C <link rel="stylesheet" href="http:// //leaflet-0.7/leaflet.css" /> <script src="//cdn.leafletjs.com/leaflet-0.7/leaflet.js"> </script> <style
…
> <div id="map"></div> <script type="text/ javascript"> var l1 = L.tileLayer( 'http://{s}.tile.osm.org/{z}/{x}/{y}.png', { attribution: 'Map data © OpenStreetMap contributors', maxZoom: 18 }); Load map and var map = L.map('map', { layers: [l1] }) center on location .setView([42.3581, -71.0636], 15); D var l2
…
= L.tileLayer.wms("Map.ashx", { layers: 'major_roads,openspace', format: 'image/png', transparent: true, version: '1.3.0', attribution: "MassGIS data" }); var baseMaps = { "OpenStreetMap": l1 } var overlayMaps = { "Open Space / Major Roads": l2 } L.control.layers(baseMaps, overlayMaps, { collapsed: false }).addTo(map); </script> </body> </html> Create PostGIS E WMS layers
…
OpenLayers 2 example. First, you reference the location of the Leaflet CSS and JavaScript API files B. Then you create the OpenStreetMap layer C. You load the map, initialized with the OpenStreetMap layer, mark it as an active layer, and center it on a location using setvView D. One difference between OpenLayers
…
feature-richness, faster speed, and streamlined API. We demonstrated that with these three APIs, not only can you query common web-mapping services such as OpenStreetMap tile services, but you can also overlay a WMS server powered by your PostGIS data. Although WMS and WFS servers are great for dishing out
…
even more have shown up. In chapter 4 we grab data from some of these places to demonstrate how to load up on spatial data: OpenStreetMap (www.openstreetmap.org)—This community-driven spatial data- base and map repository has contributions from people all over the world. You can think of OSM as
…
doing place name and other searches. The data is licensed under Creative Commons 3. Mapzen (https://mapzen.com/metro-extracts/)—This is another site offering OpenStreetMap packages. It provides data in OSM/PBF and Esri shapefile formats for popular cities. Its updates are done usually every week or so. You’ll
…
find touristy hotspots like Paris, Boston, and Florence, each available in a selfcontained package. Geofabrik (http://download.geofabrik.de)—This is another source of prepared OpenStreetMap data. This distribution is generally built nightly and comes in OSM XML, pbf, and shapefile (for very popular areas) formats. The breakdown is usually by
…
the hstore data type, which you can install with CREATE EXTENSION hstore. hstore is a key/value store type commonly used with GIS applications like OpenStreetMap. Examples of its use are shown in chapter 14. Not only can you create key/value structures from scratch, but you can convert any data
…
471 integrating disparate map sources 462 Licensed to tracy moore <nordick.an@gmail.com> www.it-ebooks.info INDEX 560 OpenLayers.Layer.OSM class 463 OpenStreetMap. See OSM operators 537 && 542 Oracle 121 Oracle Spatial 11, 116, 480 ORDER BY 249, 251, 495–497 OSGeo 7 OSGeo Live 446, 480 OSGeo4W
…
, 135–139, 481 imposm 100 Manifold 448 MapInfo 448 Mapzen 483 MySQL 116 ogr2ogr 92–99 ogrinfo 93 OpenGeo 89 OpenJUMP 114, 120–125, 481 OpenStreetMap 483 Oracle Spatial 116 osm2pgsql 99–103 pgAdmin 204, 491 pgAdmin III 84, 524 pg_basebackup 532 pg_dump 84, 532–533 pg_dumpall 532
by Regina O. Obe and Leo S. Hsu · 2 May 2015
ogr2ogr 4.3.1. Environment variables 4.3.2. Ogrinfo 4.3.3. Importing with ogr2ogr 4.3.4. Exporting with ogr2ogr 4.4. Importing OpenStreetMap data with osm2pgsql 4.4.1. Getting OSM data 4.4.2. Loading OSM-formatted data with osm2pgsql 4.5. Importing and exporting raster data
…
how to import and export both raster and vector data of various formats using the GDAL/OGR suite. You’ll also learn how to load OpenStreetMap data using the commonly available osm2pgsql command-line tool. Chapter 5 covers some of the more common, open source, desktop tools for viewing and querying
…
used in this chapter can be found at http://www.postgis.us/chapter_01_edition_2. 1.1. Thinking spatially Popular mapping sites such as OpenStreetMap, Google Maps, Bing Maps, MapQuest, and Yahoo have empowered people in many walks of life to answer the question “Where is something?” by displaying teardrop
…
covers PostGIS backup and restore utilities Utilities for downloading and uncompressing files Importing and exporting Esri shapefile data Importing and exporting vectors using ogr2ogr Importing OpenStreetMap data Importing and exporting raster data PostGIS raster output functions In this chapter, we’ll look at how you can load real-world data into
…
command-line switches specific to the OGR GPX driver, visit www.gdal.org/ogr/drv_gpx.html. OpenStreetMap is full of user-contributed GPX files uploaded by users worldwide. You can find these at www.openstreetmap.org/traces. We randomly selected one from Australia titled “A bike trip around Narangba” by going
…
to www.openstreetmap.org/traces/tag/australia and downloading the file www.openstreetmap.org/user/Ash%20Kyd/traces/468761. You can find out more about the data you’re about to load by using ogrinfo. Listing 4
…
tab_files. If the containing folder already exists, you must include the -dsco overwrite=YES switch, or ogr2ogr will fail. 4.4. Importing OpenStreetMap data with osm2pgsql OpenStreetMap (OSM) is an exciting project that makes spatial data available free of charge via mapping web services, similar to Google Maps and MS Virtual
…
be used for both commercial and non-commercial ventures. In section 4.4.1 we’ll discuss how you can carve out specific areas of OpenStreetMap data and download them in OSM XML format and then import the resulting file into your PostGIS-enabled database. You can import OSM data into
…
the table structures of your data as part of the load process. You can find out more about Imposm at http://imposm.org. Visit www.openstreetmap.org/export to download both utilities. Now that we’ve covered the common free options available for loading data, let’s test these tools. 4
…
http://download.geofabrik.de/ or http://metro.teczno.com. To export a section from the OSM world map, follow these steps: 1. Go to www.openstreetmap.org/export and type in the lon/lat block you want, or draw a box on the map. 2. Select a region encompassing the Arc
…
filled in the bounding box coordinates. Something like 2.28568,48.87957,2.30371,48.8676 will appear in the coordinate text boxes. 4. Select OpenStreetMap XML Data as the export format. We called ours arctriump.osm. You can also use one of the REST APIs provided by
…
OpenStreetMap to achieve the same results. The following listing demonstrates carving out a similar section using a wget call. Note that the bbox argument corresponds to
…
.87,2.30,48.88][@meta]" Listing 4.8 should be run as a single line. A wizard for using the REST XAPI services for OpenStreetMap can be found at http://harrywood.co.uk/maps/uixapi/xapi.html. Not only does the XAPI service allow you to carve out specific areas
…
command: CREATE EXTENSION hstore;. Using osm2pgsql on Windows If you’re using Windows, the best binary to use is the Cygwin one from http://wiki.openstreetmap.org/wiki/Osm2pgsql#Binary. Just extract the zip file into a folder and it should work. At the time of this writing, the Cygwin version
…
and what goes into or is excluded from tags. If you’re missing a style file, you can download one from GitHub (https://github.com/openstreetmap/osm2pgsql/blob/master/default.style) and put it in the same folder as osm2pgsql or specify the full path to the style file. You denote
…
of various tools for importing and exporting vector and raster data: Shp2pgsql Shp2pgsql-gui Pgsql2shp for Esri shapefiles Ogr2ogr for other vector files Osm2pgsql for OpenStreetMap Raster2pgsql for importing rasters Gdal_translate and gdalwarp for exporting raster data We advised you to take advantage of useful GDAL tools such as ogrinfo
…
as the city annexed adjacent areas. Figure 14.1. Paris arrondissements We downloaded our Paris data from GeoCommons (http://geocommons.com) as well as OpenStreetMap (OSM; http://www.openstreetmap.org). We transformed all the data to SRID 32631 (WGS 84 UTM Zone 31). All of Paris fits into this UTM zone, and
…
are commonly used to display PostGIS data on the web. You’ll learn how to display PostGIS data with third-party mapping layers, such as OpenStreetMap, Google Maps, and Microsoft Bing, using the open source JavaScript mapping APIs Leaflet and OpenLayers. You’ll also learn the basics of setting up GeoServer
…
considered . 16.4.4. Geocoding example PL/Python is a great tool for enabling geocoding within your database using a third-party service such as OpenStreetMap, Google Maps, MapQuest, Yahoo Maps, or Bing. You can find numerous Python packages at the CheeseShop to do just that. One fine example is the
…
, a package management system for Python. If you don’t have pip installed, you can install it using easy_install pip. Geopy has support for OpenStreetMap, Nominatim, Google Geocoding API (V3), Yahoo OSS, geocoder.us, Bing Maps API, and Esri ArcGIS. The package supports both Python 2 and Python 3, so
…
open source with generous licensing terms. OpenLayers is an older, more mature platform, whereas Leaflet is a newer framework recently adopted by projects such as OpenStreetMap (www.openstreetmap.org) and CartoDB (http://cartodb.com), to name just two. Leaflet is a bit lighter weight than OpenLayers, but it has a large crowd
…
, using the same interface for all. Both the OpenLayers 2 and 3 series have many of these built into the base package (in addition to OpenStreetMap tile layers) whereas Leaflet requires additional plug-ins. The only tile layer drivers built into the base Leaflet download are for
…
OpenStreetMap and WMS tile services. Layer classes that enable you to access OGC-compliant map servers WMS, WFS, and WFS-T, again using the same fairly
…
subsequent sections, we’ll add PostGIS layers and PostGIS queries that output JSON. OpenStreetMap tiles: publicly available tiles versus building your own For the base layers, we’ll use OpenStreetMap public tile servers for the exercises that follow. Because OpenStreetMap public tile servers run on donations, you may be cut off if you
…
make a lot of calls to them. The tile usage policy is detailed at http://wiki.openstreetmap.org/wiki/Tile_usage_policy. If you have heavy traffic, you should build your own tiles, or use tiles from a commercial service, such as
…
MapQuest OSM tiles (http://wiki.openstreetmap.org/wiki/Mapquest#MapQuest-hosted_map_tiles), CloudMade (http://cloudmade.com), or Mapbox (http://mapbox.com), which also provide storage and tools for building custom
…
particularly good at is allowing you to integrate various map sources from disparate services. Both versions have classes for accessing the Google, Bing (Virtual Earth), OpenStreetMap (OSM), MapQuest, and MapServer APIs, as well as standard OGC-compliant WMS and WFS services produced with tools like MapServer, GeoServer, Degree, and TinyOWS. OpenLayers
…
2.13 For a first example, we’ll demonstrate adding an OpenStreetMap base layer and a WMS layer we created. Note that you can easily swap out MapServer for GeoServer in these examples. Listing 17.5. OpenLayers
…
map, and sets the map projection to EPSG 3587 (web mercator) . The OpenLayers.Layer.OSM layer class is used to instantiate an OpenStreetMap layer and set the base map to OpenStreetMap . The OpenLayers .Layer.WMS layer class is used to overlay layers from a PostGIS-driven WMS service . The map.addControl> call
…
have the choice of using a hosted version or downloading and using one on your server. You then add an OpenStreetMap tile layer . The url property is optional and defaults to the OpenStreetMap tile server when not specified. You next add two layers from your WMS mapping server . As part of the
…
layers to the map, and reproject to map units.This particular WMS layer call adds the layers as tiles of the same size as the OpenStreetMap tile. If you wanted single tiles to minimize on query calls to your server, you’d use ol.Layer.Image in conjunction with ol.source
…
) is missing the layer switcher that allows the user to turn on and off layers. The OpenLayers 3 version also has a slightly more prominent OpenStreetMap attribution and has a small link back to the OpenLayers 3 website. The code for OpenLayers 2.13 (listing 17.5) and OpenLayers 3 (listing
…
the OpenLayers 2 example. First, you reference the location of the Leaflet CSS and JavaScript API files . Then you create the OpenStreetMap layer . You load the map, initialized with the OpenStreetMap layer, mark it as an active layer, and center it on a location using setvView . One difference between OpenLayers and Leaflet
…
feature-richness, faster speed, and streamlined API. We demonstrated that with these three APIs, not only can you query common web-mapping services such as OpenStreetMap tile services, but you can also overlay a WMS server powered by your PostGIS data. Although WMS and WFS servers are great for dishing out
…
more have shown up. In chapter 4 we grab data from some of these places to demonstrate how to load up on spatial data: OpenStreetMap (www.openstreetmap.org)—This community-driven spatial database and map repository has contributions from people all over the world. You can think of OSM as a free
…
doing place name and other searches. The data is licensed under Creative Commons 3. Mapzen (https://mapzen.com/metro-extracts/)—This is another site offering OpenStreetMap packages. It provides data in OSM/PBF and Esri shapefile formats for popular cities. Its updates are done usually every week or so. You’ll
…
touristy hotspots like Paris, Boston, and Florence, each available in a self-contained package. Geofabrik (http://download.geofabrik.de)—This is another source of prepared OpenStreetMap data. This distribution is generally built nightly and comes in OSM XML, pbf, and shapefile (for very popular areas) formats. The breakdown is usually by
…
the hstore data type, which you can install with CREATE EXTENSION hstore. hstore is a key/value store type commonly used with GIS applications like OpenStreetMap. Examples of its use are shown in chapter 14. Not only can you create key/value structures from scratch, but you can convert any data
…
formats raster formats vector formats web services formats unsupported data types OpenLayers, 2nd, 3rd and raster WMS integrating disparate map sources OpenLayers.Layer.OSM class OpenStreetMap. See OSM. operators && Oracle Oracle Spatial, 2nd, 3rd ORDER BY, 2nd, 3rd OSGeo OSGeo Live, 2nd OSGeo4W OSM, 2nd, 6th, 7th, 8th getting OSM data
by Sarah Williams · 14 Sep 2020
air quality translated into poli… 2.15 Screen shot of the Ushahidi website developed for the 2010 Haiti earthquak… 2.16 The interface for Humanitarian OpenStreetMap was site developed to record … 2.17 This satellite data shows what participants of the Hurricane Sandy project… 2.18 This map, created by the
…
Humanitarian OpenStreetMap team, shows locations … Chapter 3 3.1 Determining the spacing between latitude and longitude points is important … 3.2a and 3.2b The map in
…
. Crowdsourcing a Global Data Set A well-known example of VGI (or community mapping) is Open-StreetMap. By allowing participants anywhere to upload GPS traces, OpenStreetMap created and provides a worldwide basemap that is free for anyone to use. The basemap includes roads, parks, and major points of interests, and in
…
some locales it even includes building outlines. OpenStreetMap was developed in 2004 by Steve Coast, then a PhD student at University College London, in response to the control of basic map data in
…
to his platform using verified data from handheld GPS units. Since its inception, OpenStreetMap has had close to two million contributors.15 Coast's OpenStreetMap was meant to free data he believed should be accessible to the public. Before OpenStreetMap, if you wanted base data for anywhere in the world, you would have
…
roof, driving through your neighborhood. Steve Coast's frustration with getting his hands on affordable data evolved into a global phenomenon, and in 2006 the OpenStreetMap Foundation was started with the express mission of collecting and uploading openly available map data everywhere. Map nerds in cities across the world gathered at
…
unknown territories. Map parties often simply involved sitting around a table in front of computers, pizza boxes nearby, tracing roads from satellite imagery using an OpenStreetMap tool. Map parties created a place for map enthusiasts to socialize and share information on the latest mapping technologies, and resulted in a strong open
…
community. Attending map parties was a way to learn from peers while generating data under the ethos of open-source principles and practices. In 2007 OpenStreetMap held its first “State of the Map” conference, which has since become one of the main gatherings for the open-source map community.16 Recently
…
at this conference the Red Cross, USAID, and a number of other humanitarian organizations demonstrated techniques for building data for disaster relief using OpenStreetMap tools. For example, the Red Cross developed OpenMapKit, a tool that allows its staff to collect data in remote areas where limited internet and cell
…
networks make accessing and uploading data to OpenStreetMap's database difficult. OpenMapKit solves this problem by making it possible to save the data on surveyors’ mobile phones until, once in reach of cell
…
networks, the data can be easily uploaded. The open-source map community that OpenStreetMap developed has helped drive innovation, particularly in applications—such as those designed to speed disaster response—where crowd participation is essential.17
…
OpenStreetMap is probably the most successful participatory-mapping project; it is known for its scope and relative accuracy and, importantly, has filled a gap in government
…
information. Once logged in to OpenStreetMap, anyone can find functional basemaps of countless places around the world, an impressive feat given that most of this data is gathered by the public
…
: for many cities the only existing data set on its urban infrastructure is found on OpenStreetMap. OpenStreetMap illustrates how building mapping data brings together many people in common cause to put information that matters to each of them into public hands; this
…
open creation and exchange of information are the first collective steps to changing the status quo and using data to change society. OpenStreetMap is a great example of how Data Action sets out to create missing data needed for policy. Now I will take you across the world
…
created from working together. Data Collection during Disasters: Governments and People Depend on It When disaster strikes, collecting data is essential for humanitarian response. “Humanitarian OpenStreetMap” is an initiative that, in the event of a crisis or disaster, offers free, up-to-date maps locating where problems are occurring and where
…
relief is available or not. Humanitarian OpenStreetMap was employed in the wake of the Ebola outbreak in West Africa in 2013 and 2014 (figure 2.15), enabling activists to map various responses
…
and buildings) and prepared maps for download and use offline for individuals providing relief on the ground. Many such examples can be found using the OpenStreetMap platform.55 2.15 Screen shot of the Ushahidi website developed for the 2010 Haiti earthquake relief efforts. The map shows the number of reports
…
in 2012, resulting in massive flooding of streets, tunnels, homes, and widespread power outages in- and outside its large population centers, Schuyler Erle, from Humanitarian OpenStreetMap, developed a website tool that would allow volunteers from anywhere to view satellite imagery to evaluate damage.60 Enlisting an established volunteer group from the
…
was seen in previous Ushahidi projects. While the hurricane was happening and during subsequent relief efforts, the Federal Emergency Management Agency (FEMA) leaned on the OpenStreetMap community to help review aerial imagery of the damage to determine the hardest hit locations. Over four thousand online volunteers contributed to this effort, categorizing
…
of the combination of crowdsourcing and expertise determined a map of areas to target for recovery (figure 2.18). 2.16 The interface for Humanitarian OpenStreetMap was site developed to record damage after Hurricane Sandy in New York. Source: MapMill, Image of Map Mill App Courtesy of PublicLab.org, n.d
…
identify the level of damage in an area. Source: Humanitarian OpenStreet Map Team, https://www.hotosm.org/. 2.18 This map, created by the Humanitarian OpenStreetMap team, shows locations where people used satellite data to map damage after Hurricane Sandy, as well as the extent of the damage (green = good, yellow
…
, for example, gathered people interested in radiation, and a support network was grown through teaching participants how to make the sensors that would measure radiation. OpenStreetMap generated a community of open-source mappers dedicated to making data free and devoted to crowdsourcing to perform that work. Community building through data collection
…
so that the designers of some environmental sensing projects ask participants to assemble the sensors themselves—as the project that mapped radiation in Japan illustrated. OpenStreetMap educated a generation of novice mappers about how to develop data with GPS units or trace data from satellite images. During the Safecast project measuring
…
literacy, builds communities around shared ideas, and creates media buzz around topics by placing them on the policy agenda. Whether it be collecting data for OpenStreetMap or building air quality sensors; creating the measurement tools or collecting data in the field, interpreting and presenting the results build skills that are not
…
://gis-txdot.opendata.arcgis.com/datasets/texas-us-house-districts?geometry=-334.512%2C-52.268%2C334.512%2C52.268; Department of Transportation Open Data, OpenStreetMap contributors, “Planet Dump,” https://planet.osm.org,” 2017; “Federal Court Rules Three Texas Congressional Districts Illegally Drawn,” NPR, accessed January 30, 2019, https://www.npr
…
69, no. 4 (2007): 211–221. 15 Pascal Neis and Alexander Zipf, “Analyzing the Contributor Activity of a Volunteered Geographic Information Project—The Case of OpenStreetMap,” ISPRS International Journal of Geo-Information 1, no. 2 (September 2012): 146–165, https://doi.org/10.3390/ijgi1020146. 16 The first Free and Open
…
popular as well. 17 Open-source software by definition is software that one can freely access and contribute source code. The community that grew around OpenStreetMap and FOSS4G made being open-source cool in the world of computer cartography. For instance, when I attended the 2018 FOSS4G conference in Boston I
…
Interview with Iyad Kheirbek of [New York City Department of Mental Health and Hygiene], January 2015. 55 “2014 West Africa Ebola Response—OpenStreetMap Wiki,” accessed January 25, 2019, https://wiki.openstreetmap.org/wiki/2014_West_Africa_Ebola_Response. 56 “Ushahidi,” accessed January 25, 2019, https://www.ushahidi.com/. 57 Ida Norheim-Hagtun
…
://www.parliament.uk/about/living-heritage/transformingsociety/livinglearning/coll-9-health1/health-02/1842-sanitary-report-leeds/. “2014 West Africa Ebola Response—OpenStreetMap Wiki.” Accessed January 25, 2019. https://wiki.openstreetmap.org/wiki/2014_West_Africa_Ebola_Response. Aiello Luca Maria, Schifanella Rossano, Quercia Daniele, and Aletta Francesco. “Chatty Maps: Constructing Sound
…
-Evaluation-of-the-Ushahidi-Haiti-Project.pdf. Neis, Pascal, and Alexander Zipf. “Analyzing the Contributor Activity of a Volunteered Geographic Information Project—The Case of OpenStreetMap.” ISPRS International Journal of Geo-Information 1, no. 2 (September 2012): 146–165. https://doi.org/10.3390/ijgi1020146. “New Memo Reveals Census Question Was
…
Comparative Epidemiological Study at Three Geographic Scales.” PLOS Computational Biology 9, no. 10 (October 17, 2013): e1003256. https://doi.org/10.1371/journal.pcbi.1003256. OpenStreetMap contributors. “Planet Dump Retrieved from Https://Planet.Osm.Org,” 2017. Organisation for Economic Cooperation and Development (OECD). “OECD Guidelines on the Protection of Privacy and
…
1949, 36 Housing Provident Fund (China) 97 Howe, Jeff 73 Hull House, Chicago 22 Hull House Maps and Papers (Kelley and Adams) 22, 23 Humanitarian OpenStreetMap 80, 82, 83–84 Humanitarian Tracker 130 Huridocs 199 Hurricane Sandy, mapping damage after 82–84 IBM 5, 47–48 Image of the City, The
…
–174 On the Mode of Communication of Cholera (Snow) 12 Open data 127, 140, 144, 148, 152, 177, 192 OpenMapKit 55 Open-source data 48 OpenStreetMap 54–56, 80, 83, 85–86, 146, 216 Open Street Map Foundation 55 “State of the Map” conference 55 Open Transport Partnership (OTP) 204 Open
by Ian F. Darwin · 9 Apr 2012 · 960pp · 140,978 words
on how mobile applications work. Chapter 16, Location and Map Applications, discusses how to find your location, how to get map data from Google and OpenStreetMap, and how applications can be location-aware in ways that are just now being explored. Chapter 17, Accelerometer, talks about the sensors built into most
…
it to your project. Discussion As an example, you might need to use AndroidPlot, a library for plotting charts and graphs in your application, or OpenStreetMap, a wiki project that creates and provides free geographic data and mapping. If so, your application needs to reference these libraries. You can do this
…
conference has Birds of a Feather (BOF) gatherings; you might even want a “Suggest a new BOF” activity. A local area map. This could be OpenStreetMap or Google Maps, or maybe something more detailed than the standard map functions. Add folklore, points of interest, navigation shortcuts, and other features. Limit it
…
is well on its way to becoming truly ubiquitous in devices. The organizations that provide map data have not been unaware of this trend. Indeed, OpenStreetMap exists and provides its “free, editable map of the world” in part because of the rise of consumer GPS devices—most of its map data
…
very driven by the availability of GPS receivers in Android devices. This chapter thus concentrates on the ins and outs of using Google Maps and OpenStreetMap in Android devices. 16.2. Getting Location Information Ian Darwin Problem You just want to know where you are. Solution Use Android’s built-in
…
cell towers maximally spaced out. Discussion Example 16-1 shows the setup portion of the code. This is part of JPStrack, a mapping application for OpenStreetMap. For mapping purposes the GPS is a must, so I only ask for the FINE resolution. Example 16-1. Getting location data // Part of jpstrack
…
make the example shorter and hopefully clearer. To test that it works, try, for example, adding a log statement. 16.16. Using OpenStreetMap Rachee Singh Problem You want to use OpenStreetMap (OSM) map data in your application in place of Google Maps. Solution Use the third-party osmdroid library to interact with
…
OpenStreetMap data. Discussion OpenStreetMap is a free, editable map of the world. The OpenStreetMapView is an (almost) full/free replacement for Android’s MapView class. See the osmdroid Google
…
JARs in the Android project, namely osmdroid-android-x.xx.jar and slf4j-android-1.x.x.jar. osmdroid is a set of tools for OpenStreetMap data; SLF4J is (yet another) simplified logging facade. You can download them from the following links: osmdroid slf4j See Recipe 1.10 to learn how
…
from https://docs.google.com/leaf?id=0B_rESQKgad5LY2U5MzVlMGYtOWY1Ni00NThhLTg0MmItMzI2MDgyYzRjNzI5&hl=en_US. 16.17. Creating Overlays in OpenStreetMap Maps Rachee Singh Problem You want to display graphics such as map markers on your OpenStreetMap view. Most map mechanisms provide an overlay feature that lets you draw these graphics in front of the
…
-4. Solution Instantiate an Overlay class and add the overlay to the point you wish to demarcate on the map. Discussion To get started with OpenStreetMap, see Recipe 16.16. To add overlays, first we need to get a handle on the MapView defined in the XML layout of the activity
…
the source code for this example from https://docs.google.com/leaf?id=0B_rESQKgad5LMThlYmI3ZjctMGU4ZS00ZDhjLWJjMGMtYWYwMTBmNzcxNzJl&hl=en_US. 16.18. Using a Scale on an OpenStreetMap Map Rachee Singh Problem You need to show a map scale on your OSM map to indicate the level of zoom on the MapView. Solution
…
in Figure 16-14. Figure 16-14. OSM map with scale 16.19. Handling Touch Events on an OpenStreetMap Overlay Rachee Singh Problem You need to perform actions when the overlay on an OpenStreetMap map is tapped. Solution Override the methods of theOnItemGestureListener method for single-tap events and long-press events
…
download the source code for this example from https://docs.google.com/leaf?id=0B_rESQKgad5LMzZmMjJkZjYtN2M1OC00MGEzLWI2ZTQtNTUxMzFhZjEzMGIx&hl=en_US. 16.20. Getting Location Updates with OpenStreetMap Maps Rachee Singh Problem You need to react to the changes in the device’s location and move the map to display the changed location
…
location to Google Maps, Problem building maps in, Problem, See Also changing modes of MapView, Problem creating overlays for MapView, Problem, Discussion creating overlays in OpenStreetMap maps, Problem, Source Download URL drawing a location marker on MapView, Problem, Source Download URL drawing multiple location markers on MapView, Problem, Source Download URL
…
, Binary Download URL geocoding in, Problem getting location information, Problem, Source Download URL getting location updates with OpenStreetMap maps, Problem, Source Download URL handling long-press in MapView, Problem, Discussion handling touch events on OpenStreetMap overlays, Problem, Source Download URL implementing location search on Google Maps, Problem mocking GPS coordinates on devices
…
, Problem, Source Download URL placing MapView inside TabView, Problem, Source Download URL reverse geocoding in, Problem using Google Maps in, Problem, Source Download URL using OpenStreetMap, Problem, Binary Download URL
…
using scales on OpenStreetMap maps, Problem Location class, Discussion LocationListener interface, Discussion, Discussion, Solution, Discussion, Discussion accessing GPS information in apps, Solution getting location information
…
URL, Problem, Source Download URL, Problem, Source Download URL creating for MapView, Problem, Discussion creating in OpenStreetMap maps, Problem, Source Download URL drawing overlay icons without Drawable, Problem, Binary Download URL handling touch events on OpenStreetMap maps, Problem, Source Download URL MapActivity class, Solution, Creating a new Android project that targets “Google
…
, Source Download URL, Discussion adding controls to spinning cubes, Problem, Source Download URL drawing spinning cubes, Problem, Discussion gaming and, Discussion OpenIntents File Manager, Discussion OpenStreetMap maps, Discussion, Problem, Binary Download URL, Problem, Source Download URL, Problem, Problem, Source Download URL, Problem, Source Download URL creating overlays in, Problem, Source Download
…
events on overlays, Problem, Source Download URL JPStrack mapping application, Discussion using in location and map applications, Problem, Binary Download URL using scales on, Problem OpenStreetMap wiki project, Discussion OpenTypeFace (OTF) fonts, Discussion optimization of code, Problem, See Also options menus, Device features org.panel package, Solution orientation, Problem, Source Download
by Hiawatha Bray · 31 Mar 2014 · 316pp · 90,165 words
area began to come together. Coast did more than pedal his bike; he also peddled his idea to anybody who would listen. He called it OpenStreetMap, a campaign to create a new kind of map, drawn by volunteers and available to everybody at no charge. Furthermore, OSM would not stop at
…
anyone to use, download, or copy. Even a for-profit business could reproduce the maps without paying royalties. Users would merely be required to credit OpenStreetMap as the source. And if they made additions or improvements, they would be obligated to share the new data with other OSM users. Gradually, an
…
North America and South Africa. Yet most of the world remained a blank.17 Still, the effort continued, gaining speed as more volunteers came aboard. OpenStreetMap’s success in Britain pushed its government into rethinking its map copyright policy. In late 2007 the Ordnance Survey offered a new application programming interface
…
volunteers. And the mapping campaign attracted a hoard of new recruits. By early 2013 1 million people worldwide had signed up as registered users of OpenStreetMap; of that number perhaps 300,000 contributed fresh data to the maps.20 In 2007 an executive at AOL’s MapQuest said he was impressed
…
maps are published under a broad copyright. Any individual or business can copy, modify, or reuse OpenStreetMap’s products to their heart’s content. They are merely required to post a notice giving credit to OpenStreetMap and its contributors. Few seem to mind Google’s profiteering, as long as it results in
…
better maps. The success of OpenStreetMap has provided healthy competition, as well as fodder for good-natured disputation. Which model
…
produces better maps—Google’s lavishly funded commercial operation or OpenStreetMap’s legions of untrained part-time amateurs? With its ample finances and direct access to the latest, sharpest satellite imagery, Google’s got an overall
…
edge in quality that OpenStreetMap will not soon match. Yet for one of its most valuable features, Google Maps relies on the kindness of strangers. When you first activate a
…
former Apple Inc. executive Robert Borchers provided crucial information on Apple’s decision to embrace Skyhook’s remarkable innovation. Steve Coast, the founder of the OpenStreetMap project; Joshua Stanton of the One Free Korea blog; Curtis Melvin, editor of North Korean Economy Watch; and Erik Hersman, the co-founder of Ushahidi
…
. 19. Jonathan Brown, “No. 1 in the Charts Since 1747; Now Its Maps Are Available on the Web,” Independent, April 2, 2010. 20. Carl Franzen, “OpenStreetMap Reaches 1 Million Users, Will Rival Google Maps in 2 Years,” Talking Points Memo, January 12, 2013, http://idealab.talkingpointsmemo.com/2013/01
…
/openstreetmap-reaches-1-million-users-will-rival-google-maps-in-2-years.php. 21. Rocha, “A Map-Making Democracy.” 22. “MapQuest to Launch Open-Source Mapping
…
–190 crisis, 180–184 georeferencing and, 172–173, 174–175 Google and, 169–171, 175–176, 178–180, 187–192 indoor navigation and, 206–208 OpenStreetMap (OSM) and, 186–190 peacekeeping and, 181–183 thematic maps and, 172–175 traffic and, 191–192 iPhones, 111, 117–118, 122, 134–136, 188
…
–155 Obama administration, 214 Ocker, William, 59–60 Ohazama, Chikai, 177 Okolloh, Ory, 182 OmniTracs, 103 One Free Korea, 170 O’Neill, Gerald, 102–103 OpenStreetMap (OSM), 186–190 Ørsted, Hans Christian, 21 Page, Larry, 142 Parkinson, Bradford, 99–100, 105, 118, 119 Parsons, Ed, 189 Patton, George, 45 Pearl Harbor
by Adam Duvander · 14 Aug 2010 · 415pp · 95,261 words
use all of them via an open source library called Mapstraction. Write your code once and watch it work in Google Maps, Bing, MapQuest, Yahoo!, OpenStreetMap, and more. In addition to teaching you how to work with maps from these providers, I'll show you many other common geographic projects. You
…
used to describe a point on the earth. Let's look at how that is done. * * * [1] CloudMade, FreeEarth, Map24, MapQuest, Microsoft, MultiMap, OpenLayers, OpenSpace, OpenStreetMap, and ViaMichelin Describe a Point on the Earth Geographers have a difficult job, taking a round earth and giving it meaning on a flat map
…
with their APIs, most hold the underlying data like a poker player does his or her cards. One that makes its data widely available is OpenStreetMap, the free editable map of the world. Of course, distributing the details of every street on earth means the file is pretty big, so region
…
] { line-width: 4; line-color: ❹#ff0; } #lines[highway=residential], #lines[highway=unclassified], #lines[highway=service] { line-width: 2; line-color: ❺#00f; } Cascadenik style sheets use OpenStreetMap tags inside the square brackets to determine which elements you want to style. In all these examples, we're styling highways, a generic term for
…
include the coordinates, and you have now geo-tagged the photo. You can install many programs on your computer that will do this for you. OpenStreetMap uses GPX to map the world. It sends volunteers to walk the streets with GPS units. Then, the track points, along with other information like
…
fees. In many countries, such as the United States, much of this street data is already available. OpenStreetMap volunteers, in these cases, are checking accuracy and filling in what's missing. In some places, OpenStreetMap is all there is, so the GPX tracks become incredibly important to the project. Display GPX Tracks
…
will contain the map. api (string) Mapstraction's name for the API to use. Options include: 'cloudmade', 'geocommons', 'google', 'googlev3', 'map24', 'mapquest', 'microsoft', 'multimap', 'openlayers', 'openstreetmap', and 'yahoo'. debug (boolean) An optional parameter to turn on debugging support. If this parameter is true, Mapstraction will use alert panels for unsupported actions
…
. map_type (boolean) true if the tile layer is a selectable map type in the layers palette. Defaults to false. Example mxnobj.addTileLayer('http://tile.openstreetmap.org/{Z}/{X}/{Y}.png', 1.0, "OSM", 1, 19, true); Function applyOptions This function applies the current options settings. mxnobj.applyOptions() Function autoCenterAndZoom This
…
api (string) Mapstraction's name for the API to use with the new map. Options include: 'cloudmade', 'geocommons', 'google', 'googlev3', 'map24', 'mapquest', 'microsoft', 'multimap', 'openlayers', 'openstreetmap', and 'yahoo'. element (string, DOM element) The id of the HTML element, or the element itself, to contain the new map. Example mxnobj.swap('yahoo
…
invisible (and vice versa). mxnobj.toggleTileLayer(tile_url) Parameter tile_url (string) The exact URL used in the addTileLayer function. Example mxnobj.toggleTileLayer('http://tile.openstreetmap.org/{Z}/{X}/{Y}.png'); Function visibleCenterAndZoom This function sets the center and zoom of the map to the smallest bounding box containing all visible
by Rob Kitchin · 25 Aug 2014
forms of data, spatial data has grown enormously in recent years, from real-time remote sensing and radar imagery, to large crowdsourced projects such as OpenStreetMap, to digital spatial trails created by GPS receivers being embedded in devices. The first two seek to be spatially exhaustive, capturing the terrain of the
…
and input data and labour either to avail themselves of a service (such as social media) or to take part in a collective project (such OpenStreetMap or Wikipedia). Such labour has been called prosumption as the modes of production and consumption have been partially collapsed onto one another, with individuals assuming
…
democratised pooling of ideas, tools, and materials. There are three main types of crowdsourcing operating at present: those that collectively produce a solution (e.g., OpenStreetMap, Wikipedia); those that use crowd to evaluate multiple solutions/products (e.g., Amazon, Tripadvisor reviews); and those that seek single or multiple solutions from a
…
big data will tolerate inexactitude, when in fact many big data applications do require precision, or at least data with calculable error parameters. For example, OpenStreetMap aims to be as detailed and accurate as professional map products, and needs to be for its users to trust it as a source of
…
authority and usability. Carr contends that ‘if Wikipedia weren’t free, it is unlikely its readers would be so forgiving of its failings’ (2007: 4). OpenStreetMap can suffer from a lack of coverage in some areas where there are few volunteers. There are also concerns as to the sustainability of volunteered
…
on a small core group to keep the project going and provide the bulk of the labour. In contrast, others have noted with respect to OpenStreetMap, that the quality of data produced matches that of professional companies, and that the coverage is diverse (Haklay 2010; Mooney et al. 2011). What this
…
-or-a-service-andwhy-does-it-matter/ (last accessed 6 February 2013). Haklay, M. (2010) ‘How good is volunteered geographical information? A comparative study of OpenStreetMap and Ordnance Survey datasets’, Environment and Planning B, 37: 682–703. Hales, D. (2013) ‘Lies, damned lies and big data’, Aid on the Edge of
…
Definition 50 OpenGovData 50, 51 Open Knowledge Foundation 49, 52, 55, 58, 189, 190 open science 48, 72, 98 source 48, 56, 60, 87, 96 OpenStreetMap 73, 93, 96, 154, 155–156 optimisation 101, 104, 110–112, 120, 121, 122, 123 Ordnance Survey 54, 57 Organization for Economic Cooperation and Development
by Ken Jennings · 19 Sep 2011 · 367pp · 99,765 words
); map on page 118 © Dragonsteel Entertainment, LLC; photograph on page 118 © Mayang Murni Adnin; photograph on page 171 by Jim Payne; images on page 230 © OpenStreetMap and contributors, CC-BY-SA For my parents. And for the kid with the map. CONTENTS Chapter 1: ECCENTRICITY Chapter 2: BEARING Chapter 3: FAULT
…
access to the usually proprietary data in its collaborative Map Maker tool, but the real hero of the hour was the OpenStreetMap project, an open-source alternative to Map Maker. OpenStreetMap is essentially the Wikipedia of maps: anyone can use it, anyone can change it in real time, and its data is
…
free and uncopyrighted in perpetuity. When the earthquake struck, late Tuesday afternoon, Haiti was a white void in OpenStreetMap. Within hours, thousands of amateur mappers were collaborating all over the world, adding roads and buildings from aerial imagery to the database, until every back
…
Jihad Abdalla. “You made my life much easier, since I’m a one-man show here . . . million thanks.” Port-au-Prince, as it looked in OpenStreetMap when the earthquake hit and the way it looked a week later After reading about the lives saved in Haiti by
…
OpenStreetMap, I used it to look at my own neighborhood and found that the cul-de-sac we live on was also missing from the map.
…
, 104, 234 Notes from a Small Island (Bryson), 174 Obama, Barack, 37, 218 obstetrics, maps and, 245 Oetter, Doug, 48, 133 “Old Maltese,” 179, 181 OpenStreetMap, 228–30 Ordnance Survey, 176 Ortelius, Abraham, 68 Page, Larry, 227 paintball, invented by Lewis Carroll, 213 Palin, Michael, 90–91 Palin, Sarah, 37, 151
by Parag Khanna · 18 Apr 2016 · 497pp · 144,283 words
joined the fray, adding more satellite imagery and street views. Today every individual can become a digital cartographer: Maps have gone from Britannica to Wiki. OpenStreetMap, for example, crowdsources street views from millions of members who can also tag and label any structure, infusing local knowledge and essential insight for everything
…
visualizations of global cyber war based on data collected every second from Internet and Dark Web sources, plotting origins of attackers and target attacks. OPENSTREETMAP https://www.openstreetmap.org/ OpenStreetMap is a crowdsourced mapping platform maintained by a user community that constantly updates data on transportation networks, store locations, and myriad other content
…
.15 Singapore Expands its Economic Geography. Created by University of Wisconsin–Madison Cartography Laboratory. Global Administrative Areas; Indosight.com; Iskandar Malaysia; Natural Earth; Noun Project; OpenStreetMap. pai1.16 Eurasia’s New Silk Roads. Map created by Jeff Blossom. Natural Earth; Theodora; Wikipedia; World Resources Institute. pai1.17 Pax Arabia. Map created
…
Europe Over a Barrel? Created by University of Wisconsin–Madison Cartography Laboratory. Edison; European Energy Supply Security; Gazprom; International Energy Institute; Natural Earth; Norsk Oljemuseum; OpenStreetMap; Petroleum Economist; U.S. Energy Information Administration; White Stream. pai1.31 The New Arctic Geography. Map created by Jeff Blossom. Arctic Council; Durham University; Grenatec
…
, Many Systems. Created by University of Wisconsin–Madison Cartography Laboratory. Government of the Hong Kong Special Administrative Region; Global Administrative Areas; Natural Earth; Noun Project; OpenStreetMap; timeout.com. pai1.34 Global Data Flows Expanding and Accelerating. Created by TeleGeography and www.submarinecablemap.com. pai1.35 Global Migration: Origins and Destinations. Created
by Dariusz Jemielniak and Aleksandra Przegalinska · 18 Feb 2020 · 187pp · 50,083 words
by Pete Warden · 15 Feb 2011 · 39pp · 4,665 words
by Anthony M. Townsend · 29 Sep 2013 · 464pp · 127,283 words
by Rob Kitchin,Tracey P. Lauriault,Gavin McArdle · 2 Aug 2017
by Tim Berners-Lee · 8 Sep 2025 · 347pp · 100,038 words
by Steve Melia · 351pp · 91,133 words
by Richard Dobbs and James Manyika · 12 May 2015 · 389pp · 87,758 words
by Trey Grainger and Timothy Potter · 14 Sep 2014 · 1,085pp · 219,144 words
by Lonely Planet · 14 May 2024 · 232pp · 61,272 words
by Rough Guides · 1 Jan 2019 · 1,909pp · 531,728 words
by Lonely Planet · 476pp · 132,840 words
by Anthony M. Townsend · 15 Jun 2020 · 362pp · 97,288 words
by Jonathan Gray, Lucy Chambers and Liliana Bounegru · 9 May 2012
by David Weinberger · 14 Jul 2011 · 369pp · 80,355 words
by Alex Howard · 21 Feb 2012 · 25pp · 5,789 words
by Toby Segaran and Jeff Hammerbacher · 1 Jul 2009
by Stuart Russell · 7 Oct 2019 · 416pp · 112,268 words
by Alain Bertaud · 9 Nov 2018 · 769pp · 169,096 words
by Lonely Planet
by Dk Eyewitness · 22 Dec 2022 · 157pp · 39,207 words
by Lonely Planet · 394pp · 104,952 words
by Orly Lobel · 17 Oct 2022 · 370pp · 112,809 words
by Lonely Planet · 233pp · 61,033 words
by Tim. Clancy · 15 Mar 2022 · 716pp · 209,067 words
by Robin Chase · 14 May 2015 · 330pp · 91,805 words
by Mark Pendergrast · 5 May 2017 · 425pp · 117,334 words
by Guy Standing · 13 Jul 2016 · 443pp · 98,113 words
by Tom Slee · 18 Nov 2015 · 265pp · 69,310 words
by Tom White · 29 May 2009 · 933pp · 205,691 words
by Tim Marshall · 8 Mar 2018 · 256pp · 75,139 words
by Leslie Sikos · 10 Jul 2015
by Leo Hollis · 31 Mar 2013 · 385pp · 118,314 words
by Jono Bacon · 1 Aug 2009 · 394pp · 110,352 words
by Rufus Pollock · 29 May 2018 · 105pp · 34,444 words
by Trebor Scholz and Nathan Schneider · 14 Aug 2017 · 237pp · 67,154 words
by Ted Books · 20 Feb 2013 · 83pp · 23,805 words
by Matthew Ball · 18 Jul 2022 · 412pp · 116,685 words
by Amy B. Zegart · 6 Nov 2021
by Guy Shrubsole · 1 May 2019 · 505pp · 133,661 words
by Daron Acemoglu and James A. Robinson · 23 Sep 2019 · 809pp · 237,921 words
by Cory Doctorow · 6 Oct 2025 · 313pp · 94,415 words