<div dir="ltr"><div class="gmail_extra">On Wed, Mar 13, 2013 at 12:13 PM, Jochen Topf <span dir="ltr"><<a href="mailto:jochen@remote.org" target="_blank">jochen@remote.org</a>></span> wrote:<br><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">On Tue, Mar 12, 2013 at 07:00:25PM +0100, Peter Körner wrote:<br>
> That's not that easy for the polar regions, because transforming the<br>
> splittet polygons to the destination projection results in gaps<br>
> because of straigt lines not beeing curved.<br>
><br>
> For the land there are complete polygons which are used on the<br>
> Antarctica map but there are no complete water polygons, because<br>
> they would be too complex (a huge polygon with 400.000+ holes).<br>
><br>
> So in order to get this right one would need to modify jochend<br>
> osmcoastline tool to support EPSG:3031 natively, to all corrdinates<br>
> are transformed before splitting and calculating the water polygons.<br>
<br>
</div>Another option would be to split up the long straight lines resulting from<br>
the splitting into shorter pieces. If the pieces are short enough, it should<br>
be okay. Maybe there is some tool around that can do that easily? I don't<br>
want to put more and more of these things into OSMCoastline, because they<br>
are not really related to coastlines, but general issues with large objects.<br></blockquote></div><br><div>I have done this in the past with the split land and water shapefiles to work with polar projections. ogr2ogr's -segmentize option with a value of 0.1 worked well for me on the WGS84 files.</div>
<div><br></div>-- <br>AJ Ashton
</div></div>