Closed fritzmg closed 5 years ago
Thanks @fritzmg !
Before reviewing your PR, can you make sure it passes every test ? Thanks.
Sure, no problem, I'll check the failling test.
Sorry, I just had a look at your PR and I can not accept it because it breaks the testReverseWithSubLocalityLevels()
test !
Detail: Admin levels should be:
Your PR returns no admin level.
I submitted a new PR (#943) that should fix issue #793
Ah thank you - I unfortunately never got around to look at this.
Fix for #793
If an
AdminLevel
has the exact same code, name and level, it will lead to anexception in willdurand\geocoder. This PR filters such
AdminLevel
s. It also works withof course, but I am not sure what the best practise for object comparison is.