Filter Encoding: Unterschied zwischen den Versionen

Aus Geometa Lab OST
Zur Navigation springen Zur Suche springen
K (Die Seite wurde neu angelegt: „Filter Encoding (FE) aktuell Version 2.0.0, ein XML-Format (Enccoding) für die Graphic Query Language (GQL) - einem Spatial SQL Dialekt - passend zum WFS. S…“)
 
KKeine Bearbeitungszusammenfassung
 
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
Filter Encoding (FE) aktuell Version 2.0.0, ein XML-Format (Enccoding) für die Graphic Query Language (GQL) - einem Spatial SQL Dialekt - passend zum [[WFS]].
Filter Encoding (FE) aktuell Version 2.0.0, ein XML-Format (Enccoding) für die Graphic Query Language (GQL) - einem Spatial SQL Dialekt - passend zum [[WFS]].
Siehe auch:
* [http://www.opengeospatial.org/standards/filter Filter Encoding Specification 2.0.0 by OGC]
* [[WFS]]


Software, die FE unterstützt (Server und Client):
Software, die FE unterstützt (Server und Client):
Zeile 5: Zeile 9:
* [[OpenPOIMap]] Webservice auf Basis eFeatureServer.
* [[OpenPOIMap]] Webservice auf Basis eFeatureServer.


Siehe auch:
== Syntax (Auszug) ==
* [http://www.opengeospatial.org/standards/filter Filter Encoding Specification 2.0.0 by OGC]
* And, Or
* [[WFS]]
* PropertyIsEqualTo,PropertyIsNotEqualTo
* PropertyIsLessThan, PropertyIsLessThanOrEqualTo
* PropertyIsGreaterThan, PropertyIsGreaterThanOrEqualTo
 
== Beispiele ==
 
Alle Beispiele können z.B. mit [[OpenPOIMap]] ausprobiert werden:
 
Get feature with fid 2048766363:
  <Filter>
    <FeatureId fid="2048766363"/>
  </Filter>
 
Get feature with "(osm_id=2048766363)":
  <Filter>
    <PropertyIsEqualTo>
        <PropertyName>osm_id</PropertyName>
        <Literal>2048766363</Literal>
    </PropertyIsEqualTo>
  </Filter>
 
Get features with "(amenity=restaurant)":
  <Filter>
    <PropertyIsEqualTo>
        <PropertyName>amenity</PropertyName>
        <Literal>restaurant</Literal>
    </PropertyIsEqualTo>
  </Filter>
 
Get features with "(amenity=restaurant) OR (amenity=bar)":
  <Filter>
    <Or>
        <PropertyIsEqualTo>
          <PropertyName>amenity</PropertyName>
          <Literal>restaurant</Literal>
        </PropertyIsEqualTo>
        <PropertyIsEqualTo>
          <PropertyName>amenity</PropertyName>
          <Literal>bar</Literal>
        </PropertyIsEqualTo>
    </Or>
  </Filter>

Aktuelle Version vom 20. Dezember 2012, 19:47 Uhr

Filter Encoding (FE) aktuell Version 2.0.0, ein XML-Format (Enccoding) für die Graphic Query Language (GQL) - einem Spatial SQL Dialekt - passend zum WFS.

Siehe auch:

Software, die FE unterstützt (Server und Client):

Syntax (Auszug)

  • And, Or
  • PropertyIsEqualTo,PropertyIsNotEqualTo
  • PropertyIsLessThan, PropertyIsLessThanOrEqualTo
  • PropertyIsGreaterThan, PropertyIsGreaterThanOrEqualTo

Beispiele

Alle Beispiele können z.B. mit OpenPOIMap ausprobiert werden:

Get feature with fid 2048766363:

 <Filter>
    <FeatureId fid="2048766363"/>
 </Filter>

Get feature with "(osm_id=2048766363)":

 <Filter>
    <PropertyIsEqualTo>
       <PropertyName>osm_id</PropertyName>
       <Literal>2048766363</Literal>
    </PropertyIsEqualTo>
 </Filter>

Get features with "(amenity=restaurant)":

 <Filter>
    <PropertyIsEqualTo>
       <PropertyName>amenity</PropertyName>
       <Literal>restaurant</Literal>
    </PropertyIsEqualTo>
 </Filter>

Get features with "(amenity=restaurant) OR (amenity=bar)":

 <Filter>
    <Or>
       <PropertyIsEqualTo>
          <PropertyName>amenity</PropertyName>
          <Literal>restaurant</Literal>
       </PropertyIsEqualTo>
       <PropertyIsEqualTo>
          <PropertyName>amenity</PropertyName>
          <Literal>bar</Literal>
       </PropertyIsEqualTo>
    </Or>
 </Filter>