Hi Martin,
could you just give me a workig code-snippet for it?
What do you mean with your sentence
The one thing this won't tell you is which side of the line the
resultants are on - you'll have to determine this in some other way.
Quoting Martin Davis <[EMAIL PROTECTED]>:
Ah, yes, I remember Kevin's clever solution now. Good that it works
for you... You could do exactly the same in JTS (in fact the PostGIS
solution uses GEOS, which is basically JTS). Use MCIndexNoder to node
the polygon and linestring together, Polygonizer to polygonize the
noded edges, and then PointLocater to determine which of the resultant
polygons correspond to the input polygon.
The one thing this won't tell you is which side of the line the
resultants are on - you'll have to determine this in some other way.
Dipl. Inf. Carsten Eider wrote:
Look at this solution, it works great for me
http://postgis.refractions.net/pipermail/postgis-users/2008-May/019904.html
Martin Davis schrieb:
Oh - what's your PostGIS solution? Do they have a
polygon-splitting method?
And I agree - it would be nicer to have this in JTS...
Dipl. Inf. Carsten Eider wrote:
Hi Martin,
i have found a solution based on PostGIS, works very fine.
But it makes my solution depding on postigs, i would prefera
small jar-file to be included.
Martin Davis schrieb:
Not yet, unfortunately. But I think uDig has something for
this, and OpenJUMP might do as well.
Dipl. Inf. Carsten Eider wrote:
Hi folks,
is there an implemented way how to split a polygon by a line?
Thx Carsten
_______________________________________________
jts-devel mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jts-devel
_______________________________________________
jts-devel mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jts-devel
_______________________________________________
jts-devel mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jts-devel
--
Martin Davis
Senior Technical Architect
Refractions Research, Inc.
(250) 383-3022
_______________________________________________
jts-devel mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jts-devel
_______________________________________________
jts-devel mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jts-devel