Skip to content

[MapBox lookup] Ommited result #1676

Open
@CarlosUvaSilva

Description

@CarlosUvaSilva

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions