Ticket #1308 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

Unexpected WFS GetFeature results with Postgis layer

Reported by: assefa Owned by: mapserverbugs
Priority: high Milestone:
Component: WFS Server Version: unspecified
Severity: normal Keywords:
Cc:

Description

e-mail from Tom Kralidis

Assefa,

I tested this scenario with CVS 20050328 (the day before you committed
to mapogcfilter.c and mapogcfilter.h), and everything works fine.

So the problem is somewhere in those changes.

Here's the actual OGC filter:

<Filter>
 <And>
  <BBOX>
   <PropertyName>NAME</PropertyName>
    <Box srsName="EPSG:4326">
     <coordinates>-141.84,21.599999999999994 -56.16,74.16</coordinates>
    </Box>
  </BBOX>
  <Or>
   <Or>
    <PropertyIsLike wildCard="*" singleChar="." escape="!">
     <PropertyName>title</PropertyName>
     <Literal>benthic</Literal>
    </PropertyIsLike>
    <PropertyIsLike wildCard="*" singleChar="." escape="!">
     <PropertyName>abstract</PropertyName>
     <Literal>benthic</Literal>
    </PropertyIsLike>
   </Or>
   <PropertyIsLike wildCard="*" singleChar="." escape="!">
    <PropertyName>keywords</PropertyName>
    <Literal>benthic</Literal>
   </PropertyIsLike>
  </Or>
 </And>
</Filter>

Change History

Changed 8 years ago by assefa

  • status changed from new to closed
  • resolution set to fixed
The bug was intrduced during the latest changes done to optimize wfs filter 
with postgis/otrcale latyer (Bug 1292).

Corrected and tested with Tom's filter.
Note: See TracTickets for help on using tickets.