Hi How can I use map data available in shape files and pgsql formats to use in OSRM ? Is there any predefined schema of mapdata in shape format which can be used by the OSRM extracter or similar tool to create the required map data?
Raj > From: [email protected] > Subject: OSRM-talk Digest, Vol 8, Issue 2 > To: [email protected] > Date: Mon, 5 Aug 2013 12:00:38 +0000 > > Send OSRM-talk mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.openstreetmap.org/listinfo/osrm-talk > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of OSRM-talk digest..." > > > Today's Topics: > > 1. Instruction for compiling and running OSRM (Paul Schulz) > 2. Re: Instruction for compiling and running OSRM (Nils Liebelt) > 3. Re: Instruction for compiling and running OSRM (Emil Tin) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 5 Aug 2013 14:11:44 +0930 > From: Paul Schulz <[email protected]> > To: [email protected] > Subject: [OSRM-talk] Instruction for compiling and running OSRM > Message-ID: > <CAGt04nZeLxx0dL2ip2u0=nu8=3XwBYEpdznWndw=fo8jtgu...@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Greetings, > > After sucessfully building OSRM as per instructions here: > https://github.com/DennisOSRM/Project-OSRM/wiki/Building%20OSRM > I was getting the error below when trying to run 'osrm-extract' (with the > appropriate profile.lua link) > > If I move the programs up a directory try again, it runs sucessfully. > I couldn't see this documented anywhere in the wiki. > > paul@blue:~/git/Project-OSRM/build$ ./osrm-extract adelaide.osm > [i /home/paul/git/Project-OSRM/Extractor/ScriptingEnvironment.cpp:25] Using > script profile.lua > [! [! /home/paul/git/Project-OSRM/Extractor/ScriptingEnvironment.cpp[! > /home/paul/git/Project-OSRM/Extractor/ScriptingEnvironment.cpp:95] > profile.lua:2: module 'lib/access' not found: > no field package.preload['lib/access'] > no file '/lib/access.lua' > no file 'profiles/lib/access.lua' > no file './lib/access.lua' > no file '/usr/local/share/lua/5.1/lib/access.lua' > no file '/usr/local/share/lua/5.1/lib/access/init.lua' > no file '/usr/local/lib/lua/5.1/lib/access.lua' > no file '/usr/local/lib/lua/5.1/lib/access/init.lua' > no file '/usr/share/lua/5.1/lib/access.lua' > no file '/usr/share/lua/5.1/lib/access/init.lua' > no file './lib/access.so' > no file '/usr/local/lib/lua/5.1/lib/access.so' > no file '/usr/lib/x86_64-linux-gnu/lua/5.1/lib/access.so' > no file '/usr/lib/lua/5.1/lib/access.so' > no file '/usr/local/lib/lua/5.1/loadall.so' occured in scripting block > :[! /home/paul/git/Project-OSRM/Extractor/ScriptingEnvironment.cpp:95[! > /home/paul/git/Project-OSRM/Extractor/ScriptingEnvironment.cpp:95] > profile.lua:2: module 'lib/access' not found: > no field package.preload['lib/access'] > no file '/lib/access.lua' > no file 'profiles/lib/access.lua' > no file './lib/access.lua' > no file '/usr/local/share/lua/5.1/lib/access.lua' > no file '/usr/local/share/lua/5.1/lib/access/init.lua' > no file '/usr/local/lib/lua/5.1/lib/access.lua' > no file '/usr/local/lib/lua/5.1/lib/access/init.lua' > no file '/usr/share/lua/5.1/lib/access.lua' > no file '/usr/share/lua/5.1/lib/access/init.lua' > no file './lib/access.so' > no file '/usr/local/lib/lua/5.1/lib/access.so' > no file '/usr/lib/x86_64-linux-gnu/lua/5.1/lib/access.so' > no file '/usr/lib/lua/5.1/lib/access.so' > no file '/usr/local/lib/lua/5.1/loadall.so' occured in scripting block > ] profile.lua:2: module 'lib/access' not found: > no field package.preload['lib/access'] > no file '/lib/access.lua' > no file 'profiles/lib/access.lua' > no file './lib/access.lua' > no file '/usr/local/share/lua/5.1/lib/access.lua' > no file '/usr/local/share/lua/5.1/lib/access/init.lua' > no file '/usr/local/lib/lua/5.1/lib/access.lua' > no file '/usr/local/lib/lua/5.1/lib/access/init.lua' > no file '/usr/share/lua/5.1/lib/access.lua' > no file '/usr/share/lua/5.1/lib/access/init.lua' > no file './lib/access.so' > no file '/usr/local/lib/lua/5.1/lib/access.so' > no file '/usr/lib/x86_64-linux-gnu/lua/5.1/lib/access.so' > no file '/usr/lib/lua/5.1/lib/access.so' > no file '/usr/local/lib/lua/5.1/loadall.so' > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.openstreetmap.org/pipermail/osrm-talk/attachments/20130805/6aef5285/attachment-0001.html> > > ------------------------------ > > Message: 2 > Date: Mon, 5 Aug 2013 11:31:59 +0200 > From: Nils Liebelt <[email protected]> > To: [email protected] > Subject: Re: [OSRM-talk] Instruction for compiling and running OSRM > Message-ID: > <CAD=MfUhGpFphJ5t0ycecu+yMkV8ne_Fvr_4X=4qsvbbjays...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi Paul, > > I think the lua script is not accessable to executable (osrm-extract). > If you compiled the binaries underneath the "build" dir. > You also have to move the lua (including the lib dir) underneath the build > path. > > You can try to create symlinks for it: > cd build > ln -s ../profile.lua profile.lua > ln -s ../profiles/llb lib > > > Regards, > > Nils > > 2013/8/5 Paul Schulz <[email protected]>: > > Greetings, > > > > After sucessfully building OSRM as per instructions here: > > https://github.com/DennisOSRM/Project-OSRM/wiki/Building%20OSRM > > I was getting the error below when trying to run 'osrm-extract' (with the > > appropriate profile.lua link) > > > > If I move the programs up a directory try again, it runs sucessfully. > > I couldn't see this documented anywhere in the wiki. > > > > paul@blue:~/git/Project-OSRM/build$ ./osrm-extract adelaide.osm > > [i /home/paul/git/Project-OSRM/Extractor/ScriptingEnvironment.cpp:25] Using > > script profile.lua > > [! [! /home/paul/git/Project-OSRM/Extractor/ScriptingEnvironment.cpp[! > > /home/paul/git/Project-OSRM/Extractor/ScriptingEnvironment.cpp:95] > > profile.lua:2: module 'lib/access' not found: > > no field package.preload['lib/access'] > > no file '/lib/access.lua' > > no file 'profiles/lib/access.lua' > > no file './lib/access.lua' > > no file '/usr/local/share/lua/5.1/lib/access.lua' > > no file '/usr/local/share/lua/5.1/lib/access/init.lua' > > no file '/usr/local/lib/lua/5.1/lib/access.lua' > > no file '/usr/local/lib/lua/5.1/lib/access/init.lua' > > no file '/usr/share/lua/5.1/lib/access.lua' > > no file '/usr/share/lua/5.1/lib/access/init.lua' > > no file './lib/access.so' > > no file '/usr/local/lib/lua/5.1/lib/access.so' > > no file '/usr/lib/x86_64-linux-gnu/lua/5.1/lib/access.so' > > no file '/usr/lib/lua/5.1/lib/access.so' > > no file '/usr/local/lib/lua/5.1/loadall.so' occured in scripting block > > :[! /home/paul/git/Project-OSRM/Extractor/ScriptingEnvironment.cpp:95[! > > /home/paul/git/Project-OSRM/Extractor/ScriptingEnvironment.cpp:95] > > profile.lua:2: module 'lib/access' not found: > > no field package.preload['lib/access'] > > no file '/lib/access.lua' > > no file 'profiles/lib/access.lua' > > no file './lib/access.lua' > > no file '/usr/local/share/lua/5.1/lib/access.lua' > > no file '/usr/local/share/lua/5.1/lib/access/init.lua' > > no file '/usr/local/lib/lua/5.1/lib/access.lua' > > no file '/usr/local/lib/lua/5.1/lib/access/init.lua' > > no file '/usr/share/lua/5.1/lib/access.lua' > > no file '/usr/share/lua/5.1/lib/access/init.lua' > > no file './lib/access.so' > > no file '/usr/local/lib/lua/5.1/lib/access.so' > > no file '/usr/lib/x86_64-linux-gnu/lua/5.1/lib/access.so' > > no file '/usr/lib/lua/5.1/lib/access.so' > > no file '/usr/local/lib/lua/5.1/loadall.so' occured in scripting block > > ] profile.lua:2: module 'lib/access' not found: > > no field package.preload['lib/access'] > > no file '/lib/access.lua' > > no file 'profiles/lib/access.lua' > > no file './lib/access.lua' > > no file '/usr/local/share/lua/5.1/lib/access.lua' > > no file '/usr/local/share/lua/5.1/lib/access/init.lua' > > no file '/usr/local/lib/lua/5.1/lib/access.lua' > > no file '/usr/local/lib/lua/5.1/lib/access/init.lua' > > no file '/usr/share/lua/5.1/lib/access.lua' > > no file '/usr/share/lua/5.1/lib/access/init.lua' > > no file './lib/access.so' > > no file '/usr/local/lib/lua/5.1/lib/access.so' > > no file '/usr/lib/x86_64-linux-gnu/lua/5.1/lib/access.so' > > no file '/usr/lib/lua/5.1/lib/access.so' > > no file '/usr/local/lib/lua/5.1/loadall.so' > > > > _______________________________________________ > > OSRM-talk mailing list > > [email protected] > > http://lists.openstreetmap.org/listinfo/osrm-talk > > > > > > ------------------------------ > > Message: 3 > Date: Mon, 5 Aug 2013 11:34:33 +0200 > From: Emil Tin <[email protected]> > To: "'[email protected]'" <[email protected]> > Subject: Re: [OSRM-talk] Instruction for compiling and running OSRM > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > > What platform are you on? > > I looked into modifying the code so that it works with symlinks, but it > seemed to work on mac. > > > > Kind regards, > > Emil Tin > IT- and Process Specialist > Traffic Design > ________________________________ > CITY OF COPENHAGEN > The Technical and Environmental Administration > Traffic Department > > Islands Brygge 37 V?r. 118 > Postboks 450 > 2300 K?benhavn S > > Telefon +45 2369 5986 > Email [email protected] > EAN 5798009493149 > > > > > -----Oprindelig meddelelse----- > Fra: Nils Liebelt [mailto:[email protected]] > Sendt: 5. august 2013 11:32 > Til: [email protected] > Emne: Re: [OSRM-talk] Instruction for compiling and running OSRM > > Hi Paul, > > I think the lua script is not accessable to executable (osrm-extract). > If you compiled the binaries underneath the "build" dir. > You also have to move the lua (including the lib dir) underneath the build > path. > > You can try to create symlinks for it: > cd build > ln -s ../profile.lua profile.lua > ln -s ../profiles/llb lib > > > Regards, > > Nils > > 2013/8/5 Paul Schulz <[email protected]>: > > Greetings, > > > > After sucessfully building OSRM as per instructions here: > > https://github.com/DennisOSRM/Project-OSRM/wiki/Building%20OSRM > > I was getting the error below when trying to run 'osrm-extract' (with > > the appropriate profile.lua link) > > > > If I move the programs up a directory try again, it runs sucessfully. > > I couldn't see this documented anywhere in the wiki. > > > > paul@blue:~/git/Project-OSRM/build$ ./osrm-extract adelaide.osm [i > > /home/paul/git/Project-OSRM/Extractor/ScriptingEnvironment.cpp:25] > > Using script profile.lua [! [! > > /home/paul/git/Project-OSRM/Extractor/ScriptingEnvironment.cpp[! > > /home/paul/git/Project-OSRM/Extractor/ScriptingEnvironment.cpp:95] > > profile.lua:2: module 'lib/access' not found: > > no field package.preload['lib/access'] no file '/lib/access.lua' > > no file 'profiles/lib/access.lua' > > no file './lib/access.lua' > > no file '/usr/local/share/lua/5.1/lib/access.lua' > > no file '/usr/local/share/lua/5.1/lib/access/init.lua' > > no file '/usr/local/lib/lua/5.1/lib/access.lua' > > no file '/usr/local/lib/lua/5.1/lib/access/init.lua' > > no file '/usr/share/lua/5.1/lib/access.lua' > > no file '/usr/share/lua/5.1/lib/access/init.lua' > > no file './lib/access.so' > > no file '/usr/local/lib/lua/5.1/lib/access.so' > > no file '/usr/lib/x86_64-linux-gnu/lua/5.1/lib/access.so' > > no file '/usr/lib/lua/5.1/lib/access.so' > > no file '/usr/local/lib/lua/5.1/loadall.so' occured in scripting block > > :[! /home/paul/git/Project-OSRM/Extractor/ScriptingEnvironment.cpp:95[! > > /home/paul/git/Project-OSRM/Extractor/ScriptingEnvironment.cpp:95] > > profile.lua:2: module 'lib/access' not found: > > no field package.preload['lib/access'] no file '/lib/access.lua' > > no file 'profiles/lib/access.lua' > > no file './lib/access.lua' > > no file '/usr/local/share/lua/5.1/lib/access.lua' > > no file '/usr/local/share/lua/5.1/lib/access/init.lua' > > no file '/usr/local/lib/lua/5.1/lib/access.lua' > > no file '/usr/local/lib/lua/5.1/lib/access/init.lua' > > no file '/usr/share/lua/5.1/lib/access.lua' > > no file '/usr/share/lua/5.1/lib/access/init.lua' > > no file './lib/access.so' > > no file '/usr/local/lib/lua/5.1/lib/access.so' > > no file '/usr/lib/x86_64-linux-gnu/lua/5.1/lib/access.so' > > no file '/usr/lib/lua/5.1/lib/access.so' > > no file '/usr/local/lib/lua/5.1/loadall.so' occured in scripting block > > ] profile.lua:2: module 'lib/access' not found: > > no field package.preload['lib/access'] no file '/lib/access.lua' > > no file 'profiles/lib/access.lua' > > no file './lib/access.lua' > > no file '/usr/local/share/lua/5.1/lib/access.lua' > > no file '/usr/local/share/lua/5.1/lib/access/init.lua' > > no file '/usr/local/lib/lua/5.1/lib/access.lua' > > no file '/usr/local/lib/lua/5.1/lib/access/init.lua' > > no file '/usr/share/lua/5.1/lib/access.lua' > > no file '/usr/share/lua/5.1/lib/access/init.lua' > > no file './lib/access.so' > > no file '/usr/local/lib/lua/5.1/lib/access.so' > > no file '/usr/lib/x86_64-linux-gnu/lua/5.1/lib/access.so' > > no file '/usr/lib/lua/5.1/lib/access.so' > > no file '/usr/local/lib/lua/5.1/loadall.so' > > > > _______________________________________________ > > OSRM-talk mailing list > > [email protected] > > http://lists.openstreetmap.org/listinfo/osrm-talk > > > > _______________________________________________ > OSRM-talk mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/osrm-talk > > > > ------------------------------ > > _______________________________________________ > OSRM-talk mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/osrm-talk > > > End of OSRM-talk Digest, Vol 8, Issue 2 > ***************************************
_______________________________________________ OSRM-talk mailing list [email protected] http://lists.openstreetmap.org/listinfo/osrm-talk
