Nominatim Zoom Settings

elvin3 months ago

Is there a way to set the zoom setting to the max level of 18, I tried the AddressFormat config and no luck. I can't seem to find any settings regards to the zoom level

Anton Tananaev3 months ago

Zoom 18 is the default we set.

elvin3 months ago

hmm that is weird I tried hitting the reverse manually and getting this back

<reversegeocode timestamp="Sat, 31 Aug 24 22:59:22 +0000" attribution="Data © OpenStreetMap contributors, ODbL 1.0. http://www.openstreetmap.org/copyright" querystring="lat=10.293962922308042&lon=123.96282321689155&zoom=19&addressdetails=1">
<result place_id="1327788" osm_type="node" osm_id="4819036721" ref="Metrobank" lat="10.2940024" lon="123.9629439" boundingbox="10.2939524,10.2940524,123.9628939,123.9629939" place_rank="30" address_rank="30">Metrobank, Basak Road, Santo Niño Village, Basak, Lapu-Lapu, Central Visayas, 6016, Philippines</result>
<addressparts>
<amenity>Metrobank</amenity>
<road>Basak Road</road>
<neighbourhood>Santo Niño Village</neighbourhood>
<village>Basak</village>
<city>Lapu-Lapu</city>
<region>Central Visayas</region>
<ISO3166-2-lvl3>PH-07</ISO3166-2-lvl3>
<postcode>6016</postcode>
<country>Philippines</country>
<country_code>ph</country_code>
</addressparts>
</reversegeocode>

But the Web UI i'm getting this address Address: Basak, PH only

elvin3 months ago

even if I tried doing address detail = 0 i'm getting the complete address
http://nominatim.****.ph/reverse?lat=10.293962922308042&lon=123.96282321689155&zoom=19&addressdetails=0

<reversegeocode timestamp="Sat, 31 Aug 24 23:32:02 +0000" attribution="Data © OpenStreetMap contributors, ODbL 1.0. http://www.openstreetmap.org/copyright" querystring="lat=10.293962922308042&lon=123.96282321689155&zoom=19&addressdetails=0">
<result place_id="1327788" osm_type="node" osm_id="4819036721" ref="Metrobank" lat="10.2940024" lon="123.9629439" boundingbox="10.2939524,10.2940524,123.9628939,123.9629939" place_rank="30" address_rank="30">Metrobank, Basak Road, Santo Niño Village, Basak, Lapu-Lapu, Central Visayas, 6016, Philippines</result>
</reversegeocode>

Metrobank, Basak Road, Santo Niño Village, Basak, Lapu-Lapu, Central Visayas, 6016, Philippines but in the UI is only showing up Basak, PH

elvin3 months ago

got it solve using %f on the format

Anton Tananaev3 months ago

Have you actually configured the address format?