{"action":"created","issue":{"url":"https://api.github.com/repos/pgRouting/osm2pgrouting/issues/65","labels_url":"https://api.github.com/repos/pgRouting/osm2pgrouting/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/pgRouting/osm2pgrouting/issues/65/comments","events_url":"https://api.github.com/repos/pgRouting/osm2pgrouting/issues/65/events","html_url":"https://github.com/pgRouting/osm2pgrouting/issues/65","id":82215932,"number":65,"title":"Tags used for routing","user":{"login":"cvvergara","id":5035290,"avatar_url":"https://avatars.githubusercontent.com/u/5035290?v=3","gravatar_id":"","url":"https://api.github.com/users/cvvergara","html_url":"https://github.com/cvvergara","followers_url":"https://api.github.com/users/cvvergara/followers","following_url":"https://api.github.com/users/cvvergara/following{/other_user}","gists_url":"https://api.github.com/users/cvvergara/gists{/gist_id}","starred_url":"https://api.github.com/users/cvvergara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvvergara/subscriptions","organizations_url":"https://api.github.com/users/cvvergara/orgs","repos_url":"https://api.github.com/users/cvvergara/repos","events_url":"https://api.github.com/users/cvvergara/events{/privacy}","received_events_url":"https://api.github.com/users/cvvergara/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pgRouting/osm2pgrouting/labels/Discussion","name":"Discussion","color":"000000"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-29T02:11:50Z","updated_at":"2015-05-29T03:09:54Z","closed_at":null,"body":"Topic derived friom #64\r\nTags needed to detect \"road\" segments\r\nTags needed to assign default lua values, that are on roads (highway, residential, paved)\r\nTags needed  to assign default lua values, that are on vertices (stop lights,  barriers)\r\nI mention default Lua values, because I think that if osm_id 's for edges and vertices are stored in the data base the lua values can also be stored in separate tables and by a sequence of joins the new lua values can be set up.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pgRouting/osm2pgrouting/issues/comments/106669409","html_url":"https://github.com/pgRouting/osm2pgrouting/issues/65#issuecomment-106669409","issue_url":"https://api.github.com/repos/pgRouting/osm2pgrouting/issues/65","id":106669409,"user":{"login":"cvvergara","id":5035290,"avatar_url":"https://avatars.githubusercontent.com/u/5035290?v=3","gravatar_id":"","url":"https://api.github.com/users/cvvergara","html_url":"https://github.com/cvvergara","followers_url":"https://api.github.com/users/cvvergara/followers","following_url":"https://api.github.com/users/cvvergara/following{/other_user}","gists_url":"https://api.github.com/users/cvvergara/gists{/gist_id}","starred_url":"https://api.github.com/users/cvvergara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvvergara/subscriptions","organizations_url":"https://api.github.com/users/cvvergara/orgs","repos_url":"https://api.github.com/users/cvvergara/repos","events_url":"https://api.github.com/users/cvvergara/events{/privacy}","received_events_url":"https://api.github.com/users/cvvergara/received_events","type":"User","site_admin":false},"created_at":"2015-05-29T03:09:54Z","updated_at":"2015-05-29T03:09:54Z","body":"The current way of handling tags to be extracted is using this file:\r\nhttps://github.com/pgRouting/osm2pgrouting/blob/master/mapconfig.xml\r\nSo you are suggesting to use lua scripts instead of that file.\r\nAnd actually you are suggesting to have a file for car, a file for truck a file for etc,  and generate one table with cost for car reverse_cost for car, cost for truck, reverse_cost for truck etc.\r\nThat is process one time the osm file and have multiple columns for it. \r\nAnd a table for the turn restrictions for car, another one for truck, another one for pedestrian.\r\nDid I understand your idea?\r\n"}}