Coder Social home page Coder Social logo

Comments (6)

karussell avatar karussell commented on June 16, 2024 2

This is now implemented as described.

from directions-api.

davenewza avatar davenewza commented on June 16, 2024 1

@karussell: Is it possible to suggest an interim solution? If name doesn't exist, could we perhaps concatenate street, city, stateand country (if they aren't empty)?

from directions-api.

timminata avatar timminata commented on June 16, 2024

Thanks for creating the issue guys, has anyone been looking into it?

from directions-api.

karussell avatar karussell commented on June 16, 2024

Not yet, sorry.

from directions-api.

karussell avatar karussell commented on June 16, 2024

Related komoot/photon#199

from directions-api.

karussell avatar karussell commented on June 16, 2024

@davenewza Probably it would be more consistent to use a fallback in the following way:

  • use street if available, if not then:
  • use city if available (plus postcode?), if not then:
  • use state if available if not then:
  • use country

This way it behaves similar for similar queries, e.g. if you query for an address you just get street as name at the moment.

Or what would be the best for your use case?

from directions-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.