#46 TopologyPreservingSimplifier fails in multithreaded environment

v1.0 (example)
open
nobody
9
2014-08-14
2014-04-21
No

In class com.vividsolutions.jts.simplify.TaggedLineStringSimplifier field "LineIntersector li" and method "hasInteriorIntersection" are static and do not support multithreaded access. When used in heavy multithreaded environment some points are not simplified because are false-treated as interior intersections.

Possible solutions:
1. make field and method non-static
2. add synchronization section
3. do not use class fields in LineIntersector (result, inputLines, ...)

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks