API OSM address details

This topic contains 4 replies, has 4 voices, and was last updated by  Kiran 6 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #455682

    Peter Schlegel
    Expired Member
    Post count: 2

    Hello!
    Is it possible the change / adjust the details which are displayed in ‘address’ and ‘city’?
    Currently the API for OSM puts a combo of different geo-data into ‘address’ but I would like to restrict it to ROAD and HOUSE_NUMBER for a correct postal address in Germany.

    Kind Regards,
    Peter

    #455695

    Paolo
    Site Admin
    Post count: 31211

    Currently we use what the API returns, I’m not sure this can be changed. Probably you’d be better off using Google Maps.

    In any case I asked to the developers to let us know if we can strip anything but street name and number.

    Thanks

    #455699

    Peter Schlegel
    Expired Member
    Post count: 2

    Hi Paolo,

    Thanks a lot for your quick reply.

    What the API returns is quite fine – I just want to alter the details which are stored to ‘address’ and ‘city’.
    Please see my attachment.

    Regards,
    Peter

    #455719

    Guust
    Moderator
    Post count: 29970

    You can add anything you like in the street address after setting the marker on the map.
    You can “rename” the city, but it is not always the best idea.
    https://wpgeodirectory.com/docs/manage-location/#merge

    The developers may have better ideas too. Thanks

    #455903

    Kiran
    Moderator
    Post count: 7069

    Hi Peter,

    Currently there is no way to separate separate house number & road form the address returned from OSM api. This can be done only manually from add listing form.

    Kiran

Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount