[OSM-talk] Osmosis and large bounding polygons

Karl Newman siliconfiend at gmail.com
Tue Jan 8 05:27:10 GMT 2008


On Jan 7, 2008 5:27 PM, Milenko <milenko at king-nerd.com> wrote:

>  The polygon file is quite large - around 10MB if I remember correctly.
> Most of the states are only 100KB or so, so it is much much larger than any
> of the states.
>
> Is there any easy way to edit these polygon files?  They're basically just
> a list of lat and lon values I think, but it'll take forever to edit one of
> that size by hand.
>
> I'll try it without the larger heap size as well, but if I remember
> correctly java was using around 300MB or so of RAM while it was running.
> I'll double-check it though.
>
> -Jeremy
>

I don't know of an "easy" way to edit it, but you could look for the corners
of the east and west coastlines and slice out big sections of coastline
detail. A graphical editor would be handy (or a translation into a format
which has a graphical editor), but it might not be as bad as you think.

The Java virtual machine may well be using 300 MB (it's a pig) but the
Osmosis app itself is probably using less than 100 MB, I'd guess.

Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20080107/95488511/attachment.html>


More information about the talk mailing list