[Geoserver-devel] GetFeature maker !

Hello !!

I just finished my "GetFeature Request Maker" :o)
It's a java applet (need JRE 1.4) which provides a interface to easily make WFS compliant requests.
For the moment, it's in French (I will translate everything in a few days, with the doc), and it could have more features given by the spec (but I don't have time to improve it).
This applet can take results for a getFeature request and rebuild a geometry collection from these features' geometries, in order to re-use the geometry collection in another request. (Then you can make some sort of cascading requests)

BUT !!!! I still have a problem with the "PropertyIsBetween" Filter :frowning:
This filter doesn't work :
<Filter>
  <PropertyIsBetween>
    <PropertyName>gid</PropertyName>
    <LowerBoundary>10</LowerBoundary>
    <UpperBoundary>20</UpperBoundary>
  </PropertyIsBetween>
</Filter>

The exception happens with "current state is LowerBoundary"
I think I'm following the spec; I don't know where's the problem !
(Note that PropertyIsGreaterThan , or PropertyIsEqualTo , etc... are working well)
Any ideas ???

When this problem is solved, the applet is finished.
If you're interested in the code, just ask me !

Steph

_________________________________________________________________
Trouvez l'âme soeur sur MSN Rencontres ! http://g.msn.fr/FR1000/9551

BUT !!!! I still have a problem with the "PropertyIsBetween" Filter :frowning:
This filter doesn't work :
<Filter>
  <PropertyIsBetween>
    <PropertyName>gid</PropertyName>
    <LowerBoundary>10</LowerBoundary>
    <UpperBoundary>20</UpperBoundary>
  </PropertyIsBetween>
</Filter>

The exception happens with "current state is LowerBoundary"
I think I'm following the spec; I don't know where's the problem !
(Note that PropertyIsGreaterThan , or PropertyIsEqualTo , etc... are working
well)
Any ideas ???

So I don't have time right now to really figure out the spec, if it's
wrong and where, so if anyone wants to delve into that let me know and we
can update GeoServer. But to get your query working, code it like this:

<Filter>
   <PropertyIsBetween>
     <PropertyName>gid</PropertyName>
     <LowerBoundary><Literal>10</Literal></LowerBoundary>
     <UpperBoundary><Literal>20</Literal></UpperBoundary>
   </PropertyIsBetween>
</Filter>

That's how the geotools filter reader was coded to work. Looking through
the filter spec I'm not sure I really understand it, but it looks like
Lower and Upper Boundary types should have an expression element. But
yes, example 9 does not have the Literal element, though example 10 does,
but it seems wrong because it is named Between instead of
PropertyIsBetween. So, I'm not sure what is the correct way, but the
geoserver way is to use expressions within the Lower and Upper boundaries,
so if you do it that way then things should work.

When this problem is solved, the applet is finished.
If you're interested in the code, just ask me !

I'd be interested in checking out the code. And if you have the applet
publically available somewhere I'd love to check it out in action.

  Chris

Steph

_________________________________________________________________
Trouvez l'âme soeur sur MSN Rencontres ! http://g.msn.fr/FR1000/9551

-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

On Tuesday 15 Jul 2003 6:54 pm, Chris Holmes wrote:

> When this problem is solved, the applet is finished.
> If you're interested in the code, just ask me !

I'd be interested in checking out the code. And if you have the applet
publically available somewhere I'd love to check it out in action.

Yes, me too.

--
Cameron Shorter http://cameron.shorter.net
Open Source Developer http://generguide.sourceforge.net
                             http://mapbuilder.sourceforge.net
                             http://geotools.org
Senior Software Engineer http://www.adi-limited.com