Neighbor houses appear as from different cities

Hi,

I am unable to understand following:
I have these two houses in the same city (Makedonski Brod)

http://www.openstreetmap.org/search?query=%D0%9A%D0%B8%D1%80%D0%B8%D0%BB%20%D0%B8%20%D0%9C%D0%B5%D1%82%D0%BE%D0%B4%D0%B8%D1%98%2024#map=16/41.5179/21.2143&layers=N

http://www.openstreetmap.org/search?query=%D0%91%D1%80%D0%B0%D1%9B%D0%B0%20%D0%9C%D0%B8%D0%BB%D0%B0%D0%B4%D0%B8%D0%BD%D0%BE%D0%B2%D0%B8%2024#map=16/41.5179/21.2143&layers=N

First building appears as following:
Building 24, Kiril i Metodij, Македонски Брод, Makedonski Brod, Municipality of Makedonski Brod, Southwestern Region, 6530, Macedonia

Second building appears as following:
Building 24, Braka Miladinovci, Македонски Брод, Trebino, Municipality of Makedonski Brod, Southwestern Region, 6530, Macedonia

Trebino is a Village a bit on north of Makedonski Brod, why does the second house being in Makedonski Brod appears as from Trebino ?

Thanks in advance,
Javier

Trebino is mapped as a point http://www.openstreetmap.org/node/391880967 As such, the only way that the reverse geocoder (Nominatim?) can decide whether or not something is in it is by distance. One house is probably marginally closer.

If you want accurate reverse geocodes for the administrative hierarchy for a location, you need to map the boundaries as areas. However, that depends on having a source that you can legally use to do that. You may find that some places don’t actually exist officially, so their boundaries are not well defined.

I’m not sure what the policy is on doing a best guess for boundaries, based on boundaries signs on roads, etc., but even if that is considered OK, there may well be houses that are one side of the official boundary, but the other side of the best guess based on usable sources. The policies may vary with country and administrative level.

Incidentally, Trebino claims to be in Porece, but Porece isn’t on the map! That can’t be helping.

Generally, you should not expect reverse geocodes from Nominatim to match what the locals would expect, and you certainly can’t expect them to give postal addresses.