Martin,
I'm not sure what the difference is between closest Points and closest
vertices. BTW, I've seen others issue an MBR or envelope overlap test
before the ClosestPoint function so ClosestPoint doesn't have to scan
the entire table. I want to warp or rubbersheet a shapefile to another
shapefile. The warping is performed in another program. I've already
written this link generation in Visual basic, I'm just trying to apply
geometry problems I'm familiar with to JEQL. The ClosestPoint function
sounds useful to me, but you may have more pressing matters to finish
first. I should probably stick to the geometry functions already built
and test those.
Keith
On Mar 26, 10:21 am, "Martin Davis" <
mtncl...@gmail.com> wrote:
> Keith,
>
> As usual, I'm curious - what is your use case for wanting to find closest
> vertices, rather than say the closest points?
>
> A nice way to add this functionality would be to provide a
> closestVertices(geom, geom) function, written directly in Java. Then you
> could just use this in a join query.
>
> JTS has a closest points function, so that would be easy to add. Doing
> closestVertices isn't too hard either.
>
> These can easily be added as an extension (a jar file that you just add to
> your JEQL install, and then use an import statement to declare.) I'll try
> and whip something up...
>
> On Wed, Mar 26, 2008 at 7:55 AM, Martin Davis <
mtncl...@gmail.com> wrote:
> > Sigh... I'm happy to see you charging ahead, but I have to admit that
> > SPLIT BY is not yet implemented. It's next on my list to do - as you can see
> > it should be very useful.
>
> > I'll try and think of a short-term workaround for this...
>
> > M
>