Skip to content

Commit

Permalink
Skip hamlets in belgium in district
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikmoree committed Dec 23, 2021
1 parent cf184c4 commit f6b09e2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ private void completePlace(PhotonDoc doc) {
for (AddressRow address : addresses) {
AddressType atype = address.getAddressType();
if (doc.getCountryCode() == CountryCode.NL && address.rankAddress == 14) continue;
if (doc.getCountryCode() == CountryCode.BE && address.rankAddress == 20) continue;

if (atype != null
&& (atype == doctype || !doc.setAddressPartIfNew(atype, address.getName()))
Expand Down

0 comments on commit f6b09e2

Please sign in to comment.