[openstreetmap/openstreetmap-website] Nominatim starts to be more strict regarding viewbox parameter (Issue #4138)

mtmail notifications at github.com
Thu Aug 3 15:10:52 UTC 2023


### URL

https://www.openstreetmap.org/search?query=banana#map=0/-41/-108

### How to reproduce the issue?

1. Zoom out until more than one "world" is displayed. 2. Search for a place.

Newest Nominatim (version 5, master) returns an error
```
curl 'https://dulcy.openstreetmap.org/search.php?q=london&format=xml&viewbox=-300,-90,300,90'
<error>
    <code>400</code>
    <message>Bounding box coordinates invalid.</message>
</error>
```

Older Nominatim was more forgiving
```
curl 'https://vhagar.openstreetmap.org/search.php?q=london&format=xml&viewbox=-300,-90,300,90'
<searchresults timesta[....]opyright' querystring='london' viewbox='-180,-90,180,90' exclude_place_ids='307[...]
```

cc @lonvia 

### Screenshot(s) or anything else?

![image](https://github.com/openstreetmap/openstreetmap-website/assets/3727288/359ac321-0b5b-471b-9625-13f41c06ad9d)


-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/4138
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/4138 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230803/a78a6c15/attachment-0001.htm>


More information about the rails-dev mailing list