Re: [mkgmap-dev] mkgmap creates bad mapset, when input files aren't sorted

2016-03-13 Thread popej

Hi Steve,

> Are you using --max-jobs?

I have reduced problem to 3 files and then executed mkgmap with options 
like in my first post, no max-jobs. Now I have tried with max-jobs=8 and 
still have gotten differences in one file, second on the list this time.


TDB contains tiles in the same order as in options. Maybe it is not a 
problem, but probably better sort them for TDB too.


--
Best regards,
Andrzej
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] mkgmap creates bad mapset, when input files aren't sorted

2016-03-13 Thread popej

Hi Steve,

> It would be better to sort the file arguments after the maps are
> created but before they are combined into the index.

Sorting arguments could be a good trick to bypass the problem. After 
finding the reason I have added sorting to my scripts and now it works OK.


Differences in img files worry me a bit too. I can't see any negative 
consequences but it looks like compilation is state dependent, maybe 
some variables are not cleared at the start of new img?


--
Best regards,
Andrzej
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] mkgmap creates bad mapset, when input files aren't sorted

2016-03-13 Thread Steve Ratcliffe


Hi

[ Sorry I released this from the moderation queue at almost exactly
the same time as you resent it from your other address]


This command creates bad mapset:

mkgmap --code-page=1252 --route --index --bounds=bounds

29624849.osm.pbf 29624847.osm.pbf 29624850.osm.pbf


You are right, the files have to be sorted by the internal map id.  I
have some complex code that is meant to sort the mdr1 section and all
the related sections but it sometimes or always doesn't actually
work ;)

(http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2015q1/023050.html)

It would be better to sort the file arguments after the maps are
created but before they are combined into the index.  So I shall have
a go at getting it to work finally.

..Steve
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


[mkgmap-dev] mkgmap (StyledConverter) Tile contains both drive-on-left an drive-on right

2016-03-13 Thread Thomas Morgenstern

Hi,
i am converting africa from http:\\download-geofabrik.de. mkgmap r-3671 
( and  any older versions too ) give me a warrning : 'Schwerwiegend 
(StyledConverter): file xyz.osm.pbf :Attention: Tile contains both 
drive-on left (104037) and drive-on right roads (6443) '. in my 
STYLEFILE i have the option --drive-on=detect,right. The img-file is 
successfull created and routing works in Mapsource. But is the routing 
correct ? Tiles contains many different countries. What con i do to 
prevent the warning ?


Thomas
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev