logo separator

[mkgmap-dev] Compilation fails building France map

From Gerd Petermann gpetermann_muenchen at hotmail.com on Sun May 24 17:09:38 BST 2020

Hi Steph,

as I expected. The data looks completely wrong. My guess: The bano data contains ids in the same range as the real OSM data.
In your sample file I see a huge amount of long motorways, and those will make it into the overview map. Anyway, all map tiles will also contain this error.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Steph <st3ph.martin at laposte.net>
Gesendet: Sonntag, 24. Mai 2020 15:17
An: mkgmap-dev at lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] Compilation fails building France map

Zipped files…
http://files.mkgmap.org.uk/download/471/pbf-with-bano.zip

Including the last .osm.pbf produced.

Steph

Le 24/05/2020 à 14:46, Gerd Petermann a écrit :
> Hi Steph.
>
> I need the merged OSM file, not the img file.
> I want to find out what additional objects are written to the overview map when the bano data is included.
> Maybe the merge itself produces wrong data? I remember other data sources where the ids conflicted with real OSM data.
> The typical result are lots of very long ways when you load the tile into JOSM.
>
> Gerd
>
>
> ________________________________________
> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Steph <st3ph.martin at laposte.net>
> Gesendet: Sonntag, 24. Mai 2020 13:02
> An: mkgmap-dev at lists.mkgmap.org.uk
> Betreff: Re: [mkgmap-dev] Compilation fails building France map
>
> Hi Gerd,
>
> No other error messages.
> And the working directory was clean before testing with default style,
> I'm pretty sure… 🙄
>
> Anyway, I make a new test and upload the tile you have requested.
>
> Steph
>
> Le 24/05/2020 à 13:49, Gerd Petermann a écrit :
>> Hi Steph,
>>
>> just to make sure: There are no other error messages from splitter or mkgmap, right?
>> And you used a clean directory without any possibly corrupted artifacts?
>>
>> Gerd
>>
>> ________________________________________
>> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Gerd Petermann <gpetermann_muenchen at hotmail.com>
>> Gesendet: Sonntag, 24. Mai 2020 12:39
>> An: mkgmap-dev at lists.mkgmap.org.uk
>> Betreff: Re: [mkgmap-dev] Compilation fails building France map
>>
>> Hi Steph,
>>
>> address data is stored with the roads in the NET file and normally the overview map doesn't contain many roads.
>>
>> Please upload a single tile of bano data merged with OSM data to http://files.mkgmap.org.uk/
>> and the mkgmap options that you use with the default style.
>>
>> Gerd
>>
>> ________________________________________
>> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Stéphane MARTIN <st3ph.martin at laposte.net>
>> Gesendet: Sonntag, 24. Mai 2020 12:16
>> An: mkgmap-dev at lists.mkgmap.org.uk
>> Betreff: Re: [mkgmap-dev] Compilation fails building France map
>>
>> Hi!
>>
>> I made a few tests according to Gerd and Joris instructions.
>>
>> My style is not so heavy for overview map and all modifications I tried
>> to make it lighter failed.
>> So I replaced my style with default style and mapnik typ within my
>> scripts… that failed !
>>
>> The fact is I merge a national addresses db (BANO ->
>> http://bano.openstreetmap.fr/data) with the Geofabrik pbf before running
>> splitter.
>> If I don't make this merging, compilation run fine.
>>
>> So it appears that it's not an “esthetic” map particularity but address
>> data which produce issues, if I got it right…
>> And of course I don't know why 😂
>>
>> Thanks again.
>>
>> Regards!
>>
>> Steph
>>
>> Le 23/05/2020 à 19:18, Joris Bo a écrit :
>>> Hi Steph
>>>
>>> I had these kinds of problems in my early days when trying to build a full-europe map.
>>> I'm not the expert, but what I find out was that it I looks like the overviewmap is one big *.img file
>>> And so combines everything you put in your lower overview levels 17,16,15,14 & 12 together
>>> Above the overview levels (18-24) multiple tiles are created giving you an 'endless' amount of space but for the overview levels its whatever fits in this one img file. There is a limit (don't know how much)
>>> (If I remember correctly I even had to wait 6 hours before at the very end the overview map was written and failed the process)
>>>
>>> For me, it did not help to use less levels but just limiting the amount of stuf drawn starting from 12 to 17
>>> I adjusted 98% of my polygons and lines to be sure they start above 17 and/or use the --polygon-size-limits option to filter out smaller pieces.
>>>
>>> For now I can build a full Europe map including France and it still fits within the overview limits
>>> For the overview map levels I only use
>>> - motorway, trunk and primary (but not the motorway_link, trunk_link and primarylink)
>>> - for every level 12-14-15-16-17 I even use a different line code and line-width only because it just looks nice when zooming in
>>> - no tunnels, bridges, railways or oneway
>>> - Only waterways if the water-way relation is tagged longer dan 50km
>>> - Only residential landuse to highlight city area's
>>> - Only natural = * & area_size() > 2000000 (which is approximately 3km x 3km)
>>>
>>> Since then, problems gone
>>> Kind regards
>>> Joris
>>>
>>>
>>>
>>>
>>> -----Oorspronkelijk bericht-----
>>> Van: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> Namens Steph
>>> Verzonden: zaterdag 23 mei 2020 11:09
>>> Aan: Development list for mkgmap <mkgmap-dev at lists.mkgmap.org.uk>
>>> Onderwerp: Re: [mkgmap-dev] Compilation fails building France map
>>>
>>> Thank you !
>>>
>>> Got the same levels and overview-levels as default style.
>>> levels = 0:24, 1:22, 2:20, 3:18
>>> overview-levels = 4:17, 5:16, 6:15, 7:14, 8:12
>>>
>>> How can I make overview lighter ?
>>> Supressing a level ?
>>> Decrease max-nodes with splitter ?
>>>
>>> Steph
>>>
>>> Le 23/05/2020 à 11:50, Gerd Petermann a écrit :
>>>> Hi Steph,
>>>>
>>>> it seems your overview map contains too many details. Compare the options levels and overview-levels with the default style.
>>>>
>>>> Gerd
>>>>
>>>> ________________________________________
>>>> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag
>>>> von Steph <st3ph.martin at laposte.net>
>>>> Gesendet: Samstag, 23. Mai 2020 10:07
>>>> An: Development list for mkgmap
>>>> Betreff: [mkgmap-dev] Compilation fails building France map
>>>>
>>>> Hi,
>>>>
>>>> Since a couple of days the compilation for my France map fails.
>>>>
>>>> Perhaps the output log could help you to indicate me the direction I
>>>> should investigate.
>>>>
>>>> - mkgmap-r4486
>>>> - java -version:
>>>> openjdk version "13.0.2" 2020-01-14
>>>> OpenJDK Runtime Environment (build 13.0.2+8) OpenJDK 64-Bit Server VM
>>>> (build 13.0.2+8, mixed mode)
>>>>
>>>> - France.log:
>>>> Time started: Sat May 23 10:15:31 EAT 2020 The following styles are
>>>> available:
>>>> default           1.27: "Default style" modifié.
>>>>           Style détaillé pour un usage pédestre mais
>>>>           fonctionnel aussi en usage cycliste ou motorisé.
>>>> Found one style in /home/steph/osm/styles/default/ finished
>>>> check-styles Number of MapFailedExceptions: 0 Exception in thread
>>>> "main" java.lang.AssertionError: 164041
>>>>           at
>>>> uk.me.parabola.imgfmt.app.BufferedImgFileWriter.put2u(BufferedImgFileWriter.java:164)
>>>>           at uk.me.parabola.imgfmt.app.trergn.Zoom.write(Zoom.java:81)
>>>>           at
>>>> uk.me.parabola.imgfmt.app.trergn.TREFile.writeMapLevels(TREFile.java:215)
>>>>           at
>>>> uk.me.parabola.imgfmt.app.trergn.TREFile.writeBody(TREFile.java:123)
>>>>           at uk.me.parabola.imgfmt.app.trergn.TREFile.write(TREFile.java:342)
>>>>           at
>>>> uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:305)
>>>>           at
>>>> uk.me.parabola.mkgmap.combiners.OverviewBuilder.writeOverviewMap(OverviewBuilder.java:191)
>>>>           at
>>>> uk.me.parabola.mkgmap.combiners.OverviewBuilder.onFinish(OverviewBuilder.java:104)
>>>>           at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:674)
>>>>           at
>>>> uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:125)
>>>>            at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:143)
>>>>            at uk.me.parabola.mkgmap.main.Main.main(Main.java:114)
>>>>
>>>>
>>>> Two little overlays (for ski resorts and particular osm tags I want to
>>>> verify) are correctly produce.
>>>> The main map compilation fails!
>>>>
>>>> Regards.
>>>>
>>>> Steph
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


More information about the mkgmap-dev mailing list