osm-pl/osm-addr-tools

Problem z gminą Górzno

Closed this issue · 0 comments

zibik commented

./merger.py --gugik --terc 0402053
[CUT]
INFO:mapping:Inconsitent mapping for addr:street:sym_ul = 15710. Original value: Parkowa, TERYT: Parkowa, OSM values: Zamkowa, Parkowa. Leaving original value.
INFO:mapping:Inconsitent mapping for addr:street:sym_ul = 23814. Original value: Wczasowa, TERYT: Wczasowa, OSM values: Wczasowa, Wałbrzyska. Leaving original value.
Traceback (most recent call last):
File "./merger.py", line 830, in
main()
File "./merger.py", line 791, in main
data = dataFunc()
File "./merger.py", line 785, in
dataFunc = lambda: imp.getAddresses()
File "/home/zibi/osm-tools/impa/osm-addr-tools/punktyadresowe_import.py", line 386, in getAddresses
data = self.fetchTiles()
File "/home/zibi/osm-tools/impa/osm-addr-tools/punktyadresowe_import.py", line 641, in fetchTiles
map(self._convertToAddress, doc.iterchildren('{http://www.opengis.net/kml/2.2}Placemark'))
File "/home/zibi/osm-tools/impa/osm-addr-tools/punktyadresowe_import.py", line 599, in _convertToAddress
addr_kv.get(str_normalize('IDENTYFIKATOR_PUNKTU'))
File "/home/zibi/osm-tools/impa/osm-addr-tools/punktyadresowe_import.py", line 150, in mappedAddress
ret = Address.mappedAddress_kpc(_args, *_kwargs)
File "/home/zibi/osm-tools/impa/osm-addr-tools/punktyadresowe_import.py", line 156, in mappedAddress_kpc
ret = Address(_args, *_kwargs)
File "/home/zibi/osm-tools/impa/osm-addr-tools/punktyadresowe_import.py", line 146, in init
assert not street or street == street.strip()
AssertionError