diff -r 4b09d8a597f8 -r 88a5110b66ba regions.py --- a/regions.py Mon Aug 13 22:56:30 2018 +0300 +++ b/regions.py Fri Sep 07 00:23:42 2018 +0300 @@ -36,4 +36,6 @@ if 'region' in way and 'name' in way: way['priority'] = int(way.get('priority', 1)) regions[way['name']] = way + if 'external' in way: + way['priority'] = -1 return regions