From: Andy Turner <A.G.D.T<urner@le...> - 2005-12-21 10:36:56
There may be something better for doing this in GeoTools.
Anyway, I did something similar when processing global self consistent
hierarchical high resolution shoreline (gshhs) data as described at the
The java code I compiled for doing this at the following URL:
Basically the original shorelines started at 0 and ended at 360 and I
wanted something to start at -180 and finish at 180. Additionally the
inputs were lines and the outputs were lines that could be built as
[mailto:geotools-gt2-users-admin@...] On Behalf Of
Sent: 21 December 2005 00:15
Subject: [Geotools-gt2-users] line/polygon spliting
I'm looking for some code to split polygons or lines along the=20
antimeridian. Does geotools have such a facility?
The use case is that a user is providing a line segment where the west=20
coord is greater than the east coord and I'd like to split the single=20
line feature at the -180 longitude into a multipart line feature.
Any suggestions or pointers would be greatly appreciated!
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files for problems? Stop! Download the new AJAX search engine that
makes searching your log files as easy as surfing the web. DOWNLOAD
Geotools-gt2-users mailing list Geotools-gt2-users@...