GithubHelp home page GithubHelp logo

Routing with my points about osrm HOT 2 CLOSED

riatelab avatar riatelab commented on June 23, 2024
Routing with my points

from osrm.

Comments (2)

Robinlovelace avatar Robinlovelace commented on June 23, 2024

Update: was an issue of not providing the right data class I think - this fixed it:

origin = tmap::geocode_OSM("Bradford")
destination = tmap::geocode_OSM("Leeds")
o = SpatialPointsDataFrame(matrix(origin$coords, ncol = 2), proj4string = CRS("+init=epsg:4326"),
                           data.frame(name = "o"))
d = SpatialPointsDataFrame(matrix(destination$coords, ncol = 2), proj4string = CRS("+init=epsg:4326"),
                           data.frame(name = "d"))
ro = osrmRoute(o, d, sp = T)

Great work btw - have you seen our implementation in stplanr?

Thinking it could be good to join forces on this, to avoid duplication of effort...

from osrm.

rCarto avatar rCarto commented on June 23, 2024

Hi,
stplanr is really nice and has a lot of features.

I would like to keep osrm as a standalone package. I need it for my work and I need it to be a, relatively, lightweight package.

Do you think that's a good idea to :

  • submit osrm to rOpenSci
  • add the 'nearest' function (and any missing features) to the package
  • adapt stplanr to use osrm as a dependency

I am open to any suggestions.

from osrm.

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.