logo separator

[mkgmap-dev] mkgmap_locator choking if --index not given

From Felix Hartmann extremecarver at gmail.com on Thu May 19 18:19:33 BST 2011


On 19.05.2011 19:08, WanMil wrote:
> I haven't observed such a situation up to now.
>
> If you want to know what happens you might connect with jvisualvm and 
> provide the stack trace of the situation when you think that mkgmap 
> locator crashes.
>
> The locator branch still has pre alpha status so everything is possible.
>
> WanMil
>
> P.S.: By the way: did you solve your compile problems?
yes (though I really think that the jars should be included into the lib 
folder, it would be much easier - and solve eventual problems with 
newer/older versions).
> P.P.S.: I cannot reproduce that the locator branch chokes when not 
> providing --index. Did you apply any patches?
Yes - I attach them to this mail. But I don't think any of them should 
matter. I can retry tomorrow though with an mkgmap_locator.jar 
downloaded from mkgmap.

BTW: can you try to compile Serbia from Geofabrik (todays extract) -- 
there is something which is definitely broken and stops mkgmap stall. I 
also have Serbia as missing tile on the map of Europe. Most countries 
seem to be going alright however (Out of 26 compiled so far, only Serbia 
and Iceland got mkgmap choking -- countries outside of Europe, I parse 
to normal mkgmap right now however - as I don't have any bounds for them 
anyhow).
>
>> Okay even worse, on some countries mkgmap_locator does not work at all.
>>
>> Downloaded today from Geofabrik and breaking up in eternety just
>> producing a 0bit .img file: Serbia and Iceland,
>> Is it possible that if the bounds are not covering the full country,
>> mkgmap_locator crashes??
>>
>> I'm using the latest "published" Europe boundaries. At least Serbia
>> shouldn't be affected by missing boundaries though....
>>
>> On 19.05.2011 18:26, Felix Hartmann wrote:
>>> Mkgmap locator branch, chokes on compiling Albania...
>>>
>>> With the following command it just never  finishes. It does create a
>>> 0bit 64140000.img though.
>>>
>>> c:\OpenMTBMap\maps>start /low /b /wait java -ea -jar -Xmx6500M
>>> c:\openmtbmap\mkgmap_locator.jar "--style-file=c:\openmtbmap\new4"
>>> --max-jobs=4 --generate-sea=extend-sea-sector
>>> s,close-gaps=6000,floodblocker,fbgap=60,fbthres=200,fbratio=0.6
>>> --latin1  "--boundsdirectory=c:\openmtbmap\maps\bounds"
>>> --reduce-point-density=4 --nsis --transparent --adjust-
>>> turn-headings --add-pois-to-areas --ignore-maxspeeds
>>> --x-reduce-point-density-polygon=8 --link-pois-to-ways
>>> --ignore-turn-restrictions --min-size-polygon=15 --remove-short-arc
>>> s=4 --description=openmtbmap_al --merge-lines --location-autofill=1
>>> --route --country-abbr=al --country-name=albania  --mapname=64140000
>>> --family-id=6414 --product-id=1 --seri
>>> es-name=openmtbmap_albania_19.05.2011
>>> --family-name=mtbmap_al_19.05.2011 --tdbfile --overview-mapname=mapset
>>> --keep-going --area-name="albania_19.05.2011_openmtbmap.org" -c c:
>>> \openmtbmap\maps\template.albania
>>>
>>>
>>>
>>> Well the above wouldn't be really problematic, however last night
>>> mkgmap locator branch finished my map of Europe, but choked on
>>> creating the mdr.img because there existet three 0bit .img files. I
>>> stopped it and created the index within 10minutes after having deleted
>>> the offending 0bit files.
>>>
>>> Now I thought I'll just create all maps without --index, then clean up
>>> broken 0bit .img files, and create the index. This is not possible
>>> however, as the locator branch chokes when not providing --index.
>>>
>>>
>>>
>>> So there needs to be a change that mkgmap itself deletes the 0bit .img
>>> files, before creating the mdr.img and mdx files. (note I already used
>>> max-nodes 700.000, so Europe worked out at a whopping 1123 .img files,
>>> the biggest around 12MB - so I am sure (also seen nothing in log) that
>>> further reducing max-nodes won't solve mkgmap to create broken .img
>>> files -- on all three there was not a problem related to max-nodes.
>>> They simply did not compile.
>>>
>> _______________________________________________
>> mkgmap-dev mailing list
>> mkgmap-dev at lists.mkgmap.org.uk
>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mkgmap_patches_locator.patch
Type: text/x-patch
Size: 12083 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20110519/0db59635/attachment.bin 


More information about the mkgmap-dev mailing list