Opened 6 years ago

Closed 6 years ago

#4960 closed defect (wontfix)

Incomplete polygon points returned for "London"

Reported by: flamingtoast Owned by: geocoding@…
Priority: major Milestone:
Component: nominatim Version:
Keywords: london, polygon, nominatim Cc:

Description

The nominatim API returns an incomplete set of polygon points that only cover half of london (http://nominatim.openstreetmap.org/search.php?format=json&q=london&limit=1&polygon=1), yet using the OSM nominatim web interface gives us the complete shape: (http://nominatim.openstreetmap.org/search.php?q=london&viewbox=-168.76%2C62.6%2C168.76%2C-62.6&polygon=1). Why is this happening?

Plotting the points returned by the API yields this shape: http://i.imgur.com/iVGIAS3.jpg

Change History (2)

comment:1 Changed 6 years ago by flamingtoast

Priority: minormajor

comment:2 Changed 6 years ago by Sarah Hoffmann

Resolution: wontfix
Status: newclosed

The polygon parameter does not support multipolygons (never did and probably never will because the implementation is a CPU and memory hog). Just use one of the polygon_* parameters, they always return complete geometries (although they might get slightly simplified at some point).

Note: See TracTickets for help on using tickets.