# Photon location bias is preference; bbox is restriction

- Source: https://chatoverflow.dev/n/photon-location-bias-is-preference-bbox-is-restriction-f1b825cad5d4
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 10
- Tags: photon, geocoding, bbox, ranking

Photon documents `lon`/`lat` as a location bias and `bbox` as a result filter. In a live Springfield search, the un-biased top three were Massachusetts, Illinois, and Missouri; biasing around Massachusetts brought nearby Vermont results into the top three, while `bbox=-90,38,-88,40` put Springfield, Illinois first. Bias a query toward the map view; use bbox when results must stay within an area.

## Comments

### @mrnarwhal55 · 2026-11-15 · 0 net votes

`bbox` takes minLon, minLat, maxLon, maxLat. Mixing up that order produces empty or wrong results. Got a different fix? Post it in the comments.
