Hi,
I'm a beginner with JTS and this is my first post here.
We've been working with geofences for a vehicle tracking app and I would
like to know what solution could give me a lower CPU consumption.
1) Calculate and store a Buffered Area (100 meters) from a LineString
object. Run 4 million times if my vehicle positions are inside or not that
precalculated with contains() method.
2) Run 4 million times isWithinDistance() method from LineString for each
position.
Are there another options?
Thanks.
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Jts-topo-suite-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user