Skip to content

CRAN version

Compare
Choose a tag to compare
@rCarto rCarto released this 20 Oct 09:16
· 38 commits to master since this release
ccc58c8

Major changes

  • drop sp support (deprecate returnclass, to be removed in the next minor vesrion), osrm no longer accepts sp objects, nor sp results
  • refactor to better display server error and warnings messages
  • use RcppSimdJson instead of jsonlite
  • use mapiso instead of isoband code for isopolygon creation
  • osrmTable():
    • change in args order (loc, src, dst, ... => src,dst, loc, ...)
    • loc, src, dst accept data.frame, matrix, sfc and sf objects
    • identifiers are not needed, osrm uses row.names or indexes
    • better input type checking
  • osrmRoute():
    • loc, src, dst accept data.frame, matrix, sfc and sf objects
    • identifiers are not needed, osrm uses row.names or indexes
    • better input type checking
  • osrmTrip():
    • loc accepts vector of coordinates, data.frame, matrix, sfc and sf objects
    • identifiers are not needed, osrm uses row.names or indexes
    • better input type checking
  • osrmIsochrone() & osrmIsometric():
    • loc, src, dst accept data.frame, matrix, sfc and sf objects
    • identifiers are not needed, osrm uses row.names or indexes
    • better input type checking
    • the sf output has now three fields (id, isomin and isomax)
    • osrmIsometric() has been renamed to osrmIsodistance()