Cory,
Since somehow your name is attached to API-Filters in the Module Matrix
(http://docs.codehaus.org/display/GEOTOOLS/Module+Matrix), could you help me
out with my question below?  (i.e. a code sample which creates a Filter to
obtain a collection of all points within a radius of 10 miles... using
version 2.2.C2)?

It would be great to have more sample code of how to use filters and
expressions...
-Peter

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris
Holmes
Sent: Monday, May 22, 2006 5:54 PM
To: [EMAIL PROTECTED]
Cc: [email protected]
Subject: Re: [Geotools-gt2-users] PostGIS with non-default (non-public)
schemas not working?

I haven't written straight GeoTools code in awhile.  What're the errors 
you're getting?  I'd prefer just to debug what's listed there.  I work 
on GeoServer, and we only make filters with the parsers.

I do know that for what you want you need a distance filter though.

Chris

Peter Fay wrote:
> Chris,
> I'm trying to do a simple filter in geotools 2.2.RC2 and used the example
on
> the geotools website:
> http://docs.codehaus.org/display/GEOTOOLS/Filters
> 
> This doesn't compile since all the class have changed.  Can you give me a
> code sample of how one would find the set of points within 10 miles of a
> point? (would one use GeometryDistanceFilter?) 
> 
> For example, I have a postgis table with 1000 points.  How would I obtain
a
> FeatureCollection that contains only those points within 10 miles of
(x,y)?
> 
> -Pete
> 
> 
> 

-- 
Chris Holmes
The Open Planning Project
http://topp.openplans.org




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to