logo separator

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

From Gerd Petermann gpetermann_muenchen at hotmail.com on Tue Sep 28 08:44:48 BST 2021

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


More information about the mkgmap-dev mailing list