[OSM-talk] How *NOT* to map

Morten Kjeldgaard mok at bioxray.au.dk
Tue Sep 29 13:39:06 BST 2009


Martin Koppenhoefer wrote:

> 2009/9/29 Morten Kjeldgaard <mok at bioxray.au.dk>:
>> I zoomed out and noticed that the national border along the Mediterranean
>> coast of Sicily and the rest of Italy and also France look really bad. Is
>> there a reason why the border isn't off the coast like it is most places,
>> e.g. Spain?
> 
> we're currently talking about this on talk-it (and have already done
> so in the past), the reason that it is still like this is not that we
> wouldn't like to change it, but that noone had time/will to do it till
> now (we imported all borders from national institute of statistics).
> 
> Does anyone have a script to calculate the 12nm-offset and probably
> simplify the outcome?

I don't but it should be relatively easy to compute using the following
algorith:

- At each node on the coastline, produce a circle of 12 nmi.
- Remove all circle points that are inside some other circle.
- simplify

Since the coastline ends somewhere, there may be some edge effects that need
fixing afterwards.

-- Morten






More information about the talk mailing list