Home
OGC Network

WFS Simple - Atom/GeoRSS example

Contents

GetCapabilities Request

http://atom.example.com/wfs?service=WFSSIMPLE&version=1.0.0&REQUEST=GetCapabilities

GetCapabilities Response

<?xml version="1.0" encoding="UTF-8"?>
<wfsb:WFS_Simple_Capabilities version="1.0.0" updateSequence="0" xmlns="http://www.opengis.net/ows"
    xmlns:wfs="http://www.opengis.net/wfs" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink" 
	    xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengeospatial.net/wfs/1.1.0/wfs.xsd">

<ServiceIdentification>
   <Title>Cambridge Events</Title>
   <Abstract>Cambridge Events calendar harvested from the City of Cambridge, MA web site</Abstract>
   <Keywords>
      <Keyword>cambridge</Keyword>
      <Keyword>massachusetts</Keyword>
      <Keyword>events</Keyword>
      <Keyword>calendar</Keyword>
   </Keywords>
   <ServiceType>wfssimple</ServiceType>
   <ServiceTypeVersion>1.0.0</ServiceTypeVersion>
   <Fees>none</Fees>
   <AccessConstraints>none</AccessConstraints>
</ServiceIdentification>

<ServiceProvider>
   <ProviderName>Acme, Inc.</ProviderName>
   <ServiceContact>
      <PositionName>Geo Sys Admin</PositionName>
      <ContactInfo>
         <Phone>
            <Voice>1.800.CALL.US</Voice>
         </Phone>
         <Address>
            <ElectronicMailAddress>geoadmin@atom.example.com</ElectronicMailAddress>
         </Address>
      </ContactInfo>
   </ServiceContact>
</ServiceProvider>
  
<OperationsMetadata>
   <Operation name="GetCapabilities">
      <DCP><HTTP><Get xlink:href="http://atom.example.com/wfs"></Get></HTTP></DCP>
   </Operation>
   <Operation name="GetFeature">
      <DCP><HTTP><Get xlink:href="http://atom.example.com/wfs"></Get></HTTP></DCP>
      <Parameter name="outputFormat">
         <Value>text/xml</Value>
      </Parameter>
   </Operation>
   <Operation name="DescribeFeatureType">
      <DCP><HTTP><Get xlink:href="http://atom.example.com/wfs"></Get></HTTP></DCP>
      <Parameter name="outputFormat">
         <Value>text/plain</Value>
      </Parameter>
   </Operation>
</OperationsMetadata>

</wfsb:WFS_Simple_Capabilities>

DescribeFeatureType Request

http://atom.example.com/wfs?service=WFSSIMPLE&version=1.0.0&REQUEST=GetFeatureType&outputFormat=text/plain

DescribeFeatureType Response


The response is XML that conforms to the Atom Syndication format <http://www.ietf.org/rfc/rfc4287.txt>
with GeoRSS extensions <http://www.georss.org/atom.html>

GetFeature Request

http://atom.example.com/wfs?service=WFSSIMPLE&version=1.0.0&REQUEST=GetFeature

GetFeature Response

<feed xmlns="http://www.w3.org/2005/Atom" xmlns:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml">
   <title>Cambridge events for the next 7 days</title>
   <link rel="self" href="http://georss.mit.edu/cambridgeevents.php" />
   <updated>2006-11-02T01:00:00-04:00</updated>
   <link href="http://georss.mit.edu"/>
   <author>
      <name>Raj Singh</name>
      <email>raj@rajsingh.org</email>
      <uri>http://www.rajsingh.org</uri>
   </author>
   <id>http://georss.mit.edu/cambridgeevents/georss/gml</id>
   <entry>
      <title>Art to Go</title>
      <link rel="via" href="http://www.cambridgema.gov/Calendar.cfm?typeid=&amp;calType=City&amp;month=11&amp;view=daily&amp;day=2006-11-05&amp;id=15096"/>
      <id>http://www.cambridgema.gov/Calendar.cfm?typeid=&amp;calType=City&amp;month=11&amp;view=daily&amp;day=2006-11-05&amp;id=15096</id>
      <updated>2006-11-05:00</updated>
      <content type="html">A weekend-long opportunity to rent or purchaseoriginal fine artwork by 30 
artists -- local painters, sculptors, print makers andphotographers -- all hand-selected by Director of 
Salesand Rentals Susan Vrotsos. All artists are members of CambridgeArt Association, a non-profit art 
association, established in 1944, whichhas over 600 members.Cambridge Art Association</content>
      <georss:where>
         <gml:Point>
            <gml:pos>42.375909 -71.13352</gml:pos>
         </gml:Point>
      </georss:where>
   </entry>
   <entry>
      <title>Fresh Pond Reservation Circulation and Access Plan Site Walk</title>
      <link rel="via" href="http://www.cambridgema.gov/Calendar.cfm?typeid=&amp;calType=City&amp;month=11&amp;view=daily&amp;day=2006-11-04&amp;id=15098"/>
      <id>http://www.cambridgema.gov/Calendar.cfm?typeid=&amp;calType=City&amp;month=11&amp;view=daily&amp;day=2006-11-04&amp;id=15098</id>
      <updated>2006-11-04:00</updated>
      <content type="html">This event has been&amp;#160rescheduled due to weather.&amp;#160 
The&amp;#160new date is&amp;#160Saturday, November 4th.&amp;#160 Meet members of Water Department and 
Bioengineering Staff for a walk around the Reservation.&amp;#160&amp;#160 Observe and discuss access 
issues in and around Fresh Pond Reservation with staff members.&amp;#160&amp;#160&amp;#160Learn about 
future access goals.&amp;#160 Please bring a writing utensil, walking shoes and your ideas!</content>
      <georss:where>
         <gml:Point>
            <gml:pos>42.383418 -71.14258</gml:pos>
         </gml:Point>
      </georss:where>
   </entry>
   <entry>
      <title>Family Fun Day</title>
      <link rel="via" href="http://www.cambridgema.gov/Calendar.cfm?typeid=&amp;calType=City&amp;month=11&amp;view=daily&amp;day=2006-11-04&amp;id=14885"/>
      <id>http://www.cambridgema.gov/Calendar.cfm?typeid=&amp;calType=City&amp;month=11&amp;view=daily&amp;day=2006-11-04&amp;id=14885</id>
      <updated>2006-11-04:00</updated>
      <content type="html">Enjoy Face Painting&amp;#8230Magician&amp;#8230Storyteller and Much More!</content>
      <georss:where>
         <gml:Point>
            <gml:pos>42.366904 -71.105927</gml:pos>
         </gml:Point>
      </georss:where>
   </entry>
</feed>