174 lines
14 KiB
Plaintext
174 lines
14 KiB
Plaintext
|
head 1.3;
|
||
|
access;
|
||
|
symbols;
|
||
|
locks; strict;
|
||
|
comment @# @;
|
||
|
|
||
|
|
||
|
1.3
|
||
|
date 2008.03.01.20.29.38; author AnnieSimpson; state Exp;
|
||
|
branches;
|
||
|
next 1.2;
|
||
|
|
||
|
1.2
|
||
|
date 2008.03.01.19.22.02; author AnnieSimpson; state Exp;
|
||
|
branches;
|
||
|
next 1.1;
|
||
|
|
||
|
1.1
|
||
|
date 2007.08.04.04.19.12; author AnnieSimpson; state Exp;
|
||
|
branches;
|
||
|
next ;
|
||
|
|
||
|
|
||
|
desc
|
||
|
@none
|
||
|
@
|
||
|
|
||
|
|
||
|
1.3
|
||
|
log
|
||
|
@none
|
||
|
@
|
||
|
text
|
||
|
@%META:TOPICINFO{author="AnnieSimpson" date="1204403378" format="1.1" reprev="1.3" version="1.3"}%
|
||
|
%META:TOPICPARENT{name="TechnicalDocuments"}%
|
||
|
<h3>Suggestions for Changes and Additions to the GISIN technical document</h3>
|
||
|
<h4>[[http://www.niiss.org/cwis438/websites/GISINTech/Documentation/Introduction.html?WebSiteID=5][GISIN: Introduction]]</h4> Click on the title to open the document, then use your browser's back button to return to this page and insert your wiki input below.
|
||
|
|
||
|
* Suggested changes:
|
||
|
|
||
|
|
||
|
* Comments:
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
----
|
||
|
-- Main.AnnieSimpson - 01 Mar 2008 - removed document text, added document URL, instructions, and headings for comments.
|
||
|
@
|
||
|
|
||
|
|
||
|
1.2
|
||
|
log
|
||
|
@none
|
||
|
@
|
||
|
text
|
||
|
@d1 1
|
||
|
a1 1
|
||
|
%META:TOPICINFO{author="AnnieSimpson" date="1204399322" format="1.1" reprev="1.2" version="1.2"}%
|
||
|
a15 3
|
||
|
|
||
|
%META:FILEATTACHMENT{name="WebServerTypesGISIN.gif" attachment="WebServerTypesGISIN.gif" attr="" comment="The various types of web services that can participate in the GISIN." date="1186200595" path="C:\Documents and Settings\asimpson\My Documents\My Pictures\Pictures\TDWG\WebServerTypesGISIN.gif" size="2961" stream="C:\Documents and Settings\asimpson\My Documents\My Pictures\Pictures\TDWG\WebServerTypesGISIN.gif" user="Main.AnnieSimpson" version="1"}%
|
||
|
%META:FILEATTACHMENT{name="protocol-steps.png" attachment="protocol-steps.png" attr="" comment="Specific steps required to use the GISIN protocol" date="1186200708" path="C:\Documents and Settings\asimpson\My Documents\My Pictures\Pictures\TDWG\protocol-steps.png" size="7423" stream="C:\Documents and Settings\asimpson\My Documents\My Pictures\Pictures\TDWG\protocol-steps.png" user="Main.AnnieSimpson" version="1"}%
|
||
|
@
|
||
|
|
||
|
|
||
|
1.1
|
||
|
log
|
||
|
@none
|
||
|
@
|
||
|
text
|
||
|
@d1 1
|
||
|
a1 1
|
||
|
%META:TOPICINFO{author="AnnieSimpson" date="1186201152" format="1.1" reprev="1.1" version="1.1"}%
|
||
|
d3 2
|
||
|
a4 93
|
||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
||
|
<title>GISIN: Introduction Document</title>
|
||
|
<link rel='stylesheet' href='W3C-REC.css' type='text/css'>
|
||
|
<link rel='stylesheet' href='custom.css' type='text/css'>
|
||
|
</head>
|
||
|
<body>
|
||
|
<h1>GISIN: Introduction</h1>
|
||
|
|
||
|
<h4>Version: 2.2 -- IntroToGISIN</h4>
|
||
|
<h4>Last Update: 3rd of June, 2007 </h4>
|
||
|
|
||
|
<h2>1. Introduction</h2>
|
||
|
<p>This document provides an introduction to the Global Invasive Species System (GISIN). The goals of this system are to allow users of the world-wide-web to access the large amount of data that is available on invasive species in an easier way. Currently, accessing data on invasive species consists primarily of searching through Goggle, searching the scientific literature to discover individuals who have data, or asking others, i.e., by simple word-of-mouth. After finding the data it can be a time-consuming task to filter through it to find exactly what one is looking for and then convert it into a desired format. </p>
|
||
|
<p>GISIN will changes the user experience by enabling 1) a centralized registry of web sites and services with information on invasive species, 2) web sites where end-users can contribute data and make it available to other web sites, 3) web sites with summaries, maps, and models of invasive species distributions based on all available data, and 4) web portals that allow browsing across all available invasive species data. </p>
|
||
|
<p>This project will only be successful if it is easy for those with invasive species data to add their data into the system. For this reason the system has been built to be as simple and easy as possible for those with data, referred to as data providers, to add their data into the system. </p>
|
||
|
<p>The system must also provide services that are of value to the end-user community. This means it must be easy to access the available data. Ease of access means the system must support the standards, platforms, and languages that are used today on the Internet. It also means any additional standards or vocabularies must be simple, well documented, and easily available.</p>
|
||
|
<p>GISIN has been created and is managed by the Global Invasive Species Information Network (GISIN) and is based on the framework originally created by NISbase, a collaboration between the Smithsonian Institution and the US Geological Survey (Greg Ruiz, Brian Steves, Pam Fuller, and Shawn Dalton) that can be seen at <a href="http://www.nisbase.org">http://www.nisbase.org</a>. </p>
|
||
|
|
||
|
<h2>2. System Components</h2>
|
||
|
<p>The ISS is made up of a variety of components (Figure 1). With the exception of the Registry, any of these components may be created by anyone with access to a web server attached to the Internet. The Registry is maintained by the National Institute for Invasive Species Science (NIISS). Providers include a large variety of organizations and individuals who have information on invasive species and an available web server. Providers include herbariums, museums, resource manages, volunteer groups, and scientific research teams. A Common is a special case of a provider that includes a web site where end-users with data can add their own data into the system without having to manage a web server themselves. Consumers are web servers that wish to access invasive species data within the system. Consumers include servers that provide summaries of the available data, maps of individual species distributions, and models on their potential spread. A portal is a web site that integrates data from multiple providers making it easier for end-users to browse the information. </p>
|
||
|
<p align="center">
|
||
|
<br />
|
||
|
<img src="%ATTACHURLPATH%/WebServerTypesGISIN.gif" alt="WebServerTypesGISIN.gif" width='575' height='187' /><br />
|
||
|
<strong>Figure 1. The various types of web servers that can participate in the Invasive Species System.</strong></p>
|
||
|
<p align="left">Existing examples of portal that are similar to GISIN within the biological and biodiversity community include the Global Biodiversity Information Facility (GBIF) and the Nonindigenous Species Database Network (NISbase). Both of these systems allow users to search across multiple sources of data for information on organisms. GBIF does not handle data that is specific to invasive species and NISbase is focus on aquatic species.GISIN will move forward from these systems to provide more comprehensive support of invasive species data across a wide range of data sources. </p>
|
||
|
|
||
|
<h2>3. Communication Protocol</h2>
|
||
|
<p>One key element in GISIN is a protocol that allows the various web servers to communicate with one another and exchange data. This communication protocol has been specifically designed to meet the needs of the invasive species community but it borrows from other work in the web services industry to insure it is as simple possible, fast, and reliable.</p>
|
||
|
<p>These protocols emerged from client-server technology developed when computer networks first appeared. The World-Wide-Web relies upon a communication protocol call Hypertext Transfer Protocol (HTTP). Browsers such as Internet Explorer, Fire Fox, and NetScape operate as the client on theWeb while 'web servers' operate as the servers, or 'providers'. Whenever the user enters a uniform resource locator (URL) or clicks on a 'hyperlink', the browser makes a request to a web server for additional information. The first part of a URL defines the protocol, typically 'http', the next part is a domain name (i.e. www.google.com) which identifies the web server to receive the URL, the next portion identifies the specific resource (typically a file) desired from the server, while the remainder of the URL contains parameters for the file. These parts of a URL can be seen by examining a typical URL created when searching for 'http' within Google:</p>
|
||
|
<p align="center"> http://www.google.com/search?source=ig&hl=en&q=http</p>
|
||
|
<p>'http' is the acronym for HyperText Transfer Protocol, 'www.google.com' identifies the desired server for the request, 'search' tells the server to execute a search page, while the parameters 'source', 'hl', and 'q' indicate how to execute the search. The web server then returns an HTML file containing the results of the search. Right clicking on the html page in Internet Explorer and selecting 'View Source' will show the actual data that is received from the server. The browser then formats this data for the user to view. The GISIN system uses an almost identical approach as this example for exchanging data on invasive species between computers.</p>
|
||
|
<p>Web protocols are used heavily on the Web to exchange information between computers. If you've ever had one of those annoying adds popup within your browser you are probably seeing the results of a request of a web service request to another computer. Web services are also used to display weather information and Map Quest maps in Web pages. The major differences between a web service request and a URL is that the web service request did not originate with a user's click. Web services are executed by a computer to request information from another computer. The information is then typically parsed and converted into a more readable format for end-users.</p>
|
||
|
<p>GISIN includes a web service protocol specially designed for the exchange of invasive species data on the Internet. There is a specific set of steps that are required to use the protocol (Figure 2).</p><br>
|
||
|
<Center>
|
||
|
Specific steps required to use the GISIN protocol: <br />
|
||
|
<img src="%ATTACHURLPATH%/protocol-steps.png" alt="protocol-steps.png" width='548' height='488' />
|
||
|
<br />
|
||
|
<b>Figure 2. Simplified diagram showing the operation of the protocol.</b>
|
||
|
</center>
|
||
|
|
||
|
<h3>3.1 User Requests Information</h3>
|
||
|
<p>This request can come from clicking on a link in a browser or from a researcher starting a program to extract information by using a web service. The user will specify parameters such as the type of information they are looking for or where they are interested in finding information. If the user wants to know which species were invasive to New Zealand (s)he might enter:</p>
|
||
|
<p>- Location: New Zealand</p>
|
||
|
<p>- Bio Status: Non-Indigenous AND Harmful</p>
|
||
|
|
||
|
<h3>3.2 Create Request String</h3>
|
||
|
<p>Software will convert the user's request into a request string and then send it to the server of interest. For the example above the request string might look like:</p>
|
||
|
<p>/www.invasivespecies.org/giss.php?DataType=CheckList&LocationType=Country&LocationCode=New Zealand &Native=No&Harmful=Yes</p>
|
||
|
<p>'www.invasivespecies.org' identifies the server while 'giss.php' is a file on the server of interest and both of these would have been obtained from the registry. DataType indicates the user wants check lists. LocationType indicates we are looking for a country while LocationCode specifies the particular country of interest. Native and Harmful then indicate the specific parameters for this search.</p>
|
||
|
|
||
|
<h3>3.3 Parse Request For Parameters</h3>
|
||
|
<p>The server that receives the request will parse out the parameters to obtain:</p>
|
||
|
<ul>
|
||
|
<li>DataType=CheckList</li>
|
||
|
<li>LocationType=Country</li>
|
||
|
<li>LocationCode=New Zealand</li>
|
||
|
<li>Native=No</li>
|
||
|
<li>Harmful=Yes</li>
|
||
|
</ul>
|
||
|
|
||
|
<h3>3.4 Build A SQL Query String</h3>
|
||
|
<p>A Structure Query Language string would typically be built that executes the desired operation such as:</p>
|
||
|
<p>SELECT * <BR />
|
||
|
FROM CheckLists<br />
|
||
|
WHERE LocationType='Country' AND LocationCode='New Zealand AND Native='No' AND Harmful='Yes'</p>
|
||
|
<p>Note: This example is shown for instructional purposes, but in reality the types, codes, native, and harmful fields would be converted to integer identifiers for speed. </p>
|
||
|
|
||
|
<h3>3.5 Database</h3>
|
||
|
<p>The query string is sent to the database which will return a record set. The record set will contain the first row of data that matched the user's request and a cursor that can be used to obtain the remaining data. This cursor is similar to a cursor in a spreadsheet program such as Excel, where you can move the cursor down to examine each row.</p>
|
||
|
|
||
|
<h3>3.6 Fetch the Record Set and Convert the Records to XML</h3>
|
||
|
<p>The script will then fetch all the records that match the user's request from the database and will format them into XML. Below is a portion of an XML document for our example: </p>
|
||
|
<blockquote>
|
||
|
<p><CheckLists><br />
|
||
|
<CheckList><br />
|
||
|
<Location Type='Country' Code='New Zealand'/><br />
|
||
|
<BioStatus Native='No' Harmful='Yes' .../><br />
|
||
|
<ScientificName Genus='Tamarix' Species='ramossima'/><br />
|
||
|
</CheckList><br />
|
||
|
</CheckLists></p>
|
||
|
</blockquote>
|
||
|
|
||
|
<h3>3.7 Parse XML for information</h3>
|
||
|
<p>The data is returned to the client as an HTTP response and can then be parsed for display to the user. This display could be as an HTML table or the data could be stored in a database for later retrieval. </p>
|
||
|
|
||
|
<h2>4. Registry </h2>
|
||
|
<p>The registry provides a central location to find out specific details about information provides and other invasive species related resources. The registry can be searched through a web browser or through web services to find resources in a particular area that contain information about specific invasive species.</p>
|
||
|
<p>The Registry can be considered a directory to the contents of the GISIN information system, containing metadata about information providers and the type of content they offer.</p>
|
||
|
</body>
|
||
|
</html>
|
||
|
d6 10
|
||
|
a15 1
|
||
|
-- Main.AnnieSimpson - 04 Aug 2007
|
||
|
@
|