SlideShare a Scribd company logo
1 of 31
Download to read offline
Beyond Google Maps and Mashups
Practicalities

●Download:
www.archaeogeek.com/downloads/leics2010.zip

Save to /home/user and extract
●




/home/user/leics2010 folder should then contain:
●

   shape_files (folder)
   demo.map
   mapserver.html
   baselayers.html
   leicester_2010_notes.pdf
Installing Quantum GIS plugins




Needed Plugins: Mapserver Export, PostGIS
manager, SPIT
Databases
Databases



                           +
             www.postgresql.org
             postgis.refractions.net
●   Server-based database (not like access)
●   Data is entirely separate from user interface
●   Inside the database, data stored in schemas
      for finer control
How to connect to a database


●   HOST: localhost, 192.168.3.40, myserver.com
●   DATABASE: ??? (your choice)
●   USERNAME: user
●   PASSWORD: user
●   PORT: 5432 (default)
Getting spatial data into PostgreSQL

●   OGR2OGR (command line)
●   SHP2PGSQL (command line)
●   SPIT plugin for Quantum GIS
●   Essential Parameters:
     host, username, password, dbname,
     port (as before)
●   Additionally: name and location of
     shapefile, name of table in database,
     coordinate system of data
Loading data with SPIT

Create new database with pgadmin3
 and connect to it with SPIT in QGIS
SPIT (continued)




     Make “DB Relation Name” all lower case!!!
Database house-keeping

●   Each table should have a primary key
●   Each spatial table should be recorded in
     the geometry_columns table
●   Each spatial table should have a spatial
     index
    CREATE INDEX yourtable_idx ON
     yourtable USING
     GIST(geometry_column);
Querying data
●   SQL: Structured Query Language
    SELECT some comma de-limited
     columns FROM your_table WHERE
     some condition is met;
●   Use PSQL from command line, PgAdmin3,
     or PostgreSQL Manager/SQL Editor
●   SQL is case-sensitive for table and column
     names, and keywords are usually in
     capitals
Querying data
●   Display on the map using CREATE VIEW
     AS:
    CREATE VIEW viewname AS SELECT
     * FROM united_kingdom_counties
     WHERE...
●   Add to QGIS using Add Layer/Add
     PostGIS layer
Spatial Querying

●   Find out which county a point is in:
    SELECT “PROV3NAME” FROM
      united_kingdom_counties WHERE
      st_within(geomfromtext('point(-1.4
      52.6)', 4326), the_geom);
●   Find out the spatial extent of your data:
    SELECT st_extent(the_geom) FROM
      united_kingdom_counties;
Map Servers
Types of Map Server




●   cgi program on a web server.
      Configuration via text files



●   java-based program. Configuration via
      web interface
The Map File
MAP
      NAME "sample"
      STATUS ON
      SIZE 600 400
      EXTENT -180 -90 180 90
      UNITS DD
      SHAPEPATH "../data"
      IMAGECOLOR 255 255 255
      WEB
          IMAGEPATH "/ms4w/tmp/ms_tmp/"
          IMAGEURL "/ms_tmp/"
      END
      LAYER
          NAME 'global-raster'
          TYPE RASTER
          STATUS DEFAULT
          DATA bluemarble.gif
      END
END
Checking and Viewing a map file


●   SHP2IMG at the command line
    shp2img -m
     /home/user/leics2010/demo.map
     -o /home/user/demo.png
●   With a browser
    http://localhost.com/cgi-
     bin/mapserv?
     map=/home/user/leics2010/demo.map
     &mode=map
Adding new layers to a mapfile
LAYER
  NAME "your layer"
  STATUS DEFAULT
  TYPE POLYGON
  DATA "yourshapefile.shp"
  CLASS
        NAME "your name for this symbology"
        STYLE
          SYMBOL 0
          OUTLINECOLOR 0 0 0
          COLOR 207 150 123
        END
  END
END
Connecting to PostgreSQL from Mapserver

LAYER
  NAME "UK Counties"
  STATUS DEFAULT
  TYPE POLYGON
  CONNECTIONTYPE POSTGIS
  CONNECTION "host=localhost port=5432
dbname=osgis2010 user=user password=user"
  DATA "the_geom from united_kingdom_counties"
  CLASS
  …
  END
END
Displaying single layers



●   Set the Layer status to “ON” rather than
     “DEFAULT”
●   Specify the layers as part of the URL:
     http://localhost/cgi-
     bin/mapserv?
     map=/home/user/leics2010/demo.
     map&layer=counties
Web Mapping
Web Mapping: Practicalities



●   Make the web folder writeable
    sudo chown -R user /var/www
    sudo chmod -R 755 /var/www
●   If asked for a password, it's user
Structure of a web page

<html>

   <head>
     <title> My Home Page
     </title>
   </head>

   <body>
     HELLO WORLD!
   </body>

</html>
Scripting


●   SERVER-SIDE:
    php, asp
         <?php
                 phpinfo();
         ?>
●   CLIENT-SIDE:
    javascript
Solving Problems using Firefox
OpenLayers
OpenLayers page structure
<html>
   <head>
       <script src="..lib/OpenLayers.js"></script>
       <script type="text/javascript">
          var map, mylayer;
            function init() {
          map = new OpenLayers.Map('map');
          mylayer = new OpenLayers.Layer.MapServer( "World Map",
              "http://localhost/cgi-bin/mapserv.exe",
              {map: 'C:/world_mapfile.map'});
          map.addLayer(mylayer);
          map.zoomToMaxExtent();
          }
       </script>
   </head>
   <body onload="init()">
       <div id="map" style="width: 600px; height: 300px"></div>
   </body>
</html>
Adding Controls



                     Scale Bars, Permalink
                     and Mouse Position




Layer Switcher and
Overview Map
Base Mapping
●   Can use base data from Google, Microsoft,
     Yahoo, Openstreetmap, etc
●   Specify base layer (not always necessary)
     {'isBaseLayer': true}
●   Overlay needs to be transparent
     {'transparent':true, 'format':
     png}
●   Change addlayers directive
     map.addLayers([layer1,layer2]);
Beyond OpenLayers

•MapGuide Open Source
http://mapguide.osgeo.org
•Mapfish http://mapfish.org/
•Mapchat http://mapchat.ca/
•Featureserver http://featureserver.org/
And Finally...



                                      Have fun!!!




This work is licenced under the Creative Commons Attribution-Share Alike 2.0 UK: England & Wales License. To
view a copy of this licence, visit http://creativecommons.org/licenses/by-sa/2.0/uk/ or send a letter to Creative
Commons, 171 Second Street, Suite 300, San Francisco, California
94105, USA.

                                                                                          Jo Cook
                                                                                          OA Digital
                                                                                          http://oadigital.net
                                                                                          j.cook@oadigital.net
                                                                                          +44 (0)1524 880212

More Related Content

Viewers also liked

Viewers also liked (12)

Introduction to OSGeo:UK
Introduction to OSGeo:UKIntroduction to OSGeo:UK
Introduction to OSGeo:UK
 
Agi 2008
Agi 2008Agi 2008
Agi 2008
 
Osgis 2010 notes
Osgis 2010 notesOsgis 2010 notes
Osgis 2010 notes
 
AGI 2010 Notes
AGI 2010 NotesAGI 2010 Notes
AGI 2010 Notes
 
Agi North
Agi NorthAgi North
Agi North
 
Illustrations
IllustrationsIllustrations
Illustrations
 
Idla Q&A
Idla Q&AIdla Q&A
Idla Q&A
 
ADC6 years
ADC6 years ADC6 years
ADC6 years
 
Social Media Nelle Organizzazioni
Social Media Nelle OrganizzazioniSocial Media Nelle Organizzazioni
Social Media Nelle Organizzazioni
 
Simple ways to start a business now - Valeria Hedman
Simple ways to start a business now - Valeria HedmanSimple ways to start a business now - Valeria Hedman
Simple ways to start a business now - Valeria Hedman
 
Proyecto Libro Virtual
Proyecto Libro VirtualProyecto Libro Virtual
Proyecto Libro Virtual
 
Research design & conduct service
Research design & conduct serviceResearch design & conduct service
Research design & conduct service
 

Similar to Worskhop Leicester 2010

Build your own_map_by_yourself
Build your own_map_by_yourselfBuild your own_map_by_yourself
Build your own_map_by_yourselfMarc Huang
 
Gmaps Railscamp2008
Gmaps Railscamp2008Gmaps Railscamp2008
Gmaps Railscamp2008xilinus
 
Wide Open Spaces Using My Sql As A Web Mapping Service Backend
Wide Open Spaces Using My Sql As A Web Mapping Service BackendWide Open Spaces Using My Sql As A Web Mapping Service Backend
Wide Open Spaces Using My Sql As A Web Mapping Service BackendMySQLConference
 
ESRI Dev Meetup: Building Distributed JavaScript Map Widgets
ESRI Dev Meetup: Building Distributed JavaScript Map WidgetsESRI Dev Meetup: Building Distributed JavaScript Map Widgets
ESRI Dev Meetup: Building Distributed JavaScript Map WidgetsAllan Glen
 
Spark on Dataproc - Israel Spark Meetup at taboola
Spark on Dataproc - Israel Spark Meetup at taboolaSpark on Dataproc - Israel Spark Meetup at taboola
Spark on Dataproc - Israel Spark Meetup at taboolatsliwowicz
 
Getting Started with PostGIS geographic database - Lasma Sietinsone, EDINA
Getting Started with PostGIS geographic database - Lasma Sietinsone, EDINAGetting Started with PostGIS geographic database - Lasma Sietinsone, EDINA
Getting Started with PostGIS geographic database - Lasma Sietinsone, EDINAJISC GECO
 
Building infrastructure with Terraform (Google)
Building infrastructure with Terraform (Google)Building infrastructure with Terraform (Google)
Building infrastructure with Terraform (Google)Radek Simko
 
Everything is Awesome - Cutting the Corners off the Web
Everything is Awesome - Cutting the Corners off the WebEverything is Awesome - Cutting the Corners off the Web
Everything is Awesome - Cutting the Corners off the WebJames Rakich
 
Rapid Application Development with WSO2 Platform
Rapid Application Development with WSO2 PlatformRapid Application Development with WSO2 Platform
Rapid Application Development with WSO2 PlatformWSO2
 
Into The Box 2018 Going live with commandbox and docker
Into The Box 2018 Going live with commandbox and dockerInto The Box 2018 Going live with commandbox and docker
Into The Box 2018 Going live with commandbox and dockerOrtus Solutions, Corp
 
Going live with BommandBox and docker Into The Box 2018
Going live with BommandBox and docker Into The Box 2018Going live with BommandBox and docker Into The Box 2018
Going live with BommandBox and docker Into The Box 2018Ortus Solutions, Corp
 
Improve PostgreSQL replication with Oracle GoldenGate
Improve PostgreSQL replication with Oracle GoldenGateImprove PostgreSQL replication with Oracle GoldenGate
Improve PostgreSQL replication with Oracle GoldenGateBobby Curtis
 
Codified PostgreSQL Schema
Codified PostgreSQL SchemaCodified PostgreSQL Schema
Codified PostgreSQL SchemaSean Chittenden
 
Ioannis Doxaras on GIS and Gmaps at 1st GTUG meetup Greece
Ioannis Doxaras on GIS and Gmaps at 1st GTUG meetup Greece Ioannis Doxaras on GIS and Gmaps at 1st GTUG meetup Greece
Ioannis Doxaras on GIS and Gmaps at 1st GTUG meetup Greece CoLab Athens
 
Play vs Grails Smackdown - Devoxx France 2013
Play vs Grails Smackdown - Devoxx France 2013Play vs Grails Smackdown - Devoxx France 2013
Play vs Grails Smackdown - Devoxx France 2013Matt Raible
 
Getting Started with DrupalGap
Getting Started with DrupalGapGetting Started with DrupalGap
Getting Started with DrupalGapAlex S
 

Similar to Worskhop Leicester 2010 (20)

Build your own_map_by_yourself
Build your own_map_by_yourselfBuild your own_map_by_yourself
Build your own_map_by_yourself
 
Gmaps Railscamp2008
Gmaps Railscamp2008Gmaps Railscamp2008
Gmaps Railscamp2008
 
Wide Open Spaces Using My Sql As A Web Mapping Service Backend
Wide Open Spaces Using My Sql As A Web Mapping Service BackendWide Open Spaces Using My Sql As A Web Mapping Service Backend
Wide Open Spaces Using My Sql As A Web Mapping Service Backend
 
ESRI Dev Meetup: Building Distributed JavaScript Map Widgets
ESRI Dev Meetup: Building Distributed JavaScript Map WidgetsESRI Dev Meetup: Building Distributed JavaScript Map Widgets
ESRI Dev Meetup: Building Distributed JavaScript Map Widgets
 
Spark on Dataproc - Israel Spark Meetup at taboola
Spark on Dataproc - Israel Spark Meetup at taboolaSpark on Dataproc - Israel Spark Meetup at taboola
Spark on Dataproc - Israel Spark Meetup at taboola
 
Getting Started with PostGIS geographic database - Lasma Sietinsone, EDINA
Getting Started with PostGIS geographic database - Lasma Sietinsone, EDINAGetting Started with PostGIS geographic database - Lasma Sietinsone, EDINA
Getting Started with PostGIS geographic database - Lasma Sietinsone, EDINA
 
Getting started with PostGIS geographic database
Getting started with PostGIS geographic databaseGetting started with PostGIS geographic database
Getting started with PostGIS geographic database
 
Building infrastructure with Terraform (Google)
Building infrastructure with Terraform (Google)Building infrastructure with Terraform (Google)
Building infrastructure with Terraform (Google)
 
Everything is Awesome - Cutting the Corners off the Web
Everything is Awesome - Cutting the Corners off the WebEverything is Awesome - Cutting the Corners off the Web
Everything is Awesome - Cutting the Corners off the Web
 
Rapid Application Development with WSO2 Platform
Rapid Application Development with WSO2 PlatformRapid Application Development with WSO2 Platform
Rapid Application Development with WSO2 Platform
 
Into The Box 2018 Going live with commandbox and docker
Into The Box 2018 Going live with commandbox and dockerInto The Box 2018 Going live with commandbox and docker
Into The Box 2018 Going live with commandbox and docker
 
Going live with BommandBox and docker Into The Box 2018
Going live with BommandBox and docker Into The Box 2018Going live with BommandBox and docker Into The Box 2018
Going live with BommandBox and docker Into The Box 2018
 
Improve PostgreSQL replication with Oracle GoldenGate
Improve PostgreSQL replication with Oracle GoldenGateImprove PostgreSQL replication with Oracle GoldenGate
Improve PostgreSQL replication with Oracle GoldenGate
 
Codified PostgreSQL Schema
Codified PostgreSQL SchemaCodified PostgreSQL Schema
Codified PostgreSQL Schema
 
Introduction to angular js
Introduction to angular jsIntroduction to angular js
Introduction to angular js
 
Ioannis Doxaras on GIS and Gmaps at 1st GTUG meetup Greece
Ioannis Doxaras on GIS and Gmaps at 1st GTUG meetup Greece Ioannis Doxaras on GIS and Gmaps at 1st GTUG meetup Greece
Ioannis Doxaras on GIS and Gmaps at 1st GTUG meetup Greece
 
Play vs Grails Smackdown - Devoxx France 2013
Play vs Grails Smackdown - Devoxx France 2013Play vs Grails Smackdown - Devoxx France 2013
Play vs Grails Smackdown - Devoxx France 2013
 
Seti 09
Seti 09Seti 09
Seti 09
 
Web mapswithleaflet
Web mapswithleafletWeb mapswithleaflet
Web mapswithleaflet
 
Getting Started with DrupalGap
Getting Started with DrupalGapGetting Started with DrupalGap
Getting Started with DrupalGap
 

More from Joanne Cook

Consuming open and linked data with open source tools
Consuming open and linked data with open source toolsConsuming open and linked data with open source tools
Consuming open and linked data with open source toolsJoanne Cook
 
Intro to the Open Source Geospatial Foundation
Intro to the Open Source Geospatial FoundationIntro to the Open Source Geospatial Foundation
Intro to the Open Source Geospatial FoundationJoanne Cook
 
Intro to Quantum GIS Desktop GIS
Intro to Quantum GIS Desktop GISIntro to Quantum GIS Desktop GIS
Intro to Quantum GIS Desktop GISJoanne Cook
 
The Business Case for Open Source GIS
The Business Case for Open Source GISThe Business Case for Open Source GIS
The Business Case for Open Source GISJoanne Cook
 
Open Source and Open Data
Open Source and Open DataOpen Source and Open Data
Open Source and Open DataJoanne Cook
 
Consuming and Publishing Ordnance Survey Open Data with Open Source Software
Consuming and Publishing Ordnance Survey Open Data with Open Source SoftwareConsuming and Publishing Ordnance Survey Open Data with Open Source Software
Consuming and Publishing Ordnance Survey Open Data with Open Source SoftwareJoanne Cook
 
AGI 2010: It's all one big opportunity
AGI 2010: It's all one big opportunityAGI 2010: It's all one big opportunity
AGI 2010: It's all one big opportunityJoanne Cook
 
Leicester 2010 notes
Leicester 2010 notesLeicester 2010 notes
Leicester 2010 notesJoanne Cook
 
How archaeologists use GIS
How archaeologists use GISHow archaeologists use GIS
How archaeologists use GISJoanne Cook
 
The Impact of Open Source
The Impact of Open SourceThe Impact of Open Source
The Impact of Open SourceJoanne Cook
 
Open Source GIS for Local Government
Open Source GIS for Local GovernmentOpen Source GIS for Local Government
Open Source GIS for Local GovernmentJoanne Cook
 
Agi Techsig 2009
Agi Techsig 2009Agi Techsig 2009
Agi Techsig 2009Joanne Cook
 

More from Joanne Cook (15)

Consuming open and linked data with open source tools
Consuming open and linked data with open source toolsConsuming open and linked data with open source tools
Consuming open and linked data with open source tools
 
Intro to the Open Source Geospatial Foundation
Intro to the Open Source Geospatial FoundationIntro to the Open Source Geospatial Foundation
Intro to the Open Source Geospatial Foundation
 
Intro to Quantum GIS Desktop GIS
Intro to Quantum GIS Desktop GISIntro to Quantum GIS Desktop GIS
Intro to Quantum GIS Desktop GIS
 
The Business Case for Open Source GIS
The Business Case for Open Source GISThe Business Case for Open Source GIS
The Business Case for Open Source GIS
 
Open Source and Open Data
Open Source and Open DataOpen Source and Open Data
Open Source and Open Data
 
Consuming and Publishing Ordnance Survey Open Data with Open Source Software
Consuming and Publishing Ordnance Survey Open Data with Open Source SoftwareConsuming and Publishing Ordnance Survey Open Data with Open Source Software
Consuming and Publishing Ordnance Survey Open Data with Open Source Software
 
AGI 2010: It's all one big opportunity
AGI 2010: It's all one big opportunityAGI 2010: It's all one big opportunity
AGI 2010: It's all one big opportunity
 
Leicester 2010 notes
Leicester 2010 notesLeicester 2010 notes
Leicester 2010 notes
 
How archaeologists use GIS
How archaeologists use GISHow archaeologists use GIS
How archaeologists use GIS
 
The Impact of Open Source
The Impact of Open SourceThe Impact of Open Source
The Impact of Open Source
 
Open Source GIS for Local Government
Open Source GIS for Local GovernmentOpen Source GIS for Local Government
Open Source GIS for Local Government
 
Bcs Talk Notes
Bcs Talk NotesBcs Talk Notes
Bcs Talk Notes
 
Gateway Seminar
Gateway SeminarGateway Seminar
Gateway Seminar
 
Bcs Talk Notes
Bcs Talk NotesBcs Talk Notes
Bcs Talk Notes
 
Agi Techsig 2009
Agi Techsig 2009Agi Techsig 2009
Agi Techsig 2009
 

Worskhop Leicester 2010

  • 1. Beyond Google Maps and Mashups
  • 2. Practicalities ●Download: www.archaeogeek.com/downloads/leics2010.zip Save to /home/user and extract ● /home/user/leics2010 folder should then contain: ● shape_files (folder) demo.map mapserver.html baselayers.html leicester_2010_notes.pdf
  • 3. Installing Quantum GIS plugins Needed Plugins: Mapserver Export, PostGIS manager, SPIT
  • 5. Databases + www.postgresql.org postgis.refractions.net ● Server-based database (not like access) ● Data is entirely separate from user interface ● Inside the database, data stored in schemas for finer control
  • 6. How to connect to a database ● HOST: localhost, 192.168.3.40, myserver.com ● DATABASE: ??? (your choice) ● USERNAME: user ● PASSWORD: user ● PORT: 5432 (default)
  • 7. Getting spatial data into PostgreSQL ● OGR2OGR (command line) ● SHP2PGSQL (command line) ● SPIT plugin for Quantum GIS ● Essential Parameters: host, username, password, dbname, port (as before) ● Additionally: name and location of shapefile, name of table in database, coordinate system of data
  • 8. Loading data with SPIT Create new database with pgadmin3 and connect to it with SPIT in QGIS
  • 9. SPIT (continued) Make “DB Relation Name” all lower case!!!
  • 10. Database house-keeping ● Each table should have a primary key ● Each spatial table should be recorded in the geometry_columns table ● Each spatial table should have a spatial index CREATE INDEX yourtable_idx ON yourtable USING GIST(geometry_column);
  • 11. Querying data ● SQL: Structured Query Language SELECT some comma de-limited columns FROM your_table WHERE some condition is met; ● Use PSQL from command line, PgAdmin3, or PostgreSQL Manager/SQL Editor ● SQL is case-sensitive for table and column names, and keywords are usually in capitals
  • 12. Querying data ● Display on the map using CREATE VIEW AS: CREATE VIEW viewname AS SELECT * FROM united_kingdom_counties WHERE... ● Add to QGIS using Add Layer/Add PostGIS layer
  • 13. Spatial Querying ● Find out which county a point is in: SELECT “PROV3NAME” FROM united_kingdom_counties WHERE st_within(geomfromtext('point(-1.4 52.6)', 4326), the_geom); ● Find out the spatial extent of your data: SELECT st_extent(the_geom) FROM united_kingdom_counties;
  • 15. Types of Map Server ● cgi program on a web server. Configuration via text files ● java-based program. Configuration via web interface
  • 16. The Map File MAP NAME "sample" STATUS ON SIZE 600 400 EXTENT -180 -90 180 90 UNITS DD SHAPEPATH "../data" IMAGECOLOR 255 255 255 WEB IMAGEPATH "/ms4w/tmp/ms_tmp/" IMAGEURL "/ms_tmp/" END LAYER NAME 'global-raster' TYPE RASTER STATUS DEFAULT DATA bluemarble.gif END END
  • 17. Checking and Viewing a map file ● SHP2IMG at the command line shp2img -m /home/user/leics2010/demo.map -o /home/user/demo.png ● With a browser http://localhost.com/cgi- bin/mapserv? map=/home/user/leics2010/demo.map &mode=map
  • 18. Adding new layers to a mapfile LAYER NAME "your layer" STATUS DEFAULT TYPE POLYGON DATA "yourshapefile.shp" CLASS NAME "your name for this symbology" STYLE SYMBOL 0 OUTLINECOLOR 0 0 0 COLOR 207 150 123 END END END
  • 19. Connecting to PostgreSQL from Mapserver LAYER NAME "UK Counties" STATUS DEFAULT TYPE POLYGON CONNECTIONTYPE POSTGIS CONNECTION "host=localhost port=5432 dbname=osgis2010 user=user password=user" DATA "the_geom from united_kingdom_counties" CLASS … END END
  • 20. Displaying single layers ● Set the Layer status to “ON” rather than “DEFAULT” ● Specify the layers as part of the URL: http://localhost/cgi- bin/mapserv? map=/home/user/leics2010/demo. map&layer=counties
  • 22. Web Mapping: Practicalities ● Make the web folder writeable sudo chown -R user /var/www sudo chmod -R 755 /var/www ● If asked for a password, it's user
  • 23. Structure of a web page <html> <head> <title> My Home Page </title> </head> <body> HELLO WORLD! </body> </html>
  • 24. Scripting ● SERVER-SIDE: php, asp <?php phpinfo(); ?> ● CLIENT-SIDE: javascript
  • 27. OpenLayers page structure <html> <head> <script src="..lib/OpenLayers.js"></script> <script type="text/javascript"> var map, mylayer; function init() { map = new OpenLayers.Map('map'); mylayer = new OpenLayers.Layer.MapServer( "World Map", "http://localhost/cgi-bin/mapserv.exe", {map: 'C:/world_mapfile.map'}); map.addLayer(mylayer); map.zoomToMaxExtent(); } </script> </head> <body onload="init()"> <div id="map" style="width: 600px; height: 300px"></div> </body> </html>
  • 28. Adding Controls Scale Bars, Permalink and Mouse Position Layer Switcher and Overview Map
  • 29. Base Mapping ● Can use base data from Google, Microsoft, Yahoo, Openstreetmap, etc ● Specify base layer (not always necessary) {'isBaseLayer': true} ● Overlay needs to be transparent {'transparent':true, 'format': png} ● Change addlayers directive map.addLayers([layer1,layer2]);
  • 30. Beyond OpenLayers •MapGuide Open Source http://mapguide.osgeo.org •Mapfish http://mapfish.org/ •Mapchat http://mapchat.ca/ •Featureserver http://featureserver.org/
  • 31. And Finally... Have fun!!! This work is licenced under the Creative Commons Attribution-Share Alike 2.0 UK: England & Wales License. To view a copy of this licence, visit http://creativecommons.org/licenses/by-sa/2.0/uk/ or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California 94105, USA. Jo Cook OA Digital http://oadigital.net j.cook@oadigital.net +44 (0)1524 880212