Prof. Dr.-Ing. Franz-Josef Behr OpenLayers: Data Integration 1 OpenLayers: Data Integration in an OpenLayers: Data Integration in an Open Source Map Browser Open Source Map Browser Prof. Dr. Franz-Josef Behr Stuttgart University of Applied Sciences Hochschule für Technik, Stuttgart
34
Embed
Open Source Map Browser OpenLayers: Data Integration in an
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Prof. Dr.-Ing. Franz-Josef Behr
Ope
nLay
ers:
Dat
aIn
tegr
atio
n
1
OpenLayers: Data Integration in an OpenLayers: Data Integration in an Open Source Map BrowserOpen Source Map Browser
– facilitates discussion of proposals, responsible for membershipsof the Project Steering Committee.
– adjudication in cases of disputes about voting.
• Democratic process: Addition and removal of members from the committee, as well as selection of a Chair should be handled as a proposal to the committee.
Prof. Dr.-Ing. Franz-Josef Behr
Ope
nLay
ers:
Dat
aIn
tegr
atio
n
13
DevelopmentDevelopment ProcessProcess
Clear and sound development rules:
1. Proposals � OpenLayers dev mailing list � discussion and voting, for at least two business days.
2. Voting:1. "+1“: indicating support for the proposal and a willingness to
support implementation.2. "-1“: to veto a proposal, but must provide clear reasoning and
alternate approaches to resolving the problem3. “-0”: indicates mild disagreement, but no effect; “0”: no opinion,
“+0”: mild support, but no effect.3. Members of the Project Steering Committee's votes will be counted.4. Acceptance: +2 (including the proposer), no vetos (-1).5. Veto � can be resubmitted for an override vote.
Prof. Dr.-Ing. Franz-Josef Behr
Ope
nLay
ers:
Dat
aIn
tegr
atio
n
14
TestingTesting MethodologyMethodology
• Test.AnotherWay-Framework
• more than 2100 automated tests(http://openlayers.org/blog/2007/08/23/automated-testing/)
http://openlayers.org/dev/tests/run-tests.html
Prof. Dr.-Ing. Franz-Josef Behr
Ope
nLay
ers:
Dat
aIn
tegr
atio
n
15
ClassesClasses
Prof. Dr.-Ing. Franz-Josef Behr
Ope
nLay
ers:
Dat
aIn
tegr
atio
n
16
API API documentationdocumentation: : OpenLayers.MapOpenLayers.Map
OpenLayers Maps consist of LayersOpenLayers Maps consist of Layers
• OGC WFS
• GeoRSS
• CSV
• GML
• KML
• WKT
• OGC WMS
• Google Maps• MSN Live Local
• Yahoo! Maps
• Multimap
• MapGuide
• ka-Map
• WorldWind
Raster Layers, tiled
Vector Layers, points, lines, polygons
renderedwith SVG / VML
Prof. Dr.-Ing. Franz-Josef Behr
Ope
nLay
ers:
Dat
aIn
tegr
atio
n
19
GeoRSSGeoRSS
• W3C 2006: “a simple model for tagging external content with geographic feature properties which are consistent with the general feature model and syntax of OGC GML.”
• supported by Yahoo! Maps, Google Maps, Live Local, WorldKit, MapInfo, FME, Drupal, …
• „I added support for KML point display in about 20 minutes, including the time to find data and write a demo HTML page loadingsome example data. Adding LineString support was another 15 minutes.“http://crschmidt.net/blog/archives/201/openlayers-vector-support/
• polygons not yet supported
• Integration of a KML Layer
map.addLayer(new OpenLayers.Layer.GML(
"KML", "kml/mc-search.kml",
{format: OpenLayers.Format.KML})
);
Prof. Dr.-Ing. Franz-Josef Behr
Ope
nLay
ers:
Dat
aIn
tegr
atio
n
24
WMSWMS
• A WMS layer needs layername, URL, and parametes
var map = new OpenLayers.Map('map');var wmslayer = new OpenLayers.Layer.WMS(
// Register click eventmap.events.register('click', map, function (e) {// initialize the displaying text$('nodeList').innerHTML = "Loading... ";//define the parameters for getfeatureInfo