Opened 4 years ago

Closed 4 years ago

#5319 closed defect (fixed)

nominatim search error when using polygon=1

Reported by: Georg Baumann Owned by: geocoding@…
Priority: critical Milestone:
Component: nominatim Version:
Keywords: Cc:

Description

Hello,

we get a 500 Internal Server Error when searching for Berlin:

http://nominatim.openstreetmap.org/search?q=,%20,%20Berlin,%20,%20Deutschland&format=json&accept-language=de&polygon=1&addressdetails=1

This search structure worked for over one year but fails since some days or perhaps weeks. The reason is the polygon=1. I know it is deprecated but it is still allowed and used in the sources of the location plugin of the qt framework. So many apps may be affected by this bug.

Change History (1)

comment:1 Changed 4 years ago by Sarah Hoffmann

Resolution: fixed
Status: newclosed

Fixed in 80df4d3/nominatim

It would be lovely if you could also give the developers of the qt location plugin a friendly nudge. Nominatim has all these nice standardized formats for geometries to choose from. And what is even better: the polygon_* functions return correct geometries (unlike polygon which occasionally returns only parts of the polygons and the like). The polygon parameter won't be gone by tomorrow but at some point I'd like see this rather inefficient part of the code removed.

Note: See TracTickets for help on using tickets.