Open tohaklim opened 6 months ago
To reproduce:
Yes, Nomatin does not return address.state
which is used by the website.
{
// other attributes
"address":{
"city":"Berlin",
"ISO3166-2-lvl4":"DE-BE",
"country":"Deutschland",
"country_code":"de"
}
}
Frauentag is defined as PH for Berlin.
It is as @jaller94 wrote.
Someone please clarify if that is expected behaviour of Nominatim. If not, this library needs to be updated.
From what I could see in the code, location to be applied to PH/SH evaluation is based on reverse geocoding of coordinates which are fed to Nominatim, not on the hardcoded tag values of the POI itself. Yet when I wanted to check this REWE on 8th March, expecting it to be closed due to PH off, it was shown as open. I played around with the validation, and got eg the following error when inserting SH
There are no holidays (SH) defined for country de and state {{state}}.
Does that mean the PH evaluation fails because reverse geocoding can't determine the state, despite having the country?