worldmap.harvard.edu

einbinden von karten auf der platform http://worldmap.harvard.edu/
eintragen der server-links unter „add layer“ – „external data“ – „add another layer“

OGD-Vienna/Wien 
WMS-Link: http://data.wien.gv.at/daten/wms als „external data“ eingetragen und auch layer auswählen. leider ist die response-time des wiener-server sehr langsam 😦

OSM-data
WMS-Link: http://129.206.228.72/cached/osm
hier gibt es die karte und ein schatten-modell

Italienische Karten
WMS-Link: ??
http://www.pcn.minambiente.it

embedded maps

Results

comparing google maps, vienna maps and openstreetmaps: these three sites offer more or less easy access to the html-embedded maps. take a look at the different zoom-level: osm and google use the same zoom where the vienna map has more overview an also displays more street names. vienna map is the only site that offers the mapscale and uses a single link to the useragreements. the other sites have more text on the bottom – you can read „google“ three times on the bottom!!!

Google Maps maps.google.com

  • embedded code with html-iframe container. basic version with width and height configuration (small, middle, large, user-defined). 
  • sample: search for „ottakringerstraße 89, wien“ and press the „link“-button on the left. in this sample you get a bubble, which is not very nice 😦

[googlemaps https://maps.google.de/maps?f=q&source=s_q&hl=de&geocode=&q=ottakringerstra%C3%9Fe+89,+wien&aq=&sll=47.394203,13.68544&sspn=0.081925,0.124969&ie=UTF8&hq=&hnear=Ottakringer+Stra%C3%9Fe+89,+Ottakring+1160+Wien,+%C3%96sterreich&t=m&ll=48.213349,16.323709&spn=0.017158,0.025749&z=14&iwloc=A&output=embed“ width=“300″>
Größere Kartenansicht

Vienna map (OGD) wien.gv.at/stadtplan

  • embedded code with html-div container and java-script. basic version has also width and height configuration (small, middle, large, user-defined). 
  • sample: search for „ottakringerstraße 89“ and press the link on the top „Link/Einbetten“. here is the result:

OpenStreetMap openstreetmap.org

  • embedded code with html-iframe container. no easy configuration of width and height but the possibility to add a marker
  • sample: search for „ottakringerstraße 89, wien“ (bad result list and not correct street number). to get to the embedded-code: click „export“ on the top, then choose „embedded HTML“ on the left, and then you can add the marker and copy the HTML-code. here is the result with the marker

Other Map-Services
Italien map
http://www.pcn.minambiente.it

creating simple plots with R and OGD

read data from the ogd-portal

ogd_pop <- read.table("http://www.wien.gv.at/statistik/ogd/bezirke-geschlecht-zeitreihe.csv&quot;, header = TRUE, sep=";", skip=2, encoding="latin1")

convert the date column from a string-variable to a date type

c <- as.Date(ogd_pop$REF_DATE,"%d.%m.%Y")
merge the new c-objekt with the ogd_pop dataset
ogd_pop <- data.frame(ogd_pop,c)

rename the new column

names(ogd_pop)[8] <- "REF_DATE2"

create a new object with grouped values: sum over POP_TOTAL group by REF_DATE2

ogd_pop_hist <- aggregate(ogd_pop$POP_TOTAL, by=list(ogd_pop$REF_DATE2), sum)

rename the two columns

names(ogd_pop_hist) <- c("REF_DATE","POP_TOTAL")

and now create the plot

plot(ogd_pop_hist, type=“l“)

data from data.wien.gv.at

compare with the google-data-visualization

OGD with R (for beginners) – reading text-data

here is a small sample of accessing OGD with R and making simple aggegations

first load the CSV-data for data.wien.ac.at with the R object read.data. it’s important to check the value for encoding and skip. 
ogd_pop <- read.table("http://www.wien.gv.at/statistik/ogd/vie-regdistrict-pop-foreignborn.csv&quot;, header = TRUE, sep=";", skip=2, encoding="latin1")
now the data is loaded into R.
a simple overview of the population of each disctrict
aggregate(ogd_pop$POP_TOTAL, by=list(ogd_pop$DISTRICT_CODE), sum)

here are other simple commands
subset(ogd_pop,ogd_pop$SEX==“Frauen“) #data for Frauen
sum(subset(ogd_pop$POP_TOTAL,ogd_pop$SEX==“Männer“)) #sum just männer
sum(ogd_pop$POP_TOTAL) #total sum

data wien (openlayers layer)

versuch, die karten von http://data.wien.gv.at/katalog/beschriftung.html in einer eigenen karte mittels openlayer darzustellen.

var wmtsv = new OpenLayers.Layer.WMTS({

  name: „Vienna Map“,
  layer: „fmzk“,
  style: „pastell“,
  matrixSet: „google3857“,
  matrixIds : (function(){
var matrixIds2 = [];
for( var i = 0; i<=19; ++i){
matrixIds[i] = i;
}
return matrixIds;
})(),
        format: „image/jpeg“,
        opacity: 0.7,
        isBaseLayer: false
    });                
  format: „image/jpeg“,
  opacity: 0.7,
  isBaseLayer: false



name: frei, name in der karte
url: pfad zum wmts?!
layer: ist <Capabilities aus dem http://www.wien.gv.at/wmts/1.0.0/WMTSCapabilities.xml
style: ist <Capabilities
matrixSet: ist <Capabilities
matrixIds: kann Array sein mit Werten aus <Capabilities
format: ist <Capabilities
opacity: freier wert zw. 0 und 1

links/tipps:


example from openlayer
wmts.html and wmts.js


JavaScript libraries
http://leaflet.cloudmade.com/
http://openlayers.org/

layer „FeatureType“ – medford:buildings
http://v2.suite.opengeo.org/geoserver/ows?service=wfs&version=1.0.0&request=GetCapabilities

vienna
http://www.wien.gv.at/wmts/1.0.0/WMTSCapabilities.xml


schweiz
http://wmts.geo.admin.ch/1.0.0/WMTSCapabilities.xml


conversion of map projections and longitude/latitude
http://proj4js.org/

wien vienna

map.setCenter(new OpenLayers.LonLat(1823424,6141333), 13);

valid query
http://maps.wien.gv.at/wmts/beschriftung/normal/google3857/12/1419/2235.png
                                            /layer            /style   /matrixSet    /matrixIds/x/y.xxx

http://wmts.geo.admin.ch/1.0.0/ch.swisstopo.pixelkarte-farbe/default/20110401/21781/16/4/4.jpeg

                                                 /layer                                      /style    /params/matrixSet/matrixids/x/y.xxx

Open Government Data

europe
projects in austria
http://data.wien.gv.at/
http://data.linz.gv.at/

http://opencommons.public1.linz.at/

projects in germany
http://daten.berlin.de/

projects in swiss
http://opendata.ch/ sample: topo map

projects in uk
http://data.london.gov.uk/

other
http://digitaliser.dk/
http://geodata.gov.gr
http://www.datagov.it/

asia/australia
http://data.gov.au/
http://cat.open.org.nz/

other important institutions
World Wide Web Consortium http://www.w3.org/egov/

other infos and blogs
http://inkdroid.org/journal/2010/06/04/the-5-stars-of-open-linked-data/
http://www.open3.at/2011/10/bericht-vom-create-camp-wien-oktober-2011
http://www.ladstaetter.at/2011/10/08/2-wiener-create-camp-personlicher-ruckblick/
http://www.gis-news.de/
http://www.breaknoise.com/htw/Diplomarbeit.pdf