Hi,

I bit the bullet and had a go at mapping the public ICEDS WCS server
metadata (thanks to Jeremy Morley for permission to use this and
generating the extra traffic) to the OGC ebRIM catalog profile.

Firstly I had to fix the OGC schemas so they compiled, I received
great help from Peter Vretanos, and Farrukh - many thanks.  I would
really appreciate if anyone could look at my ebXML document for ICEDS
(attached) and check it makes sense - in particular I couldn't get GML
types in for the spatial bbox they wouldn't validate in XMLSpy for the
value element,  there is limited metadata in a capabilities document
but it should work.  I am guessing that the OGC spec on this is a
recommendation paper, since I had to fiddle with the examples to make
them validate in XML Spy (free home edition :-) ).

Full details on add the ogc profile to ebxmlrr (omar) (so the ISO
classifications) are available here

http://ebxmlrr.sourceforge.net/wiki/index.php/Community/ogc

and setting it up with JBoss and PostgreSQL here

http://ebxmlrr.sourceforge.net/wiki/index.php/Deploy/container/JBoss

The next steps are to add the CSW interface to ebxmlrr, and to add a
spatial query plugin, and to write a stylesheet to generate the ebXML
doc from a capabilities document.

Must admit that despite my own FUD about ebRIM I am sold, as soon as I
did a search for LANDSAT in the ebxmlrr query interface saw all of its
metadata, found the associated service which was classified as a WCS -
it is everything I dreamed of.  It would be interesting to map the
GRASS WPS so we can search for datasets, and then processing services
using standard taxonomies.

Am I right in thinking that MapBuilder is a CSW client, could this be
an ajax map client to ebxmlrr?

Appreciate I am spamming a bit, once I have received all the input on
this I suggest restricting this to the geodata and ebxmlrr groups, so
if you are interested please sign up to these.

many thanks and looking forward to your input,

Norman
<?xml version="1.0" encoding="UTF-8"?>
<SubmitObjectsRequest xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0" xmlns:gml="http://www.opengis.net/gml"; xmlns:lcm="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0" xmlns:query="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:rim="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns:rs="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0
http://www.oasis-open.org/committees/regrep/documents/3.0/schema/lcm.xsd";>
        <rs:RequestSlotList>
            <rim:Slot name="urn:oasis:names:tc:ebxml-regrep:rim:RegistryObject:dontVersion">
                <rim:ValueList>
                    <rim:Value>true</rim:Value>
                </rim:ValueList>
            </rim:Slot>
            <rim:Slot name="urn:oasis:names:tc:ebxml-regrep:rim:RegistryObject:dontVersionContent">
                <rim:ValueList>
                    <rim:Value>true</rim:Value>
                </rim:ValueList>
            </rim:Slot>
        </rs:RequestSlotList>
        <rim:RegistryObjectList>
        
        <!-- objectType didn't get passed through, added a separate classification -->
        <rim:Service id="urn:x-ogc:specification:csw-ebrim:Service:OGC-CSW:ebRIM:ICEDS" objectType="urn:x-ogc:specification:csw-ebrim:Service:OGC-WCS">
             <rim:Slot name="OnlineResource">
                <rim:ValueList>
                    <rim:Value>http://iceds.ge.ucl.ac.uk/cgi-bin/icedswcs?</rim:Value>
                </rim:ValueList>
            </rim:Slot>
            <!-- map Dublin Core keywords from the getCapabilities document -->
            <rim:Slot name="http://purl.org/dc/elements/1.1/subject";>
               <rim:ValueList>
                    <rim:Value>ICEDS</rim:Value>
                    <rim:Value>WCS</rim:Value>
                    <rim:Value>LANDSAT</rim:Value>
                    <rim:Value>SRTM</rim:Value>
               </rim:ValueList>
            </rim:Slot>
            <rim:Slot name="Fees">
                <rim:ValueList>
                    <rim:Value>None</rim:Value>
                </rim:ValueList>
            </rim:Slot>
            <rim:Slot name="AccessConstraints">
                <rim:ValueList>
                    <rim:Value>None</rim:Value>
                </rim:ValueList>
            </rim:Slot>     
            <rim:Name>
                <rim:LocalizedString xml:lang="en" value="ICEDSWCS"/>
            </rim:Name>
            <rim:Description>
               <rim:LocalizedString xml:lang="en" value="ICEDS (Integrated CEOS European Data Server) WCS"/>
            </rim:Description>
            <!-- classify the service -->
            <rim:Classification id="urn:uuid:F08D43B8-D307-11DB-A57B-418A56D89593" classificationNode="urn:x-ogc:specification:csw-ebrim:Service:OGC-WCS" classifiedObject="urn:x-ogc:specification:csw-ebrim:Service:OGC-CSW:ebRIM:ICEDS">
                <rim:Name>
                  <rim:LocalizedString value="ICEDSWCS" xml:lang="en-US"/>
                </rim:Name>
            </rim:Classification>
            
            <!-- bind the GET requests -->
            <rim:ServiceBinding id="urn:uuid:8C3FE2A4-D26B-11DB-9245-9A5D56D89593"
               home="http://iceds.ge.ucl.ac.uk/"; status="Approved"
               service="urn:x-ogc:specification:csw-ebrim:Service:OGC-CSW:ebRIM:ICEDS"
               accessURI="http://iceds.ge.ucl.ac.uk/cgi-bin/icedswcs?";>
                <rim:Slot name="outputFormat">
                 <rim:ValueList>
                   <rim:Value>text/xml</rim:Value>
                   <rim:Value>application/vnd.ogc.se_xml</rim:Value>
                 </rim:ValueList>
               </rim:Slot>          
               <rim:Name>
                 <rim:LocalizedString xml:lang="en" value="GetCapabilities"/>
               </rim:Name>
             </rim:ServiceBinding>
            <rim:ServiceBinding id="urn:uuid:F09F64D6-D26B-11DB-B0D9-825E56D89593"
               home="http://iceds.ge.ucl.ac.uk/"; status="Approved"
               service="urn:x-ogc:specification:csw-ebrim:Service:OGC-CSW:ebRIM:ICEDS"
               accessURI="http://iceds.ge.ucl.ac.uk/cgi-bin/icedswcs?";> 
               <rim:Slot name="outputFormat">
                 <rim:ValueList>
                   <rim:Value>text/xml</rim:Value>
                   <rim:Value>application/vnd.ogc.se_xml</rim:Value>
                 </rim:ValueList>
               </rim:Slot>         
               <rim:Name>
                 <rim:LocalizedString xml:lang="en" value="DescribeCoverage"/>
               </rim:Name>
             </rim:ServiceBinding>  
             <rim:ServiceBinding id="urn:uuid:1FD9D1CC-D281-11DB-A5B5-FC8156D89593"
               home="http://iceds.ge.ucl.ac.uk/"; status="Approved"
               service="urn:x-ogc:specification:csw-ebrim:Service:OGC-CSW:ebRIM:ICEDS"
               accessURI="http://iceds.ge.ucl.ac.uk/cgi-bin/icedswcs?";> 
               <rim:Slot name="outputFormat">
                 <rim:ValueList>
                   <rim:Value>text/xml</rim:Value>
                   <rim:Value>application/vnd.ogc.se_xml</rim:Value>
                 </rim:ValueList>
               </rim:Slot>         
               <rim:Name>
                 <rim:LocalizedString xml:lang="en" value="GetCoverage"/>
               </rim:Name>
             </rim:ServiceBinding>  
        </rim:Service>
        
         <rim:ExtrinsicObject id="urn:uuid:6BAB3C60-D274-11DB-B611-236E56D89593" objectType="urn:x-ogc:specification:csw-ebrim:ObjectType:Dataset">
                <!-- map Dublin Core keywords from the DescribeCoverage document -->
                <rim:Slot name="http://purl.org/dc/elements/1.1/subject";>
                   <rim:ValueList>
                        <rim:Value>JPL</rim:Value>
                        <rim:Value>WCS</rim:Value>
                        <rim:Value>LANDSAT 5</rim:Value>
                   </rim:ValueList>
                </rim:Slot>
                <rim:Slot name="http://www.opengis.net/gml/Envelope"; slotType="gml:EnvelopeType">
                  <rim:ValueList>
                    <rim:Value>-30,-35 65,80</rim:Value>
                  </rim:ValueList>
                </rim:Slot>
                <rim:Slot name="outputFormat">
					 <rim:ValueList>
					   <rim:Value>geotiff_int16</rim:Value>
					 </rim:ValueList>
               </rim:Slot>     
                <rim:Name>
                    <rim:LocalizedString xml:lang="en" value="landsat"/>
                </rim:Name>
                <rim:Description>
                    <!-- this should be ISO19139, FGDC -->
                   <rim:LocalizedString xml:lang="en" value="LANDSAT 5 imagery for Africa and Europe"/>
                </rim:Description>
             </rim:ExtrinsicObject>        
        
        <!-- define responsible party -->
        <rim:User id="urn:uuid:831B5E64-D267-11DB-98C1-345556D89593">
          <rim:Name>
            <rim:LocalizedString value="Morley, Jeremy" charset="UTF-8" xml:lang="en-GB"/>
          </rim:Name>
          <rim:Description/>
          <rim:Address streetNumber="" street="Gower Street" postalCode="WC1E 6BT" city="London" stateOrProvince="" country="UK"/>
          <rim:PersonName middleName="" lastName="User" firstName="Test"/>
          <rim:TelephoneNumber number="+44(0)2076792740" countryCode="GB" phoneType="OfficePhone"/>
          <rim:TelephoneNumber number="+44(0)2073800453" countryCode="GB" phoneType="FAX"/>
          <rim:EmailAddress address="[EMAIL PROTECTED]"/>
        </rim:User>              
        
        <!-- define organisation -->
        <rim:Organization id="urn:uuid:AD26D330-D269-11DB-91F3-885A56D89593" primaryContact="urn:uuid:831B5E64-D267-11DB-98C1-345556D89593">
          <rim:Name>
            <rim:LocalizedString value="Geomatic Engineering Department - UCL" xml:lang="en-US"/>
          </rim:Name>
          <rim:Address streetNumber="" street="Gower Street" postalCode="WC1E 6BT" city="London" stateOrProvince="" country="UK"/>
          <rim:TelephoneNumber number="+44(0)2076792740" countryCode="GB" phoneType="OfficePhone"/>
          <rim:TelephoneNumber number="+44(0)2073800453" countryCode="GB" phoneType="FAX"/>
        </rim:Organization>        

      <!-- associate datasets with the service -->
      <rim:Association id="urn:uiid:B9B32114-D280-11DB-AB4C-A08156D89593" associationType="urn:x-ogc:specification:csw-ebrim:AssociationType:OperatesOn" targetObject="urn:uuid:6BAB3C60-D274-11DB-B611-236E56D89593" sourceObject="urn:x-ogc:specification:csw-ebrim:Service:OGC-CSW:ebRIM:ICEDS"/>

        <!-- register an association between the ICEDS service and the providing organisation -->
        <rim:Association associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:OffersService" id="urn:uuid:78DC7EB2-D26A-11DB-BA9B-D25B56D89593" targetObject="urn:x-ogc:specification:csw-ebrim:Service:OGC-CSW:ebRIM:ICEDS" sourceObject="urn:uuid:AD26D330-D269-11DB-91F3-885A56D89593"/>
        
        <!-- register an affiliation between the UCL and the ICEDS responsible party (J. Morley) -->
        <rim:Association associationType="urn:oasis:names:tc:ebxml-regrep:AssociationType:AffiliatedWith" id=   "urn:uuid:74328970-D269-11DB-B346-F45956D89593" sourceObject="urn:uuid:831B5E64-D267-11DB-98C1-345556D89593" targetObject="urn:x-ogc:specification:csw-ebrim:Service:OGC-CSW:ebRIM:ICEDS"/>

	</rim:RegistryObjectList>
</SubmitObjectsRequest>
_______________________________________________
Geowanking mailing list
[email protected]
http://lists.burri.to/mailman/listinfo/geowanking

Reply via email to