Issue Type: Improvement Improvement
Affects Versions: 8.0-RC1
Assignee: Justin Deoliveira
Attachments: GEOT-4164.patch
Components: graph extension
Created: 03/Jun/12 3:27 PM
Description:

I used the graph extension with a dataset that had small errors where lines which were supposed to be connected were a fraction of a millimeter off. The error was not visible in a map, but in the graph the lines were not connected.

I wrote a couple of classes that allows a graph to be built with a tolerance. If a point is within the tolerance distance of an existing node, that point is snapped to the existing node. The tolerance can be set, and is 0.01 as default.

I don't know if this is useful and you want to include it in geotools, but I've attached it as a patch. If not, just close the jira

(The code is also available on https://github.com/bakk/geotools/tree/acdd510aa996238fd9f9bd83cb9da45ae8e31a42)

Project: GeoTools
Priority: Major Major
Reporter: Anders Bakkevold
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to