Project OpenStreetMap from the view ofGeoinformatics
Author: Daniel BartaSupervisor: Jan Stankovic
Parts from Master‘s ThesisVSB-TUO: HGF - Institute of Geoinformatics
18. 9. 2008
Open society
freedom of religion (1609,1781,1848)freedom of assembly (1918)freedom of speech (1918)politics freedom...
open and freedom society
free society needs (some) free information, data andknowledge
Ideas of the Free Software Foundation (FSF)
Free geo-data’s are like free software
geo-data’s have different quality of freedomquality of freedom is set in level from 0 to 3 (analogy withFSF)focused characteristics:
freedom and opennespresence/quality of dataset/coverage/...price
Level of freedom
Freedom level 0
Freedom for viewing geo-data for any useweb mapservers (commercial: www.mapy.cz, Czech state:geoportal.cenia.cz)WMS servers (Czech state: WMS Cenia)zero fee (but only for personal use!)
Level of freedom
Freedom level 1
Freedom for working with source of datasets and adaptingit to your needs
Current license to commercial datasets (CUZK, Arcdata,T-Mapy, . . . )Example of price list from CUZK(Czech Office forSurveying), year 2007
Dataset’s Price of CzechiaBasic dat. of topog. (Zabaged-polohopis) 148.000 EURBasic dat. of heigh. (Zabaged-vyskopis) 40.000 EUR
Aerial maps (0,5meter/pixel) 96.000 EUR
Level of freedom
Freedom level 2
Freedom for free redistribution of copiesvector: NIMA (VMap0, VMap1), CENSUS (Tiger)raster: NASA (DEM, Landsat 7)world landuse - scale to 1:1.000.000only interested state USA (USA, MEXIKO, parts USSR)Czechia database of buildings UIR-ADR (MPSV, Ministry oflabor)license ∼ public domain
Level of freedom
Freedom level 3
Freedom for improve the data, and releasing yourimprovements to the public, so that the whole communitybenefits.
What platform?How to share?Who will do it?License?
Free geodata
Downwards: state organisation (taxes)like in USA (public domain)
Between: company (philanthrophy)Upwards: individual people (volunteer)
required terms for volunteers:
freedom of movement (e.g. problem in China!)free time (after work, school)lowcost hardware (accessible for many social levels)access to services (free GPS, access to Internet)
OpenStreetMap
It’s really first?
many (typically for GarminGPS) local free maps (one manshow)many free patch for closed maps navigationmany regional or local free mapsmany purposed or outdoor, maps (Wikipedia...)many geodata as ”all in one” package like FreeGeodataCZ
OpenStreetMap (OSM)
But OSM is the first project with:
worldwide prospectexpectation of future easy user interface (nongeoinformatic, like Wikipedia interface)open license
for geodata: Creative Common, Business Yes, Share Alike2.0 (CC-BY-SA 2.0) - ”copy, edit or buy but always sharesource of data”for support software: GNU GPL
vector geographic data (many different end devices)
OpenStreetMap
Beginnig of OSM project
community project, http://www.openstreetmap.org/specially developped methodics and software forharvesting, saving and use of geodatastarted in 2004 in Englandfrom spring 2006 adapted for global worldfrom autumn 2006 project for Czechiaregistered users (8/2008): 60.000active usets per day/week/month (8/2008):1.000/3.500/7.000
Source data for Czechia OSM
tracklog from GPS receiver (user, company)aerial orthophoto: from mapserver UHUL-Forestmanagement institute, author CUZK-Czech survey office(panchromatic, 1998-2001), resolution: 2msatellite orthophoto: NASA Landsat 7 (multispectral, 2000),resolution 30msatellite orthophoto: Yahoo (color, satellite Ikonos, 2002,only Prague and surroundings), resolution: 2mother geodata (World): NIMA-Vmap0, USCB-TIGER,CIA-World database IIother geodata (Czechia):
base of state highway (RSD CR, Road and MotorwayDirectorat)database of buildings: UIR-ADR (MPSV, Ministry of labor)
Frequently inserted elements into OSM
traffic ways (highway(street), railway, waterway, footpath,bicycle path, ...)Points of interest (POI), civic amenitiesforest and water coverage, buildings
Geodata’s structure
Geodetic datum
Horizontal reference:Geographic reference system: WGS-84 (latitude, longitude)
Vertical reference:irelevant for this projectin 5 levels arranged according to attributesfor rendering of 3D maps or contour line uses SRTM orGTOPO
Time reference:date/time as automatic timestampreference UTC (Coordinated Universal Time)
Geodata’s structure
Data model
node (lat and lon coordinates)way (ordered nodes)area (closed way)
tag (attribute parts)relation (grouping, tag for group, and role for geo-element)
Dimension of elements
dimension of element (rozměry geoprvku)0D 1D 2D 2,5D 3D
0D
1D
2D node way area
2,5D
3D
dim
ensi
on o
f spa
ce
(roz
měr
ypr
osto
ru)
Geodata’s structure
XML scheme (without relation)
<?xml?><osm version="0.5"><node id=* lat=* lon=* visible=*
timestamp=*><tag k=* v=*/>
</node><way id=*><nd ref=* /><tag k=* v=*/>
</way></osm>
Software to insert/edit/render/export data
Insert/edit/view
thin client (web Flash, web Java)fat client (desktop Java JOSM)batch over HTTP API v0.5view for PDA, mobile phone from third parties
Software to insert/edit/render/export data
Render as automap, cycle map for Mapserver
Mapserver = OpenLayers + tilesOsmarender: distributed or server run, tile rendering intoSVG(PNG), render on the request or after local datachangesMapnik: server run, tile rendering into PNG, render everyweekCycle map: server run, render every weekrouting on mapserver in testglobal WMS server in testing (Geofabric), Czech WMSready
Software to insert/edit/render/export data
Export
one file actual data world/Czechia ”Planet” in OSM format(4.500 MB/ 36 MB)to Garmin format map (Czechia garmin online)to PostgreSQLfrom PostgreSQL to ESRI Shapefile (online Geofabric)with OSMlibRuby maybe to GML, KML, SHP, GPX (my testfailed)
Imported datasets into Czechia OSM
Village and town
as node layerfrom sources geonames.org, wikipedia.org, nga.mil
I. and II. class of highway
GPS tracklog as generalized line layerfrom company HS-RS s.r.o.
Forest coverage
as generalized polygonfrom state org. UHUL
Sister projects
OpenAerialMap
agregator, cache and place for saving free aerial mapbasic are Landsat 7 and better aerial map from USA gov,Europe science, etc.amateur map from aircraft (with/without pilot) with digitalcamerasamateur map from sloping photos from high buildings
Sister projects
State of the Map
conference about state and development OSM2007 England, 2008 Ireland
Sister projects
OpenStreetMap Foundation
independent on the projectfor support and finance
OpenStreetBugs
bugzilla for map - points marking errors on the map
GeoWarp
raster map rectifiter
Features of Project (OSM like Wikipedia)
Project
incomplete actual geodatabase (forever)different quality of dataabsent advanced system of metadataundefined quality and specific targetno unified standard processfrequent change of OSM format and support systemmany parts of project are in basic developmnetbig variability of system vs. few classes of geodatainhomogeneous coverage data land to landbig database, problematic for use (actual planet in bz2archive: 09/2007: 480 MB, 09/2008: 4 400 MB)
Features of Project (OSM like Wikipedia)
Users
users are not specialist in cartographyusers have local knowledgedifferent users access to the projecthorizontal system of users, no administrators (onlydevelopers)for saboteur reversion system function is not effective
Fat client JOSM (Highway D1 with Expressway R52)
Osmarender: World (zoom 3)
Osmarender: Europe (zoom 5)
Osmarender: Central Europe (zoom 7)
Osmarender: Central Bohemia (zoom 10)
Osmarender: Capital Prague (zoom 12)
Mapnik render: Prague, district Dejvice (zoom 14)
Mapnik render: High-school CVUT, street Thakurova(zoom 16)
Routing service: near city Brno (Klobouky - Rosice)
Cycle map: Europe (zoom 5)
Cycle map: Czechia (zoom 8)
Cycle map: Prague (zoom 11)
Cycle map: Prague, Dolnı Pocernice (zoom 13)
Cycle map: Dolnı Pocernice - detail (zoom 15)
Thanks...
More about Czehia to see on the wiki:http://wiki.openstreetmap.org/index.php/WikiProject Czechia
Using OSM map on tha Garmin GPS and PDA