Image Cleanup Site Map Service User Guide

RSS

Navigation



User Comment


Quick Search
»
Advanced Search »

Sharing Through Web Services

RSS
Modified on 07/22/2009 09:42 AM by bwenzlau Categorized as Share
In addition to the client map presentations, the Cleanup Site Map Service is available as a web service. Input requests and output services can be configured using common protocols. This permits the user to customize the service while still trusting the integrity of the data served.The request formats are as follows:

  • KML: Input and output of Points, Lines, and Polygons from KML.
  • GeoJSON:Input and output in the emerging GeoJSON specification supporting Points, Lines, and Polygons with Rings, as both input and output.
  • GeoRSS Atom (Simple):Input and output of Points/Lines/Polygons (no rings/holes) in GeoRSS Simple (Atom).
  • KML: Input and output of Points, Lines, and Polygons from KML.
  • GML/WFS: Output support of WFS/GML.

The intent is for the map maker working on behalf of a business or government agency to be able to use the Cleanup Site Map Service in any of the common mapping protocols. The webpage would offer the user techniques to configure the service for their map, and represent default map configurations. The following represents how common map protocols would be served.

  • Google Map. To derive maps the user would apply the KML format. To utilize a Google Map, one would request a free public license key from Google, and then request from the CSMS team the html to be inserted into an agency webpage. Using the web service solution, the map content can be configured to limit the data to agency jurisdictional boundaries.
  • Microsoft Virtual Earth. To derive maps the user would apply the GeoJSON format
  • Google Earth. To derive maps the user would apply the KML format
  • ESRI Web Service. To derive maps the user would apply the KML format. The datasets can be viewed by ESRI's ArcGIS explorer. ArcGIS explorer is a free download at ESRI .
  • Yahoo Maps. The user would apply the GeoJSON format
  • Map Quest. To derive maps the user would apply the GeoJSON format.

The web service solution would be embodied in a web page maintained by a user. The user would produce a web page that inserts a map object associated with a given protocol (for example Google Maps employs Google Maps API). A sample http call to the database is shown below. Within the request you can observe how the Format is set around the version of the content. The user can control other attributes in the construction of the query string such as the status of the site, or the agency dataset presented. A sample query for ESRI ArcGIS Explore or Google Earth are shown below:

  • Base url for KML network link:

http://csms-mapserver/fs/featureserver.py/
  • Example of filtering by status code:

 http://csms-mapserver/fs/tdx_kml.py/ce/all.kml?maxfeatures=50&queryable=groupmaxstatusindex&groupmaxstatusindex=5

  • Example by dataset:

http://csms-mapserver/fs/tdx_kml.py/ce/all.kml?maxfeatures=50&queryable=tdxdatasetid&tdxdatasetid=2411 

All content developed and maintained for USEPA by Terradex, Inc.