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