Dear All, imagine coordinations forming '8' - two touching closed rings. What is the best way to create multipolygons from them?
I've tried geometryFactory.createPolygon(coordinates), it converts it to the desired shape, but the result geometry is invalid (and failing in the next operations). Actually, ordering of my coords can be found here http://drifted.in/other/jts/polygon_invalid.png Currently I create separate lineStrings for each couple of subsequent coords which I pass to the polygonizer. It produces the desired output (multiple polygons), but it seems to be an overkill. Are there better ways? Thanks, Jan
<<attachment: winmail.dat>>
------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________ Jts-topo-suite-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user
