Tools Of The Geospatial Web
Upcoming SlideShare
Loading in...5
×
 

Tools Of The Geospatial Web

on

  • 1,000 views

 

Statistics

Views

Total Views
1,000
Views on SlideShare
995
Embed Views
5

Actions

Likes
0
Downloads
42
Comments
0

2 Embeds 5

http://www.linkedin.com 4
http://www.slideshare.net 1

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Tools Of The Geospatial Web Tools Of The Geospatial Web Presentation Transcript

  • Tools of the Geospatial Web
  • Last week - Google Maps
    • It allows users to easily load and internet map through an API
    • This kind of map is classified as a Open, Reusable map
  • This Week
    • Look at the API concept
    • Look at AJAX in greater detail
    • Look at other non-API Web Mapping Applications
  • What is API
    • An API is an Application Programming Interface
    • It web-developers to leverage the power of other applications through their own websites
  • Google Maps API
    • This API allows us to leverage the methods and classes developed by Google for this application
  • What does this look like?
    • <title>Google Maps JavaScript API Example</title>
    • <script src=&quot;http://maps.google.com/maps?file=api&amp;v=2&amp;key=abcdefg&quot;
    • type=&quot;text/javascript&quot;></script>
    • <script type=&quot;text/javascript&quot;>
    • function initialize() {
    • if (GBrowserIsCompatible()) {
    • var map = new GMap2(document.getElementById(&quot;map_canvas&quot;));
    • map.setCenter(new GLatLng(37.4419, -122.1419), 13);
  • Event handler and its place
    • <body onload=&quot;initialize()&quot; onunload=&quot;GUnload()&quot;>
    • <div id=&quot;map_canvas&quot; style=&quot;width: 500px; height: 300px&quot;></div>
    • </body>
  • More Information
    • http://www.google.com/apis/maps/documentation/introduction.html
  • Other APIs
    • Yahoo! Maps
      • http://developer.yahoo.com/maps/
    • Virtual Earth SDK
      • http://dev.live.com/virtualearth/sdk/
    • ArcWeb Services
      • http://www.esri.com/software/arcwebservices/index.html
  • AJAX
    • Ajax - Asynchronous JavaScript and XML
    • Ajax allows the Web browsers to send GET and POST requests without refreshing the browser
  • POST and GET
    • Are Methods that are stated in submission forms
    • Eg. Database search
      • http://first6years.org/?q=node/14
  • GET VS POST
    • Get is used primarily in querying data
    • Post is used for posting or uploading data into a database
  • What does AJAX do?
    • In AJAX POST and GET are managed through the AJAX engine or javascript object
    • This is done asynchronously meaning that code execution doesn’t wait for a response from a server
  • What does the user see?
    • This creates a seamless experience allowing for richer experiences similar to the desktop environment.
  • Non-API Internet GIS Applications
    • Other Internet GIS applications allow for more robust tools and customization of both Primary and secondary data.
    • Most now come with Out-of-the-Box development tools
  • Open SourceApplications
    • Mapserver - OGC Compliant first designed by NASA
      • http://mapserver.gis.umn.edu/
    • Geoserver- OGC Compliant with an interface similar to Open Layers
      • http://geoserver.org/
  • Application Architecture
    • These Web Mapping Systems run a webserver or integrate with one
    • Store Spatial data in a directory and provide an interface for creating your mapping application
  • Map files
    • Data is then stored in an XML based Map file which is used to define the look and feel of the web map
    • Generally these files are used on one map at a time
  • Break
    • After the break we will look at these two different applications in greater detail