logo separator

[mkgmap-dev] Compilation fail with "Similar arcs"

From Stéphane MARTIN Stephma at protonmail.com on Tue Sep 28 09:57:01 BST 2021

Ok. Thanks for that info on splitter.

It's a "small" map, so I didn't pay attention to the free RAM, but I
think it was enough. I would have gotten an error message I guess…

DD space is OK.
Perhaps need I test the RAM…

Regards
Steph

Le 28/09/2021 à 11:43, Gerd Petermann a écrit :
> Hi Steph,
>
> splitter should not produce different results for the same set of input files and parms. I have no idea what went wrong before. Maybe a power failure or a forced reboot or something like that?
>
> Gerd
>
> ________________________________________
> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Stéphane MARTIN <Stephma at protonmail.com>
> Gesendet: Dienstag, 28. September 2021 10:35
> An: Development list for mkgmap
> Betreff: Re: [mkgmap-dev] Compilation fail with "Similar arcs"
>
> Very weird!
>
> Nothing on the output.
>
> The script :
>
> java -ea -Xms"$JXMS" -Xmx"$JXMX"
> -Dlog.config="$WORKDIR"/logs/logging.properties \
>           -XX:StringTableSize=100003 -jar "$WORKDIR"/applis/mkgmap.jar \
>           --gmapsupp \
>           --mapname="$MAPNAME" \
>           --country-name="$COUNTRY" \
>           --family-name="$COUNTRY OSM" \
>           --series-name="$COUNTRY-OSM" \
>           --area-name="$COUNTRY" \
>           --country-abbr="$ABBR" \
>           --style-file="$WORKDIR/styles/$STYLE/" \
>           --overview-mapnumber="$ID"0000 \
>
> --dem="$WORKDIR"/srtm_"$COUNTRY"/hgt/VIEW1/,"$WORKDIR"/srtm_"$COUNTRY"/hgt/SRTM1v3.0/,"$WORKDIR"/srtm_"$COUNTRY"/hgt/VIEW3/,"$WORKDIR"/srtm_"$COUNTRY"/hgt/SRTM3v3.0/
> \
>           --dem-poly="$WORKDIR"/srtm_"$COUNTRY"/"$COUNTRY".poly \
>           --read-config="$WORKDIR"/lib/mkgmap-options.txt \
>           --dem-dists=4968,13248,29808,56336 \
>           -c "mkgmap-$STYLE-$COUNTRY.cfg" \
>           -c template.args \
>           --description="$COUNTRY OSM" \
>           "$WORKDIR/styles/$STYLE/$STYLE.txt" 2>&1 | tee "$COUNTRY.log" |
> pv -N "Temps écoulé" -t
>
> I can't obtain anymore in the terminal "Number of MapFailedExceptions:
> 0" nor "Number of ExitExceptions: 0" because after recent changes within
> mkgmap those messages are no more in $COUNTRY.log, but at the end of
> mkgmap.log.
>
> Very weird because after a clean of the working directory and
> re-splitting (2 or 3 times, with no re-download from Geofabrik), the
> compilation is successful !
>
> The end of mkgmap.log for Madagascar…
>
> 18000035.osm.pbf: Similar arcs
> (http://www.openstreetmap.org/way/973242885) and
> (http://www.openstreetmap.org/way/973242863) found at
> http://www.openstreetmap.org/?mlat=-21.324415&mlon=48.015959&zoom=17
> 18000035.osm.pbf: Similar arcs
> (http://www.openstreetmap.org/way/771088520) and
> (http://www.openstreetmap.org/way/964949064) found at
> http://www.openstreetmap.org/?mlat=-21.767106&mlon=47.920583&zoom=17
> 18000036.osm.pbf: Similar arcs
> (http://www.openstreetmap.org/way/966663887) and
> (http://www.openstreetmap.org/way/961905286) found at
> http://www.openstreetmap.org/?mlat=-21.693665&mlon=47.853025&zoom=17
> 18000036.osm.pbf: Similar arcs
> (http://www.openstreetmap.org/way/964585499) and
> (http://www.openstreetmap.org/way/873182052) found at
> http://www.openstreetmap.org/?mlat=-21.620439&mlon=47.791359&zoom=17
> 18000036.osm.pbf: Similar arcs
> (http://www.openstreetmap.org/way/868771618) and
> (http://www.openstreetmap.org/way/873394563) found at
> http://www.openstreetmap.org/?mlat=-21.750576&mlon=47.798070&zoom=17
> Number of MapFailedExceptions: 0
> Number of ExitExceptions: 0
> Time finished: Tue Sep 28 11:15:45 EAT 2021
> Total time taken: 2 minutes 22 seconds
>
> So, perheaps splitter made the work in different ways ?
>
> Thanks.
> Steph
>
> Le 28/09/2021 à 10:44, Gerd Petermann a écrit :
>> Hi Steph,
>>
>> I guess your script redirects stderr. Maybe to null?
>> Do you see the message
>> "Number of MapFailedExceptions: 0"
>> in the run that compiled Mayotte?
>>
>> Gerd
>>
>> ________________________________________
>> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Stéphane MARTIN <Stephma at protonmail.com>
>> Gesendet: Dienstag, 28. September 2021 09:32
>> An: Development list for mkgmap
>> Betreff: Re: [mkgmap-dev] Compilation fail with "Similar arcs"
>>
>> No!
>>
>> Output:
>>
>> $ ./img-dem
>> Génération du fichier de configuration mkgmap.cfg
>> Renommage en mkgmap-default-Madagascar.cfg…
>> Création de la carte…
>> The following styles are available:
>> default           1.34: "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/
>> Warning: routable type 0x2f is used for non-routable line with level 0.
>> This may break routing. Style file lines, line 550
>> finished check-styles
>> Temps écoulé: 0:01:44
>> mkgmap a échoué. Consultez /home/steph/osm/work_Madagascar/mkgmap.log
>>
>> The log file I use :
>>
>> # This is the logging properties file for use with mkgmap:
>> # java -ea -Dlog.config=logging.properties -jar mkgmap.jar …
>>
>> # The default level FINE, WARNING, INFO, SEVERE
>> .level=SEVERE
>>
>> #handlers: java.util.logging.ConsoleHandler
>> handlers: java.util.logging.FileHandler
>>
>> # package or class name with .level appended and then the level
>> #uk.me.parabola.imgfmt.level=INFO
>> #uk.me.parabola.mkgmap.build.level=INFO
>> uk.me.parabola.mkgmap.main.Main.level=WARNING
>> #uk.me.parabola.mkgmap.main.MapMaker.level=INFO
>> uk.me.parabola.mkgmap.general.RoadNetwork.level=WARNING
>> #uk.me.parabola.mkgmap.general.MapLine.level=INFO
>> uk.me.parabola.mkgmap.osmstyle.level=SEVERE
>> uk.me.parabola.mkgmap.osmstyle.StyledConverter.level=WARNING
>> #uk.me.parabola.mkgmap.osmstyle.housenumber.level=INFO
>> uk.me.parabola.mkgmap.reader.osm.level=WARNING
>> uk.me.parabola.mkgmap.reader.osm.MultiPolygonRelation.level=SEVERE
>> uk.me.parabola.mkgmap.reader.osm.RestrictionRelation.level=WARNING
>> uk.me.parabola.mkgmap.reader.osm.Restriction.level=WARNING
>> uk.me.parabola.mkgmap.reader.osm.boundary.level=WARNING
>> #uk.me.parabola.mkgmap.osmstyle.stats.level=INFO
>>
>> # For routing islands
>> #uk.me.parabola.imgfmt.app.net.RoadNetwork.level=INFO
>>
>> # For ConsoleHandler
>> java.util.logging.ConsoleHandler.level=FINE
>> java.util.logging.ConsoleHandler.formatter=uk.me.parabola.log.UsefulFormatter
>>
>> # For FileHandler
>> java.util.logging.FileHandler.level=FINE
>> java.util.logging.FileHandler.encoding=UTF-8
>> java.util.logging.FileHandler.formatter=uk.me.parabola.log.UsefulFormatter
>> #java.util.logging.FileHandler.limit=5000000
>> #java.util.logging.FileHandler.count=4
>> java.util.logging.FileHandler.pattern=mkgmap.log
>> java.util.logging.FileHandler.append=false
>>
>>
>> Just tested a compil for Mayotte… all fine!
>>
>> Le 28/09/2021 à 10:26, Gerd Petermann a écrit :
>>> Hi Steph,
>>>
>>> this looks as if mkgmap crashed silently? No output to stderr?
>>>
>>> Gerd
>>>
>>> ________________________________________
>>> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Stéphane MARTIN <Stephma at protonmail.com>
>>> Gesendet: Dienstag, 28. September 2021 09:22
>>> An: Development list for mkgmap
>>> Betreff: Re: [mkgmap-dev] Compilation fail with "Similar arcs"
>>>
>>> Get no more infos…
>>>
>>> Output :
>>>>>> Found one style in /home/steph/osm/styles/default/
>>> Warning: routable type 0x2f is used for non-routable line with level 0.
>>> This may break routing. Style file lines, line 550
>>> finished check-styles
>>>
>>> and that's all !
>>>
>>> Several files are empty.
>>>
>>> $ ls -l 1800*
>>> .rw-r--r--    0 steph 28 sept. 08:20  18000001.img
>>> .rw-r--r-- 6,7M steph 28 sept. 08:19  18000001.osm.pbf
>>> .rw-r--r--  17M steph 28 sept. 08:21  18000002.img
>>> .rw-r--r-- 6,9M steph 28 sept. 08:19  18000002.osm.pbf
>>> .rw-r--r--  16M steph 28 sept. 08:21  18000003.img
>>> .rw-r--r-- 7,6M steph 28 sept. 08:20  18000003.osm.pbf
>>> .rw-r--r--  13M steph 28 sept. 08:21  18000004.img
>>> .rw-r--r-- 7,2M steph 28 sept. 08:20  18000004.osm.pbf
>>> .rw-r--r--  23M steph 28 sept. 08:21  18000005.img
>>> .rw-r--r-- 7,1M steph 28 sept. 08:20  18000005.osm.pbf
>>> .rw-r--r-- 7,5M steph 28 sept. 08:21  18000006.img
>>> .rw-r--r-- 6,6M steph 28 sept. 08:20  18000006.osm.pbf
>>> .rw-r--r-- 4,2M steph 28 sept. 08:20  18000007.img
>>> .rw-r--r-- 6,4M steph 28 sept. 08:20  18000007.osm.pbf
>>> .rw-r--r-- 5,4M steph 28 sept. 08:21  18000008.img
>>> .rw-r--r-- 6,7M steph 28 sept. 08:20  18000008.osm.pbf
>>> .rw-r--r-- 5,7M steph 28 sept. 08:21  18000009.img
>>> .rw-r--r-- 6,6M steph 28 sept. 08:20  18000009.osm.pbf
>>> .rw-r--r-- 5,5M steph 28 sept. 08:21  18000010.img
>>> .rw-r--r-- 6,6M steph 28 sept. 08:20  18000010.osm.pbf
>>> .rw-r--r-- 6,8M steph 28 sept. 08:21  18000011.img
>>> .rw-r--r-- 6,9M steph 28 sept. 08:20  18000011.osm.pbf
>>> .rw-r--r--    0 steph 28 sept. 08:21  18000012.img
>>> .rw-r--r-- 7,3M steph 28 sept. 08:20  18000012.osm.pbf
>>> .rw-r--r--    0 steph 28 sept. 08:21  18000013.img
>>> .rw-r--r-- 7,0M steph 28 sept. 08:20  18000013.osm.pbf
>>> .rw-r--r--  11M steph 28 sept. 08:21  18000014.img
>>> .rw-r--r-- 7,0M steph 28 sept. 08:20  18000014.osm.pbf
>>> .rw-r--r--    0 steph 28 sept. 08:21  18000015.img
>>> .rw-r--r-- 7,0M steph 28 sept. 08:20  18000015.osm.pbf
>>> .rw-r--r-- 6,7M steph 28 sept. 08:20  18000016.osm.pbf
>>> .rw-r--r--    0 steph 28 sept. 08:21  18000017.img
>>> .rw-r--r-- 6,3M steph 28 sept. 08:20  18000017.osm.pbf
>>> .rw-r--r--    0 steph 28 sept. 08:21  18000018.img
>>> .rw-r--r-- 6,3M steph 28 sept. 08:20  18000018.osm.pbf
>>> .rw-r--r-- 6,6M steph 28 sept. 08:20  18000019.osm.pbf
>>> .rw-r--r-- 6,3M steph 28 sept. 08:20  18000020.osm.pbf
>>> .rw-r--r-- 7,0M steph 28 sept. 08:20  18000021.osm.pbf
>>> .rw-r--r-- 6,9M steph 28 sept. 08:20  18000022.osm.pbf
>>> .rw-r--r-- 6,7M steph 28 sept. 08:20  18000023.osm.pbf
>>> .rw-r--r-- 6,0M steph 28 sept. 08:20  18000024.osm.pbf
>>> .rw-r--r-- 5,9M steph 28 sept. 08:20  18000025.osm.pbf
>>> .rw-r--r-- 6,6M steph 28 sept. 08:20  18000026.osm.pbf
>>> .rw-r--r-- 6,5M steph 28 sept. 08:20  18000027.osm.pbf
>>> .rw-r--r-- 6,4M steph 28 sept. 08:20  18000028.osm.pbf
>>> .rw-r--r-- 6,2M steph 28 sept. 08:20  18000029.osm.pbf
>>> .rw-r--r-- 6,0M steph 28 sept. 08:20  18000030.osm.pbf
>>> .rw-r--r-- 6,2M steph 28 sept. 08:20  18000031.osm.pbf
>>> .rw-r--r-- 6,4M steph 28 sept. 08:20  18000032.osm.pbf
>>> .rw-r--r-- 6,0M steph 28 sept. 08:20  18000033.osm.pbf
>>> .rw-r--r-- 6,1M steph 28 sept. 08:20  18000034.osm.pbf
>>> .rw-r--r-- 6,4M steph 28 sept. 08:20  18000035.osm.pbf
>>> .rw-r--r-- 6,4M steph 28 sept. 08:20  18000036.osm.pbf
>>>
>>>
>>> Le 28/09/2021 à 10:08, Gerd Petermann a écrit :
>>>> Hi Steph,
>>>>
>>>> the log doesn't show any failure. Similar arcs are quite normal even with the default style. What makes you think that mkgmap failed?
>>>>
>>>> Gerd
>>>>
>>>> ________________________________________
>>>> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Stéphane MARTIN <Stephma at protonmail.com>
>>>> Gesendet: Dienstag, 28. September 2021 07:39
>>>> An: Development list for mkgmap
>>>> Betreff: [mkgmap-dev] Compilation fail with "Similar arcs"
>>>>
>>>> Hi,
>>>>
>>>> - splitter-r642
>>>> - mkgmap-r4807
>>>>
>>>> mkgmap fails compiling Madagascar map with extract from Geofabrik.
>>>>
>>>> mkgmap.log : https://files.mkgmap.org.uk/download/521/mkgmap.log
>>>>
>>>> More informations needed ?
>>>>
>>>> Regards
>>>> Steph
>>>>
>>>> _______________________________________________
>>>> mkgmap-dev mailing list
>>>> mkgmap-dev at lists.mkgmap.org.uk
>>>> https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>>>
>>>
>>> _______________________________________________
>>> mkgmap-dev mailing list
>>> mkgmap-dev at lists.mkgmap.org.uk
>>> https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>>
>>
>> _______________________________________________
>> mkgmap-dev mailing list
>> mkgmap-dev at lists.mkgmap.org.uk
>> https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>>
>
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>



More information about the mkgmap-dev mailing list