Changes between Version 11 and Version 12 of ExtendedRegions


Ignore:
Timestamp:
Jan 3, 2013, 6:41:16 AM (12 years ago)
Author:
jesseeichar
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ExtendedRegions

    v11 v12  
    121121 * geomtype - (optional) defines if geom is wkt or gml.  allowed values are wkt and gml.  if not specified the it is assumed the geometry is wkt
    122122
    123 '''XmlSearch and CswSearch Integration'''
     123'''!XmlSearch and !CswSearch Integration'''
    124124
    125125The !XmlSearch API will be modified so the geom parameter can either be WKT or have the form: region:id, where id is the id of the region to use as a geometry.  If the region has a geometry then that geometry will be loaded otherwise the bbox will be used to create a polygon geometry.
     
    135135
    136136For example:
    137 
     137{{{
     138<csw:GetRecords xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" service="CSW" version="2.0.2" resultType="results_with_summary" startPosition="1" maxRecords="10">
     139  <csw:Query typeNames="csw:Record">
     140    <csw:ElementSetName>full</csw:ElementSetName>
     141    <ogc:SortBy xmlns:ogc="http://www.opengis.net/ogc">
     142      <ogc:SortProperty>
     143        <ogc:PropertyName>relevance</ogc:PropertyName>
     144        <ogc:SortOrder>DESC</ogc:SortOrder>
     145      </ogc:SortProperty>
     146    </ogc:SortBy>
     147    <csw:Constraint version="1.0.0">
     148      <ogc:Filter xmlns:ogc="http://www.opengis.net/ogc">
     149        <ogc:And>
     150          <ogc:PropertyIsEqualTo>
     151            <ogc:PropertyName>similarity</ogc:PropertyName>
     152            <ogc:Literal>0.8</ogc:Literal>
     153          </ogc:PropertyIsEqualTo>
     154          <ogc:Within>
     155            <ogc:PropertyName>ows:BoundingBox</ogc:PropertyName>
     156            <gml:MultiPolygon xmlns:gml="http://www.opengis.net/gml" gml:id="kantone:10,kantone:22"/>
     157          </ogc:Within>
     158        </ogc:And>
     159      </ogc:Filter>
     160    </csw:Constraint>
     161  </csw:Query>
     162</csw:GetRecords>
     163}}}
    138164
    139165'''Implementation Notes'''