Re: [OSRM-talk] Install OSRM on MacOs

2019-01-15 Thread Didier Doumerc
Hi Daniel,

I have modified the index.html as you wrote. The navigator displays a empty 
page with colored rectangles (0-10 10-20...) on the left bottom. Should I 
install something else ?

Didier

Le lun.14/01/19 à 20:18, Daniel Patterson a écrit :

> Hi Didier,
> 
>   Looks like you're using the correct profile file.
> 
>   As a next step, I'd take a look at using the debug mapping tool at:
> 
> https://github.com/Project-OSRM/osrm-frontend/tree/gh-pages/debug
> 
>   Install a copy of this locally and modify this line:
> 
> 
> https://github.com/Project-OSRM/osrm-frontend/blob/gh-pages/debug/index.html#L128
> 
>   to point at your local `osrm-routed` process (usually 
> `http://localhost:5000/tile/v1/car/tile({x},{y},{z}).mvt`)
> 
>   This will let you see the final speeds assigned to all roads in your 
> routing graph.
> 
> daniel
> 
> On Mon, Jan 14, 2019 at 5:48 AM Didier Doumerc  wrote:
> Hi Daniel,
> 
> Here are the cammands I run : 
> 
> Serveur-CMR:osrm-backend informatique$ ./build/osrm-extract 
> ./build/france-latest.osm.pbf -p profiles/car.lua
> Serveur-CMR:build informatique$ osrm-partition france-latest.osrm
> Serveur-CMR:build informatique$ osrm-customize france-latest.osrm
> Serveur-CMR:build informatique$ osrm-contract france-latest.osrm
> 
> 
> Serveur-CMR:build informatique$ osrm-routed --algorithm=MLD france-latest.osrm
> 
> I looked for another car.lua on the disk. There is none.
> 
> Thanks for all.
> 
> Didier
> 
> 
> Le sam.12/01/19 à 00:36, Daniel Patterson a écrit :
> 
>> Hi Didier,
>> 
>>   I mean, can you include the *full command* you ran?  At a minimum, I'd 
>> expect `osrm-extract somemap.osm`.
>> 
>>   By default, `osrm-extract` will look for a file called `profiles/car.lua` 
>> relative to the directory in which you invoke it.
>> 
>>   I would verify a few things:
>> 
>> 1. Are you somehow accidentally using a different version of 
>> `osrm-extract` from somewhere else on your system PATH (like /usr/local/bin 
>> ?)
>> 2. Are you passing a `-p profiles/car.lua` parameter explicitly, or are 
>> you depending on the default.
>> 
>>   Also note that modifying the `maxspeed_table_default` and `fr:urban` 
>> values will only affect those road types.  This will only affect roads that 
>> have `maxspeed=fr:urban` - other road types will not be affected 
>> (https://wiki.openstreetmap.org/wiki/Key:maxspeed#Values).
>> 
>>   If the area you're testing routes in doesn't have those tags, then there 
>> will be no effect.
>> 
>> daniel
>> 
>> On Fri, Jan 11, 2019 at 3:14 PM Didier Doumerc  wrote:
>> I tried :
>>> osrm-extract
>> 
>>> osrm-partition
>> 
>>> osrm-customize
>> 
>>> osrm-contract
>> 
>> That does not work. 
>> 
>> And I tried
>> 
>>> osrm-extract
>> 
>>> osrm-contract
>> 
>> That does not work too. 
>> 
>> 
>> (iP) Didier 
>> 
>> Le 11 janv. 2019 à 18:45, Daniel Patterson  a écrit :
>> 
>>> What were the *exact* commands you ran?
>>> 
>>> daniel
>>> 
>>> On Fri, Jan 11, 2019 at 6:06 AM Didier Doumerc  wrote:
>>> So I have modified car.lua file : maxspeed_table_default (all values fixed 
>>> to 50) and maxspeed_table ["fr:urban"] = 10 etc...
>>> 
>>> I have re-runned `osrm-extract/osrm-partition/osrm-customize/osrm-contract` 
>>> and it changes nothing. I get the same result.
>>> 
>>> I must do something wrong...
>>> 
>>> Didier
>>> 
>>> Le mer.09/01/19 à 18:18, Daniel Patterson a écrit :
>>> 
>>>> Hi Didier,
>>>> 
>>>>   The `car.lua` file are all the rules for deciding which OSM ways to 
>>>> import, and what speeds to assign to them.  If you modify the Lua script, 
>>>> you need to re-run `osrm-extract/osrm-contract`.
>>>> 
>>>>   The OSRM demoserver at `router.project-osrm.org` *also* has traffic data 
>>>> imported (using this mechanism: 
>>>> https://github.com/Project-OSRM/osrm-backend/wiki/Traffic), supplied by 
>>>> Mapbox, so travel times and routes may differ from datasets you generate 
>>>> yourself just using the `car.lua` profile locally.
>>>> 
>>>> daniel 
>>>> 
>>>> On Tue, Jan 8, 2019 at 7:47 AM Didier Doumerc  wrote:
>>>> Thanks for your answer Daniel. It works fine !
>>>> 
>>>> I'm not sure to understand ex

Re: [OSRM-talk] Install OSRM on MacOs

2019-01-14 Thread Didier Doumerc
Hi Daniel,

Here are the cammands I run : 

Serveur-CMR:osrm-backend informatique$ ./build/osrm-extract 
./build/france-latest.osm.pbf -p profiles/car.lua
Serveur-CMR:build informatique$ osrm-partition france-latest.osrm
Serveur-CMR:build informatique$ osrm-customize france-latest.osrm
Serveur-CMR:build informatique$ osrm-contract france-latest.osrm


Serveur-CMR:build informatique$ osrm-routed --algorithm=MLD france-latest.osrm

I looked for another car.lua on the disk. There is none.

Thanks for all.

Didier


Le sam.12/01/19 à 00:36, Daniel Patterson a écrit :

> Hi Didier,
> 
>   I mean, can you include the *full command* you ran?  At a minimum, I'd 
> expect `osrm-extract somemap.osm`.
> 
>   By default, `osrm-extract` will look for a file called `profiles/car.lua` 
> relative to the directory in which you invoke it.
> 
>   I would verify a few things:
> 
> 1. Are you somehow accidentally using a different version of 
> `osrm-extract` from somewhere else on your system PATH (like /usr/local/bin ?)
> 2. Are you passing a `-p profiles/car.lua` parameter explicitly, or are 
> you depending on the default.
> 
>   Also note that modifying the `maxspeed_table_default` and `fr:urban` values 
> will only affect those road types.  This will only affect roads that have 
> `maxspeed=fr:urban` - other road types will not be affected 
> (https://wiki.openstreetmap.org/wiki/Key:maxspeed#Values).
> 
>   If the area you're testing routes in doesn't have those tags, then there 
> will be no effect.
> 
> daniel
> 
> On Fri, Jan 11, 2019 at 3:14 PM Didier Doumerc  wrote:
> I tried :
>> osrm-extract
> 
>> osrm-partition
> 
>> osrm-customize
> 
>> osrm-contract
> 
> That does not work. 
> 
> And I tried
> 
>> osrm-extract
> 
>> osrm-contract
> 
> That does not work too. 
> 
> 
> (iP) Didier 
> 
> Le 11 janv. 2019 à 18:45, Daniel Patterson  a écrit :
> 
>> What were the *exact* commands you ran?
>> 
>> daniel
>> 
>> On Fri, Jan 11, 2019 at 6:06 AM Didier Doumerc  wrote:
>> So I have modified car.lua file : maxspeed_table_default (all values fixed 
>> to 50) and maxspeed_table ["fr:urban"] = 10 etc...
>> 
>> I have re-runned `osrm-extract/osrm-partition/osrm-customize/osrm-contract` 
>> and it changes nothing. I get the same result.
>> 
>> I must do something wrong...
>> 
>> Didier
>> 
>> Le mer.09/01/19 à 18:18, Daniel Patterson a écrit :
>> 
>>> Hi Didier,
>>> 
>>>   The `car.lua` file are all the rules for deciding which OSM ways to 
>>> import, and what speeds to assign to them.  If you modify the Lua script, 
>>> you need to re-run `osrm-extract/osrm-contract`.
>>> 
>>>   The OSRM demoserver at `router.project-osrm.org` *also* has traffic data 
>>> imported (using this mechanism: 
>>> https://github.com/Project-OSRM/osrm-backend/wiki/Traffic), supplied by 
>>> Mapbox, so travel times and routes may differ from datasets you generate 
>>> yourself just using the `car.lua` profile locally.
>>> 
>>> daniel 
>>> 
>>> On Tue, Jan 8, 2019 at 7:47 AM Didier Doumerc  wrote:
>>> Thanks for your answer Daniel. It works fine !
>>> 
>>> I'm not sure to understand exactly the reason of "-p profiles/car.lua". 
>>> Does the file car.lua contain speed limits ?
>>> 
>>> Then, if I change a speed, I must run another osrm-extract ?
>>> 
>>> In my exemple, the following request  :
>>> 
>>> 
>>> 10.168.221.144:5000/route/v1/driving/2.590291,44.360367;2.627096,44.980478?overview=false
>>> 
>>> returns :
>>> 1:45 and 100,6 km
>>> 
>>> The same request on 
>>> https://www.openstreetmap.org/directions?engine=osrm_car=44.3604%2C2.5903%3B44.9805%2C2.6271#map=10/44.6713/2.4894
>>> 
>>> returns :
>>> 1:50 and 103 km
>>> 
>>> The second result is better than the first. Is it because of the car.lua 
>>> file ?
>>> 
>>> 
>>> Thanks+++
>>> 
>>> Didier
>>> 
>>> Le ven.04/01/19 à 18:52, Daniel Patterson a écrit :
>>> 
>>>> Check out the Wiki page at: 
>>>> https://github.com/Project-OSRM/osrm-backend/wiki/Running-OSRM
>>>> 
>>>> With OSRM 5.x, the names of some of the tools changed.  You will now want 
>>>> to run `osrm-extract -p profiles/car.lua yourmap.osm` then `osrm-contract 
>>>> yourmap.osrm`
>>>> 
>>>> daniel
>>

Re: [OSRM-talk] Install OSRM on MacOs

2019-01-11 Thread Didier Doumerc
I tried :
>> osrm-extract

>> osrm-partition

>> osrm-customize

>> osrm-contract

That does not work. 

And I tried

>> osrm-extract

>> osrm-contract

That does not work too. 


(iP) Didier 

> Le 11 janv. 2019 à 18:45, Daniel Patterson  a écrit :
> 
> What were the *exact* commands you ran?
> 
> daniel
> 
>> On Fri, Jan 11, 2019 at 6:06 AM Didier Doumerc  wrote:
>> So I have modified car.lua file : maxspeed_table_default (all values fixed 
>> to 50) and maxspeed_table ["fr:urban"] = 10 etc...
>> 
>> I have re-runned `osrm-extract/osrm-partition/osrm-customize/osrm-contract` 
>> and it changes nothing. I get the same result.
>> 
>> I must do something wrong...
>> 
>> Didier
>> 
>>> Le mer.09/01/19 à 18:18, Daniel Patterson a écrit :
>>> 
>>> Hi Didier,
>>> 
>>>   The `car.lua` file are all the rules for deciding which OSM ways to 
>>> import, and what speeds to assign to them.  If you modify the Lua script, 
>>> you need to re-run `osrm-extract/osrm-contract`.
>>> 
>>>   The OSRM demoserver at `router.project-osrm.org` *also* has traffic data 
>>> imported (using this mechanism: 
>>> https://github.com/Project-OSRM/osrm-backend/wiki/Traffic), supplied by 
>>> Mapbox, so travel times and routes may differ from datasets you generate 
>>> yourself just using the `car.lua` profile locally.
>>> 
>>> daniel 
>>> 
>>>> On Tue, Jan 8, 2019 at 7:47 AM Didier Doumerc  wrote:
>>>> Thanks for your answer Daniel. It works fine !
>>>> 
>>>> I'm not sure to understand exactly the reason of "-p profiles/car.lua". 
>>>> Does the file car.lua contain speed limits ?
>>>> 
>>>> Then, if I change a speed, I must run another osrm-extract ?
>>>> 
>>>> In my exemple, the following request  :
>>>> 
>>>>
>>>> 10.168.221.144:5000/route/v1/driving/2.590291,44.360367;2.627096,44.980478?overview=false
>>>> 
>>>> returns :
>>>>1:45 and 100,6 km
>>>> 
>>>> The same request on 
>>>> https://www.openstreetmap.org/directions?engine=osrm_car=44.3604%2C2.5903%3B44.9805%2C2.6271#map=10/44.6713/2.4894
>>>> 
>>>> returns :
>>>>1:50 and 103 km
>>>> 
>>>> The second result is better than the first. Is it because of the car.lua 
>>>> file ?
>>>> 
>>>> 
>>>> Thanks+++
>>>> 
>>>> Didier
>>>> 
>>>>> Le ven.04/01/19 à 18:52, Daniel Patterson a écrit :
>>>>> 
>>>>> Check out the Wiki page at: 
>>>>> https://github.com/Project-OSRM/osrm-backend/wiki/Running-OSRM
>>>>> 
>>>>> With OSRM 5.x, the names of some of the tools changed.  You will now want 
>>>>> to run `osrm-extract -p profiles/car.lua yourmap.osm` then `osrm-contract 
>>>>> yourmap.osrm`
>>>>> 
>>>>> daniel
>>>>> 
>>>>>> On Fri, Jan 4, 2019 at 9:33 AM Didier Doumerc  
>>>>>> wrote:
>>>>>> Hi,
>>>>>> 
>>>>>> Since I can't upgrade whith a new map (crash when running osrm-prepare), 
>>>>>> I try to reinstall OSRM. 
>>>>>> 
>>>>>> Once I have reinstalled ORSM, I can extract the new map, but I don't 
>>>>>> find osrm-prepare anymore. I don't know what to do before running 
>>>>>> osrm-routed.
>>>>>> 
>>>>>> Is someone can give me a link please to a clear and complete install 
>>>>>> method ?
>>>>>> 
>>>>>> Thanks and happy new year...
>>>>>> 
>>>>>> Didier
>>>>>> 
>>>>>> ___
>>>>>> OSRM-talk mailing list
>>>>>> OSRM-talk@openstreetmap.org
>>>>>> https://lists.openstreetmap.org/listinfo/osrm-talk
>>>>> ___
>>>>> OSRM-talk mailing list
>>>>> OSRM-talk@openstreetmap.org
>>>>> https://lists.openstreetmap.org/listinfo/osrm-talk
>>>> 
>>>> ___
>>>> OSRM-talk mailing list
>>>> OSRM-talk@openstreetmap.org
>>>> https://lists.openstreetmap.org/listinfo/osrm-talk
>>> ___
>>> OSRM-talk mailing list
>>> OSRM-talk@openstreetmap.org
>>> https://lists.openstreetmap.org/listinfo/osrm-talk
>> 
>> ___
>> OSRM-talk mailing list
>> OSRM-talk@openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/osrm-talk
> ___
> OSRM-talk mailing list
> OSRM-talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk
___
OSRM-talk mailing list
OSRM-talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osrm-talk


Re: [OSRM-talk] Install OSRM on MacOs

2019-01-11 Thread Didier Doumerc
So I have modified car.lua file : maxspeed_table_default (all values fixed to 
50) and maxspeed_table ["fr:urban"] = 10 etc...

I have re-runned `osrm-extract/osrm-partition/osrm-customize/osrm-contract` and 
it changes nothing. I get the same result.

I must do something wrong...

Didier

Le mer.09/01/19 à 18:18, Daniel Patterson a écrit :

> Hi Didier,
> 
>   The `car.lua` file are all the rules for deciding which OSM ways to import, 
> and what speeds to assign to them.  If you modify the Lua script, you need to 
> re-run `osrm-extract/osrm-contract`.
> 
>   The OSRM demoserver at `router.project-osrm.org` *also* has traffic data 
> imported (using this mechanism: 
> https://github.com/Project-OSRM/osrm-backend/wiki/Traffic), supplied by 
> Mapbox, so travel times and routes may differ from datasets you generate 
> yourself just using the `car.lua` profile locally.
> 
> daniel 
> 
> On Tue, Jan 8, 2019 at 7:47 AM Didier Doumerc  wrote:
> Thanks for your answer Daniel. It works fine !
> 
> I'm not sure to understand exactly the reason of "-p profiles/car.lua". Does 
> the file car.lua contain speed limits ?
> 
> Then, if I change a speed, I must run another osrm-extract ?
> 
> In my exemple, the following request  :
> 
>   
> 10.168.221.144:5000/route/v1/driving/2.590291,44.360367;2.627096,44.980478?overview=false
> 
> returns :
>   1:45 and 100,6 km
> 
> The same request on 
> https://www.openstreetmap.org/directions?engine=osrm_car=44.3604%2C2.5903%3B44.9805%2C2.6271#map=10/44.6713/2.4894
> 
> returns :
>   1:50 and 103 km
> 
> The second result is better than the first. Is it because of the car.lua file 
> ?
> 
> 
> Thanks+++
> 
> Didier
> 
> Le ven.04/01/19 à 18:52, Daniel Patterson a écrit :
> 
>> Check out the Wiki page at: 
>> https://github.com/Project-OSRM/osrm-backend/wiki/Running-OSRM
>> 
>> With OSRM 5.x, the names of some of the tools changed.  You will now want to 
>> run `osrm-extract -p profiles/car.lua yourmap.osm` then `osrm-contract 
>> yourmap.osrm`
>> 
>> daniel
>> 
>> On Fri, Jan 4, 2019 at 9:33 AM Didier Doumerc  wrote:
>> Hi,
>> 
>> Since I can't upgrade whith a new map (crash when running osrm-prepare), I 
>> try to reinstall OSRM. 
>> 
>> Once I have reinstalled ORSM, I can extract the new map, but I don't find 
>> osrm-prepare anymore. I don't know what to do before running osrm-routed.
>> 
>> Is someone can give me a link please to a clear and complete install method ?
>> 
>> Thanks and happy new year...
>> 
>> Didier
>> 
>> ___
>> OSRM-talk mailing list
>> OSRM-talk@openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/osrm-talk
>> ___
>> OSRM-talk mailing list
>> OSRM-talk@openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/osrm-talk
> 
> ___
> OSRM-talk mailing list
> OSRM-talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk
> ___
> OSRM-talk mailing list
> OSRM-talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk

___
OSRM-talk mailing list
OSRM-talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osrm-talk


Re: [OSRM-talk] Install OSRM on MacOs

2019-01-08 Thread Didier Doumerc
Thanks for your answer Daniel. It works fine !

I'm not sure to understand exactly the reason of "-p profiles/car.lua". Does 
the file car.lua contain speed limits ?

Then, if I change a speed, I must run another osrm-extract ?

In my exemple, the following request  :


10.168.221.144:5000/route/v1/driving/2.590291,44.360367;2.627096,44.980478?overview=false

returns :
1:45 and 100,6 km

The same request on 
https://www.openstreetmap.org/directions?engine=osrm_car=44.3604%2C2.5903%3B44.9805%2C2.6271#map=10/44.6713/2.4894

returns :
1:50 and 103 km

The second result is better than the first. Is it because of the car.lua file ?


Thanks+++

Didier

Le ven.04/01/19 à 18:52, Daniel Patterson a écrit :

> Check out the Wiki page at: 
> https://github.com/Project-OSRM/osrm-backend/wiki/Running-OSRM
> 
> With OSRM 5.x, the names of some of the tools changed.  You will now want to 
> run `osrm-extract -p profiles/car.lua yourmap.osm` then `osrm-contract 
> yourmap.osrm`
> 
> daniel
> 
> On Fri, Jan 4, 2019 at 9:33 AM Didier Doumerc  wrote:
> Hi,
> 
> Since I can't upgrade whith a new map (crash when running osrm-prepare), I 
> try to reinstall OSRM. 
> 
> Once I have reinstalled ORSM, I can extract the new map, but I don't find 
> osrm-prepare anymore. I don't know what to do before running osrm-routed.
> 
> Is someone can give me a link please to a clear and complete install method ?
> 
> Thanks and happy new year...
> 
> Didier
> 
> ___
> OSRM-talk mailing list
> OSRM-talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk
> ___
> OSRM-talk mailing list
> OSRM-talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk

___
OSRM-talk mailing list
OSRM-talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osrm-talk


[OSRM-talk] Install OSRM on MacOs

2019-01-04 Thread Didier Doumerc
Hi,

Since I can't upgrade whith a new map (crash when running osrm-prepare), I try 
to reinstall OSRM. 

Once I have reinstalled ORSM, I can extract the new map, but I don't find 
osrm-prepare anymore. I don't know what to do before running osrm-routed.

Is someone can give me a link please to a clear and complete install method ?

Thanks and happy new year...

Didier

___
OSRM-talk mailing list
OSRM-talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osrm-talk


Re: [OSRM-talk] Updating a map

2018-09-04 Thread Didier Doumerc
Merci Julien. je vais essayer.

Didier

Le dim.12/08/18 à 19:03, Julien Coupey a écrit :

> Hi Didier,
> 
> The exclude flag feature introduced a while back in OSRM might explain a 
> change in RAM requirements for the same OSM file. If you don't need that 
> feature, you can disable the associated extra work/memory usage by setting an 
> empty "excludable" list in the profile at:
> 
> https://github.com/Project-OSRM/osrm-backend/blob/master/profiles/car.lua#L122-L126
> 
> Hope that helps
> Julien
> 
> On 10/08/2018 09:34, Didier Doumerc wrote:
>> I have only 12 GB of RAM but when I installed the previous file version, it 
>> was ok with only 4 GB or RAM.
>> Is there anyway way to successfully prepare the files ? Perhaps by 
>> downloading them ready yet ?
>> Thanks for your answer.
>> Didier
>> Le jeu.09/08/18 à 18:15, Sayer, Bryan a écrit :
>>> When I had that problem it was due to lack of memory. For the United 
>>> States, I had to have 64 GB of memory prepare, though I was doing it 
>>> through a Stata interface, not directly.
>>> 
>>> *From:*Didier Doumerc mailto:doumer...@adimep.com>>
>>> *Sent:*Thursday, August 9, 2018 11:53:39 AM
>>> *To:*osrm-talk@openstreetmap.org <mailto:osrm-talk@openstreetmap.org>
>>> *Subject:*[OSRM-talk] Updating a map
>>> Hi,
>>> 
>>> I need help for updating the map file. Here is what I get when I run 
>>> osrm-prepare france-latest.osrm. It stops at 90%
>>> 
>>> [info] Input file: france-latest.osrm
>>> [info] Profile: profile.lua
>>> [info] Threads: 8
>>> [info] Loading edge-expanded graph representation
>>> [info] Opening france-latest.osrm.ebg
>>> [info] Reading 25874228 edges from the edge based graph
>>> [info] Done reading edges
>>> [STXXL-MSG] STXXL v1.4.1 (prerelease/Release)
>>> [STXXL-ERRMSG] Warning: no config file found.
>>> [STXXL-ERRMSG] Using default disk configuration.
>>> [STXXL-MSG] Disk '/var/tmp/stxxl' is allocated, space: 1000 MiB, I/O 
>>> implementation: syscall autogrow delete_on_exit queue=0 devid=0
>>> merged 51783408 edges out of 103496912
>>> contractor finished initalization
>>> initializing elimination PQ ...ok
>>> preprocessing 13952773 nodes  10% . 20% . 30% . 40% . 50% . 60% . 
>>> [flush 9336408 nodes]  70% . 80% . 90% .
>>> 
>>> 
>>> 
>>> Before, I run osrm-extract france-latest/osm.pbf
>>> 
>>> 
>>> [info] Input file: france-latest.osm.pbf
>>> [info] Profile: profile.lua
>>> [info] Threads: 8
>>> [info] Using script profile.lua
>>> [STXXL-MSG] STXXL v1.4.1 (prerelease/Release)
>>> [STXXL-ERRMSG] Warning: no config file found.
>>> [STXXL-ERRMSG] Using default disk configuration.
>>> [STXXL-MSG] Disk '/var/tmp/stxxl' is allocated, space: 1000 MiB, I/O 
>>> implementation: syscall autogrow delete_on_exit queue=0 devid=0
>>> [info] Parsing in progress..
>>> [info] input file generated by osmium/1.8.0
>>> [info] timestamp: 2018-08-05T20:00:03Z
>>> [info] Using turn restrictions
>>> [info] Found 3 exceptions to turn restrictions:
>>> [info]   motorcar
>>> [info]   motor_vehicle
>>> [info]   vehicle
>>> [info] Parsing finished after 914.304 seconds
>>> [info] Raw input contains 387758183 nodes, 57191546 ways, and 521319 
>>> relations, and 0 unknown entities
>>> [extractor] Sorting used nodes... ok, after 8.97724s
>>> [extractor] Erasing duplicate nodes   ... ok, after 5.16838s
>>> [extractor] Sorting all nodes ... ok, after 270.95s
>>> [extractor] Building node id map  ... ok, after 146.325s
>>> [extractor] setting number of nodes   ... ok
>>> [extractor] Confirming/Writing used nodes ... ok, after 84.6342s
>>> [info] Processed 36442184 nodes
>>> [extractor] Sorting edges by start... ok, after 46.7546s
>>> [extractor] Setting start coords  ... ok, after 188.624s
>>> [extractor] Sorting edges by target   ... ok, after 47.2029s
>>> [extractor] Computing edge weights... ok, after 201.467s
>>> [extractor] Sorting edges by renumbered start ... ok, after 47.6069s
>>> [extractor] Writing used egdes   ... ok, after 33.4863s
>>> [extractor] setting number of edges   ... ok
>>> [info] Processed 37971544 edges
>>> [extractor] Sorting used ways ... ok, after 3.42604s
>>> [extrac

Re: [OSRM-talk] Updating a map

2018-08-10 Thread Didier Doumerc
I have only 12 GB of RAM but when I installed the previous file version, it was 
ok with only 4 GB or RAM.

Is there anyway way to successfully prepare the files ? Perhaps by downloading 
them ready yet ?

Thanks for your answer.

Didier 

Le jeu.09/08/18 à 18:15, Sayer, Bryan a écrit :

> When I had that problem it was due to lack of memory. For the United States, 
> I had to have 64 GB of memory prepare, though I was doing it through a Stata 
> interface, not directly.
> From: Didier Doumerc 
> Sent: Thursday, August 9, 2018 11:53:39 AM
> To: osrm-talk@openstreetmap.org
> Subject: [OSRM-talk] Updating a map
>  
> Hi,
> 
> I need help for updating the map file. Here is what I get when I run 
> osrm-prepare france-latest.osrm. It stops at 90%
> 
> [info] Input file: france-latest.osrm
> [info] Profile: profile.lua
> [info] Threads: 8
> [info] Loading edge-expanded graph representation
> [info] Opening france-latest.osrm.ebg
> [info] Reading 25874228 edges from the edge based graph
> [info] Done reading edges
> [STXXL-MSG] STXXL v1.4.1 (prerelease/Release)
> [STXXL-ERRMSG] Warning: no config file found.
> [STXXL-ERRMSG] Using default disk configuration.
> [STXXL-MSG] Disk '/var/tmp/stxxl' is allocated, space: 1000 MiB, I/O 
> implementation: syscall autogrow delete_on_exit queue=0 devid=0
> merged 51783408 edges out of 103496912
> contractor finished initalization
> initializing elimination PQ ...ok
> preprocessing 13952773 nodes  10% . 20% . 30% . 40% . 50% . 60% . [flush 
> 9336408 nodes]  70% . 80% . 90% .
> 
> 
> 
> Before, I run osrm-extract france-latest/osm.pbf
> 
> 
> [info] Input file: france-latest.osm.pbf
> [info] Profile: profile.lua
> [info] Threads: 8
> [info] Using script profile.lua
> [STXXL-MSG] STXXL v1.4.1 (prerelease/Release)
> [STXXL-ERRMSG] Warning: no config file found.
> [STXXL-ERRMSG] Using default disk configuration.
> [STXXL-MSG] Disk '/var/tmp/stxxl' is allocated, space: 1000 MiB, I/O 
> implementation: syscall autogrow delete_on_exit queue=0 devid=0
> [info] Parsing in progress..
> [info] input file generated by osmium/1.8.0
> [info] timestamp: 2018-08-05T20:00:03Z
> [info] Using turn restrictions
> [info] Found 3 exceptions to turn restrictions:
> [info]   motorcar
> [info]   motor_vehicle
> [info]   vehicle
> [info] Parsing finished after 914.304 seconds
> [info] Raw input contains 387758183 nodes, 57191546 ways, and 521319 
> relations, and 0 unknown entities
> [extractor] Sorting used nodes... ok, after 8.97724s
> [extractor] Erasing duplicate nodes   ... ok, after 5.16838s
> [extractor] Sorting all nodes ... ok, after 270.95s
> [extractor] Building node id map  ... ok, after 146.325s
> [extractor] setting number of nodes   ... ok
> [extractor] Confirming/Writing used nodes ... ok, after 84.6342s
> [info] Processed 36442184 nodes
> [extractor] Sorting edges by start... ok, after 46.7546s
> [extractor] Setting start coords  ... ok, after 188.624s
> [extractor] Sorting edges by target   ... ok, after 47.2029s
> [extractor] Computing edge weights... ok, after 201.467s
> [extractor] Sorting edges by renumbered start ... ok, after 47.6069s
> [extractor] Writing used egdes   ... ok, after 33.4863s
> [extractor] setting number of edges   ... ok
> [info] Processed 37971544 edges
> [extractor] Sorting used ways ... ok, after 3.42604s
> [extractor] Sorting 34351 restriction. by from... ok, after 0.078667s
> [extractor] Fixing restriction starts ... ok, after 1.32651s
> [extractor] Sorting restrictions. by to  ... ok, after 0.048604s
> [extractor] Fixing restriction ends   ... ok, after 1.28459s
> [info] usable restrictions: 31935
> [extractor] writing street name index ... ok, after 0.159635s
> [info] extraction finished after 2046.13s
> [info] Generating edge-expanded graph representation
> [info]  - 31935 restrictions.
> [info] Importing n = 36442184 nodes 
> [info]  - 17000 bollard nodes, 41647 traffic lights
> [info]  and 37971544 edges 
> [info] Graph loaded ok and has 37971544 edges
> . 10% . 20% . 30% . 40% . 50% . 60% . 70% . 80% . 90% . 100%
> [info] Node compression ratio: 0.166043
> [info] Edge compression ratio: 0.19941
> . 10% . 20% . 30% . 40% . 50% . 60% . 70% . 80% . 90% . 100%
> [info] Generated 37961020 nodes in edge-expanded graph
> [info] generating edge-expanded edges
> . 10% . 20% . 30% . 40% . 50% . 60% . 70% . 80% . 90% . 100%
> [info] Generated 37961020 edge based nodes
> [info] Node-based graph contains 13952773 edges
> [info] Edge-expanded graph ...
> [info]   contains 25874228 edges
> [info]   skips 26910 turns, defined by 31859 restrictions
> [info]   skips 11264858 U turns
> [info]   skips 18504 turns over barr

[OSRM-talk] Updating a map

2018-08-09 Thread Didier Doumerc
Hi,

I need help for updating the map file. Here is what I get when I run 
osrm-prepare france-latest.osrm. It stops at 90%

[info] Input file: france-latest.osrm
[info] Profile: profile.lua
[info] Threads: 8
[info] Loading edge-expanded graph representation
[info] Opening france-latest.osrm.ebg
[info] Reading 25874228 edges from the edge based graph
[info] Done reading edges
[STXXL-MSG] STXXL v1.4.1 (prerelease/Release)
[STXXL-ERRMSG] Warning: no config file found.
[STXXL-ERRMSG] Using default disk configuration.
[STXXL-MSG] Disk '/var/tmp/stxxl' is allocated, space: 1000 MiB, I/O 
implementation: syscall autogrow delete_on_exit queue=0 devid=0
merged 51783408 edges out of 103496912
contractor finished initalization
initializing elimination PQ ...ok
preprocessing 13952773 nodes  10% . 20% . 30% . 40% . 50% . 60% . [flush 
9336408 nodes]  70% . 80% . 90% .



Before, I run osrm-extract france-latest/osm.pbf


[info] Input file: france-latest.osm.pbf
[info] Profile: profile.lua
[info] Threads: 8
[info] Using script profile.lua
[STXXL-MSG] STXXL v1.4.1 (prerelease/Release)
[STXXL-ERRMSG] Warning: no config file found.
[STXXL-ERRMSG] Using default disk configuration.
[STXXL-MSG] Disk '/var/tmp/stxxl' is allocated, space: 1000 MiB, I/O 
implementation: syscall autogrow delete_on_exit queue=0 devid=0
[info] Parsing in progress..
[info] input file generated by osmium/1.8.0
[info] timestamp: 2018-08-05T20:00:03Z
[info] Using turn restrictions
[info] Found 3 exceptions to turn restrictions:
[info]   motorcar
[info]   motor_vehicle
[info]   vehicle
[info] Parsing finished after 914.304 seconds
[info] Raw input contains 387758183 nodes, 57191546 ways, and 521319 relations, 
and 0 unknown entities
[extractor] Sorting used nodes... ok, after 8.97724s
[extractor] Erasing duplicate nodes   ... ok, after 5.16838s
[extractor] Sorting all nodes ... ok, after 270.95s
[extractor] Building node id map  ... ok, after 146.325s
[extractor] setting number of nodes   ... ok
[extractor] Confirming/Writing used nodes ... ok, after 84.6342s
[info] Processed 36442184 nodes
[extractor] Sorting edges by start... ok, after 46.7546s
[extractor] Setting start coords  ... ok, after 188.624s
[extractor] Sorting edges by target   ... ok, after 47.2029s
[extractor] Computing edge weights... ok, after 201.467s
[extractor] Sorting edges by renumbered start ... ok, after 47.6069s
[extractor] Writing used egdes   ... ok, after 33.4863s
[extractor] setting number of edges   ... ok
[info] Processed 37971544 edges
[extractor] Sorting used ways ... ok, after 3.42604s
[extractor] Sorting 34351 restriction. by from... ok, after 0.078667s
[extractor] Fixing restriction starts ... ok, after 1.32651s
[extractor] Sorting restrictions. by to  ... ok, after 0.048604s
[extractor] Fixing restriction ends   ... ok, after 1.28459s
[info] usable restrictions: 31935
[extractor] writing street name index ... ok, after 0.159635s
[info] extraction finished after 2046.13s
[info] Generating edge-expanded graph representation
[info]  - 31935 restrictions.
[info] Importing n = 36442184 nodes 
[info]  - 17000 bollard nodes, 41647 traffic lights
[info]  and 37971544 edges 
[info] Graph loaded ok and has 37971544 edges
. 10% . 20% . 30% . 40% . 50% . 60% . 70% . 80% . 90% . 100%
[info] Node compression ratio: 0.166043
[info] Edge compression ratio: 0.19941
. 10% . 20% . 30% . 40% . 50% . 60% . 70% . 80% . 90% . 100%
[info] Generated 37961020 nodes in edge-expanded graph
[info] generating edge-expanded edges
. 10% . 20% . 30% . 40% . 50% . 60% . 70% . 80% . 90% . 100%
[info] Generated 37961020 edge based nodes
[info] Node-based graph contains 13952773 edges
[info] Edge-expanded graph ...
[info]   contains 25874228 edges
[info]   skips 26910 turns, defined by 31859 restrictions
[info]   skips 11264858 U turns
[info]   skips 18504 turns over barriers
[info] Timing statistics for edge-expanded graph:
[info] Renumbering edges: 0.239598s
[info] Generating nodes: 10.5262s
[info] Generating edges: 44.5756s
[info] building r-tree ...
[info] large component [6711]=13836854
[info] SCC run took: 1.89227s
[info] constructing r-tree of 37961020 edge elements build on-top of 36442184 
coordinates
[info] finished r-tree construction in 23.796 seconds
[info] writing node map ...
[extractor] Writing edge-based-graph egdes   ... ok, after 3.98042s
[info] Processed 25874228 edges
[info] Expansion  : 274152 nodes/sec and 104966 edges/sec
[info] To prepare the data for routing, run: ./osrm-prepare france-latest.osrm

[STXXL-ERRMSG] Removing disk file: /var/tmp/stxxl
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.


Thanks for your help.

Kind regards.

Didier___
OSRM-talk mailing list
OSRM-talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osrm-talk


Re: [OSRM-talk] One request, 2 answers

2016-03-21 Thread Didier Doumerc
Of course. Well, I needed another pair of eyes to see this evidence.

Otherwise, did you modify the default parameters in the car.lua file ? Some 
speeds seem to be low.

Thank you +++

Didier

Le lun.21/03/16 à 12:37, Julien Coupey a écrit :

> Hi Didier,
> 
> I'm getting the same kind of result of about 503 km on a custom server set-up 
> with *only* the french road network. But if you look closely at the 379 km 
> route you get from the demo server, you'll see it goes a long way through 
> Switzerland.
> 
> My guess would be the second option (data mismatch), with the additional bias 
> of a missing country! ;-)
> 
> Best,
> Julien
> 
> Le 21/03/2016 11:59, Daniel Hofmann a écrit :
>> There are two problems I can see:
>> 
>> 1/ the demo server runs from the develop branch, and you are probably
>> running osrm-backend's latest stable release. It certainly could be that
>> we fixed a few issues in develop that you don't yet have locally.
>> 
>> 2/ the demo server re-runs the toolchain on a fresh planet on a daily
>> basis, and you're local extract may be outdated (or even a few hour newer).
>> 
>> As you can see there's both the possibility for 1/ code mismatch and 2/
>> data mismatch between the demo server and your local setup.
>> 
>> Cheers,
>> Daniel J H
>> 
>> On Mon, Mar 21, 2016 at 11:30 AM, Didier Doumerc <doumer...@adimep.com
>> <mailto:doumer...@adimep.com>> wrote:
>> 
>>Hi,
>> 
>>Here is my first message on this mailinglist.
>> 
>>Some time, I get very different distances, depending of the server
>>to witch I send the request.
>> 
>>Example : 379 Km vs 503 Km. The right one is 379 km.
>> 
>>
>> router.project-osrm.org/viaroute?loc=48.407126,7.449348=46.117948,6.359105=false=false
>>
>> <http://router.project-osrm.org/viaroute?loc=48.407126,7.449348=46.117948,6.359105=false=false>
>> 
>>Answer : [...]
>>total_distance":379125,"total_time":14284,"end_point":"Place du
>>Village","start_point":"Rue Taufflieb (D 35)"},[...]
>> 
>> 
>>When I ask my own server :
>> 
>>
>> 10.168.221.253:5000/viaroute?loc=48.407126,7.449348=46.117948,6.359105=false=false
>>
>> <http://10.168.221.253:5000/viaroute?loc=48.407126,7.449348=46.117948,6.359105=false=false>
>> 
>>Answer : [...]end_point":"Place du Village","start_point":"Rue
>>Taufflieb (D 35)","total_time":17081,"total_distance":503559}[...]
>> 
>> 
>>Can someone tell me how to fix this ?
>> 
>>Thanks
>> 
>>Didier
>> 
>>___
>>OSRM-talk mailing list
>>OSRM-talk@openstreetmap.org <mailto:OSRM-talk@openstreetmap.org>
>>https://lists.openstreetmap.org/listinfo/osrm-talk
>> 
>> 
>> 
>> 
>> ___
>> OSRM-talk mailing list
>> OSRM-talk@openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/osrm-talk
>> 
> 
> ___
> OSRM-talk mailing list
> OSRM-talk@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osrm-talk



___
OSRM-talk mailing list
OSRM-talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osrm-talk


[OSRM-talk] One request, 2 answers

2016-03-21 Thread Didier Doumerc
Hi,

Here is my first message on this mailinglist.

Some time, I get very different distances, depending of the server to witch I 
send the request.

Example : 379 Km vs 503 Km. The right one is 379 km.

router.project-osrm.org/viaroute?loc=48.407126,7.449348=46.117948,6.359105=false=false

Answer : [...] total_distance":379125,"total_time":14284,"end_point":"Place du 
Village","start_point":"Rue Taufflieb (D 35)"},[...]


When I ask my own server :

10.168.221.253:5000/viaroute?loc=48.407126,7.449348=46.117948,6.359105=false=false

Answer : [...]end_point":"Place du Village","start_point":"Rue Taufflieb (D 
35)","total_time":17081,"total_distance":503559}[...]


Can someone tell me how to fix this ?

Thanks

Didier___
OSRM-talk mailing list
OSRM-talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/osrm-talk