[Imports] Administrative Boundaries and Divisions in Portugal

Sander Deryckere sanderd17 at gmail.com
Mon Apr 13 11:10:25 UTC 2015

There are in fact 3 possible methods.

1) use completely separate ways and nodes
2) reuse nodes of existing roads and rivers, but with partially overlapping
3) cut the roads and rivers and add sections of those to the boundary

I personally liked and still like the first method. As that means it's
easier to import, but also easier to maintain the boundaries. You can just
download all boundaries of a certain region via overpass, and shift nodes
around to align them to a better source. When start modifying boundaries
with partially-downloaded data in the other cases, you quickly run into
trouble. Certainly because boundaries usually span a big area, it's not
practical to download the entire area when you just want to update a few
borders. Also the other way around, when editing features like roads and
rivers, it's harder to break the borders by accident when they're not
connected at all.

OTOH, when a road is actually on a boundary, and the boundary is not
connected to the road at all, then the road can be completely on one side
of the boundary. This may create extra difficulties with search engines
(who won't find that road in the other village). However, Nominatim isn't
good at handling border-addresses anyway, no matter how the border is

But it's up to the Portuguese community to decide how to map their borders

I would like to see a wiki page explaining which tags you'll use though. Is
it only admin_level and name, or do you have bilingual names somewhere, are
you planning to add custom keys (f.e. keys used by the national agency of
statistics), can postal codes be defined on boundaries in Portugal, ...?

Good luck with your import ;)


2015-04-13 10:29 GMT+02:00 Martin Koppenhoefer <dieterdreist at gmail.com>:

> > Am 13.04.2015 um 03:46 schrieb Marcos Oliveira <
> marcosoliveira.2405 at gmail.com>:
> >
> > or not to use independent ways all the time or to use elements of the
> map (i.e. rivers, roads) whenever the administrative limit overlaps said
> features.
> I'd say this depends on the definition of the border, if it's defined as
> the river, add the tags to the river, if it "coincidentally" overlaps then
> use a distinct way.
> Cheers
> Martin
> _______________________________________________
> Imports mailing list
> Imports at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/imports
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/imports/attachments/20150413/83174ff9/attachment.html>

More information about the Imports mailing list