We use JTS Topology Suite for our Geometry; which is based on representing 
curves using a chain of straight line segments (called a line string). 

Jody

On 06/10/2010, at 7:10 PM, Peter Neubauer wrote:

> Hi folks,
> I am wondering if there are any good algos or libraries out there to
> aid with snapping points onto the nearest geometry (not just lines). I
> would like to be able to suggest OSM streets (with a number of
> waypoints and curves) close to a point.
> 
> I found some suggestion at
> http://docs.codehaus.org/display/GEOTDOC/Closest+Point+on+a+Line#ClosestPointonaLine-SnappingwithSnappyPerformance
> but that seems to work only for lines, not curved shapes?
> 
> Any help is appreciated!
> 
> Cheers,
> 
> /peter neubauer
> 
> VP Product Development, Neo Technology
> 
> GTalk:      neubauer.peter
> Skype       peter.neubauer
> Phone       +46 704 106975
> LinkedIn   http://www.linkedin.com/in/neubauer
> Twitter      http://twitter.com/peterneubauer
> 
> http://www.neo4j.org               - Your high performance graph database.
> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
> 
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to