There is a split line tool in uDig you could look at, but it will be a
similar kind of thing - use of the JTS Geometry library.

--
Jody Garnett

On 2 June 2016 at 14:25, Gabriella Turek <gabriella.tu...@niwa.co.nz> wrote:

> Hi Jody this will come in very handy for us as well, I was just about to
> ask the same question of the list.
>
> But additionally, we also need to split up polygons (for example when
> looking at flooding in rural areas,
>
> a paddock may be only partially flooded). Is there any documentation on
> how to best tackle that?
>
> Thanx
>
> Gaby
>
>
>
> *From: *Jody Garnett <jody.garn...@gmail.com>
> *Date: *Friday, 3 June 2016 07:44
> *To: *JAzz90 <jaazz...@gmail.com>
> *Cc: *GeoTools Users <geotools-gt2-users@lists.sourceforge.net>
> *Subject: *Re: [Geotools-gt2-users] Splitting linestring using points
>
>
>
> Geometry is handled by the JTS library, the LineString/MultiLineString
> geometry object has methods to find the nearest point on a line, and split
> a line on a point.
>
>
>
> here is how to snap a point to a line,
> http://docs.geotools.org/stable/userguide/library/jts/snap.html
>
>
>
> and SplitLineOp
> http://www.vividsolutions.com/jump/javadoc/com/vividsolutions/jump/workbench/ui/cursortool/SplitLineStringsOp.html
>
>
> --
>
> Jody Garnett
>
>
>
> On 30 May 2016 at 22:36, JAzz90 <jaazz...@gmail.com> wrote:
>
> Hello GeoTools Comunity.
>
> Is there a way to split a linestring using Points that afflict the line and
> get 2 lines in return ?
>
> Thanke you for your help.
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Splitting-linestring-using-points-tp5268963.html
> Sent from the geotools-gt2-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> _______________________________________________
> GeoTools-GT2-Users mailing list
> GeoTools-GT2-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and
> traffic
> patterns at an interface-level. Reveals which users, apps, and protocols
> are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> _______________________________________________
> GeoTools-GT2-Users mailing list
> GeoTools-GT2-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
>
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to