镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Always get the address id #1164

Open
Open

Description

@jbelien

[...]
is it possible to get the address id also when the provider list the results ..

For example arcgis have an id to identify that address, its possible to get that info also on the result array?

Originally posted by @mrelliot69 in #1163 (comment)

Activity

  1. jbelien commented on Oct 1, 2022

    @jbelien
    MemberAuthor

    Some providers return an identifier for the address some don't.
    It really depends on the provider (either because the external API do not return an identifier, or because it has not been implemented in the Geocoder PHP provider).
    Nothing we can do about the first case, but if it's missing in our provider, we can easily add it (via a PR).

  2. mrelliot69 commented on Oct 1, 2022

    @mrelliot69

    In this case for example the arcgis and the mapbox one return allways the id, but when getting that info using the library , only returns the info like address, latitude, longitude,... but never the id

    If we can add that, that would be great

  3. jbelien commented on Oct 1, 2022

    @jbelien
    MemberAuthor

    If it's provided by the external API, it's definitely not an issue to add it to our providers.

    PR are more than welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions