Giter Club home page Giter Club logo

lunch-walk's People

Contributors

victor-savu avatar

Watchers

 avatar

lunch-walk's Issues

Show directions

Provide a link with directions to the selected food truck. It may be an external link (e.g. to Google Maps)

Pre-compute walking distance to carts

While in #4 we get accurate walking distances, as our customer base gets bigger/hungrier, we will make excessive calls to the Bing Maps API and run up a mighty bill.
Is there a way to buy the static maps data and implement some rudimentary query operations that would reduce our dependency on external APIs?

Slim down the requested data

The original data from the city of San Francisco contains more information than we need.

Implement an adapter service that narrows the data down to the necessary columns.

List 5 nearest food trucks

For the minimum functionality, present a web page with two input fields: latitude and longitude and a search button.

Display the 5 nearest food carts to the input location.

Approximation: use Euclidean distance and assume that latitude and longitude are Cartesian coordinates.

Note for later: This approximation, while good for a Proof of Concept, will break down pretty quickly. The Earth's curvature is negligible for our case, but elevation can change abruptly in San Francisco even over short distances, which affects walk times. Furthermore, the street layout will likely prohibit the user from walking in a straight line to any destination, so the Euclidean distance is an optimistic estimate.

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.