[OSM-talk] rendering boundaries

Francisco R. Santos frsantos at gmail.com
Wed Sep 26 19:02:21 BST 2007


2007/9/26, Abigail Brady <morwen at evilmagic.org>:
>
> On 9/26/07, TSA <rjtehpwn at gmail.com> wrote:
> >
> > But it is still unclear what to use for border_type. Someone should
> > update the wiki because that one still says to use boundary=national.
> > I do still think it is unclear to have the same rendering for city
> > borders as for country borders
> >
>
> There should be several visually related renderings that form a
> progression, so that country borders have the thickest/boldest lines, and
> commune boundaries form the smallest.  Mapping from names of types of units
> (county, district, municipality, region, department, parish, commune,
> canton, state, etc...) to significance level is probably going to depend
> upon the country, unfortunately.


I can see two solutions:

1.- Add data for the renders:  use a border_level tag to specify that. So a
border_type=canton with border_level=5 in one country will render the same
as border_type=department with border_level=5 in other. Each country
community should define which border_level matches which border_type,
starting from some common types for all countries (like border_type=country,
border_level=1).

2.- Define the type classification for each country, and let the renders
guess the right renderings according to the border_type and lat/lon.

Quico
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20070926/ad248a46/attachment.html>


More information about the talk mailing list