[geos-devel] Porting LengthIndexedLine.project?
Howard Butler
hobu.inc at gmail.com
Tue Aug 11 21:51:23 EDT 2009
Filing a ticket and attaching the patch is the best way to ensure it
doesn't get lost. Putting a milestone on it (like 3.2) will also help
ensure someone looks at it.
Howard
On Aug 11, 2009, at 8:22 PM, David Turner wrote:
> Did I send this to the right place? Or should I create a ticket
> somewhere? Or is my patch totally off-base?
>
> Just trying to make sure this doesn't get lost in the noise.
>
> On Fri, 2009-08-07 at 16:45 -0400, David Turner wrote:
>> OK, I've done the port. A patch, with ported tests, is attached.
>>
>> On Thu, 2009-07-23 at 11:13 -0400, David Turner wrote:
>>> JTS has a class called LengthIndexedLine with a method "project",
>>> which
>>> lets you figure out the nearest point on a line to a given
>>> point. This
>>> is useful, for instance, if you are trying to figure out what
>>> street a
>>> person is on from (possibly slightly inaccurate) GPS observations.
>>>
>>> http://tsusiatsoftware.net/jts/javadoc/com/vividsolutions/jts/linearref/LengthIndexedLine.html#project(com.vividsolutions.jts.geom.Coordinate)
>>>
>>> PostGIS calls this function st_line_locate_point.
>>>
>>> GEOS doesn't seem to have it, even though I was under the impression
>>> that GEOS was merely a port of JTS. If I port JTS's project
>>> function
>>> and related functions such as extractPoint to GEOS, would that
>>> patch be
>>> likely to be accepted? Or am I missing something about the
>>> relationship
>>> between JTS and GEOS?
>>>
>>>
>>> _______________________________________________
>>> geos-devel mailing list
>>> geos-devel at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/geos-devel
>> _______________________________________________
>> geos-devel mailing list
>> geos-devel at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/geos-devel
>
> _______________________________________________
> geos-devel mailing list
> geos-devel at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geos-devel
More information about the geos-devel
mailing list