Opened 7 years ago

Closed 7 years ago

#4815 closed defect (fixed)

reverse.php crashes in bulgaria.osm data (fix included)

Reported by: alon.gingold@… Owned by: geocoding@…
Priority: critical Milestone:
Component: nominatim Version: 1.0
Keywords: Cc:


I've imported bulgaria.osm into a Nominatim VM, and reverse.php with zoom=18 & addressdetails=1 returns a blank page for coordinates in Bulgaria (it works fine on other imports of other countries). After tracing it, I found the problem: inside the Nominatim "functions.sql", there is a type called "addressline". This type has a field called osm_id. This field is defined as INTEGER, but there are locations in Bulgaria (and I'm guessing elsewhere) that the OSM_ID is higher then the maximum INTEGER number.. I changed it to BIGINT, recreated the type and the get_addressdata function which depends on it, and everything is OK. I can see the problem in

Change History (1)

comment:1 Changed 7 years ago by Sarah Hoffmann

Resolution: fixed
Status: newclosed

This has been already fixed in the latest version on github. You will need to update your VM to the latest development version of Nominatim.

Note: See TracTickets for help on using tickets.