My current code is modeled after ConvexHullTest which references
org.opengis.geometry.Geometry
In order to use PreparedGeometryFactory, I need to switch to
com.vividsolutions.jts.geom.Geometry

Please confirm that the two Geometry types are compatible.

BTW I searched all Java files under geotools but didn't find any reference
to IndexedPointInAreaLocator

Thanks

On Sun, Jul 10, 2011 at 5:13 PM, Ted Yu <[email protected]> wrote:

> Can you show some example of query using multi-geometry ?
>
> Thanks
>
>
>
> On Jul 10, 2011, at 4:02 PM, Jody Garnett <[email protected]> wrote:
>
> On Monday, 11 July 2011 at 8:50 AM, Ted Yu wrote:
>
> What I plan to do is to check whether any of 100K locations is outside a
> group of geometries.
>
> Is your 100K locations in a data format of some sort? If so make a query
> with your group of geometry (make a multi-geometry out of it and use it in a
> query).
>
> DirectPosition is not Geometry. So I must resort to MultiPoint which
> actually only contains one point ?
>
> DirectPosition is only used for referencing; it is part of ISO 19107
> geometry - which has not proved useful yet. By useful I mean attracted
> enough funding to be used. See: -
> http://docs.geotools.org/latest/userguide/library/opengis/geometry.htmlfor 
> common questions.
>
> Also, I downloaded geotools which doesn't contain IndexedPointInAreaLocator
> or PreparedGeometryFactory
>
> If you download geotools we include the jts-library.
>
> Do I have to resort to vividsolutions' distribution?
>
> It is included in the download (or I have made a mistake - can you check
> please)!
>
> Jody
>
>
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to