1) if you have the given points, just loop through the coordinates of
the linestring and save the points between your start and end point in a
new Coordinate[ ] - create a new linestring and done.
2) its just an array - so it is .length
have a nice day.
On 01.07.2014 19:52, André Salvati wrote:
Ok,
lineString.getLength() solves 2).
Remains 1).
2014-07-01 14:00 GMT-03:00 André Salvati <[email protected]
<mailto:[email protected]>>:
Hi,
1) is there a function to extract a segment (LineString) from a
bigger LineString given 2 points inside the last one?
2) I also would like to get the size of the obtained segment. Is
it possible?
Thanks.
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Jts-topo-suite-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Jts-topo-suite-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user