[MapBox lookup] Ommited result
Author: CarlosUvaSilvaCreated Dec 19, 2024Updated Jun 7, 2025
Expected behavior
Using Mapbox as the lookup API I'm getting some ommited results
e.g -> "geometry"=>{"type"=>"Point", "coordinates"=>[X, Y], "interpolated"=>true, "omitted"=>true}
I want to accept these results as valid instead of ignoring and using the next one in the array.
Actual behavior
Geocoder actually ignores ommited: true results instead of using them
Steps to reproduce
Geocoder.search("Rua Egas Moniz 8, 1900-218, Lisboa")
Environment info
- Geocoder version:
1.8.3 - Rails version:
8.0.1 - Database (if applicable):
- Lookup (if applicable):
mapbox
Source: alexreisner/geocoder