Am 10.08.2013 um 18:49 schrieb [email protected] <[email protected]>:
> Is there a way I can test whether a point is within a certain distance from a
> polygon considering the polygon as a line and not as area? One workaround
> would be to have a geometry with a hole but there may be a better approach.
>
If you want to calculate the distance to the polygon's outer ring, you can
retrieve that with Polygon#getExteriorRing()
HTH Jan
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Jts-topo-suite-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user