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 | }}} |