Vicky Vergara
Vicky Vergara
So for example: Length units are in meters because in my country we use meters. Cost units are in seconds because I am using meters for length ``` id cCar...
I am pasting some stuff from OSRM's car LUA taken from here: https://github.com/Project-OSRM/osrm-backend/blob/master/profiles/car.lua: you can compare the with the foot LUA where the values change https://github.com/Project-OSRM/osrm-backend/blob/master/profiles/foot.lua The LUA language allows...
A couple of nodes: (from data from #44) ``` (first node) (second node) ``` Ways related to the node: - a segment (from 1 node to another node) of Southeast...
when I read the code int he link https://github.com/Project-OSRM/osrm-backend/blob/master/extractor/scripting_environment.cpp For example the lua function defined in car LUA, I dont see when its being used: ``` local function parse_maxspeed(source) if...
@dkastl about: if we keep the OSM ID as a reference to the original OSM data. Then someone can use osm2psql (supports hstore) to import the whole data and link...
What ever we do, the car description in the xml file that is being read as the moment, either it can stay as xml, or as LUA data, the new...
I think it is important: store way's OSM ID store nodes's OSM ID regardless if we give them a new node id or not (because pgRouting doesn't support BIGINT yet)...
Maybe this link deserves a deeper research, it talks about using lua in a database. https://www.mapbox.com/blog/osrm-using-external-data/
@robe2 - cost, reverse_cost get the CRS `length` (I cheched and its the same result as ST_length(the_geom) but on on ways streets (one_way = 1 or one_way = -1) the...
Or maybe use [pgr_pointtoedgenode](http://docs.pgrouting.org/v2.1.0-beta/src/common/doc/convenience/point_to_edgenode.html#pgr-point-to-edgenode)