<div><div dir="auto">The empty POIs are a mistake. Don’t do anything special as I will remove them.</div></div><div dir="auto"><br></div><div dir="auto">John Thorn</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 2 Oct 2019 at 12:00, <<a href="mailto:mkgmap-dev-request@lists.mkgmap.org.uk">mkgmap-dev-request@lists.mkgmap.org.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send mkgmap-dev mailing list submissions to<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:mkgmap-dev-request@lists.mkgmap.org.uk" target="_blank">mkgmap-dev-request@lists.mkgmap.org.uk</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:mkgmap-dev-owner@lists.mkgmap.org.uk" target="_blank">mkgmap-dev-owner@lists.mkgmap.org.uk</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of mkgmap-dev digest..."<br>
Today's Topics:<br>
<br>
1. Commit r4295: avoid conversion to Integer, no funtional<br>
change (svn commit)<br>
2. Re: Commit r4292: Fix problem with long roads producing the<br>
error message "internal error? The nodeCount doesn't match value<br>
calculated by RoadNetWork" (Gerd Petermann)<br>
<br><br><br>---------- Forwarded message ----------<br>From: svn commit <<a href="mailto:svn@mkgmap.org.uk" target="_blank">svn@mkgmap.org.uk</a>><br>To: <a href="mailto:mkgmap-svn@lists.mkgmap.org.uk" target="_blank">mkgmap-svn@lists.mkgmap.org.uk</a>, <a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>Cc: <br>Bcc: <br>Date: Wed, 2 Oct 2019 07:25:05 +0100 (BST)<br>Subject: [mkgmap-dev] Commit r4295: avoid conversion to Integer, no funtional change<br>Version mkgmap-r4295 was committed by gerd on Wed, 02 Oct 2019<br>
<br>
avoid conversion to Integer, no funtional change<br>
<br>
<a href="http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4295" rel="noreferrer" target="_blank">http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4295</a><br><br><br>---------- Forwarded message ----------<br>From: Gerd Petermann <<a href="mailto:gpetermann_muenchen@hotmail.com" target="_blank">gpetermann_muenchen@hotmail.com</a>><br>To: Development list for mkgmap <<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a>><br>Cc: <br>Bcc: <br>Date: Wed, 2 Oct 2019 09:18:59 +0000<br>Subject: Re: [mkgmap-dev] Commit r4292: Fix problem with long roads producing the error message "internal error? The nodeCount doesn't match value calculated by RoadNetWork"<br>Hi IMG experts,<br>
<br>
the message is produced because we have to different ways to calculate a counter which is written to NET. It is not obvious which one is correct and therefore we<br>
have a check that compares the counters. Some special cases only occur with polish (*.mp) input, others only with osm data.<br>
<br>
I've now started a new branch called "NET-no-NOD" to improve the code so that it <br>
- supports writing NET without NOD data from polish input<br>
- doesn't write redundant data into RGN when neither housenumbers nor NOD data is present for a road<br>
- ignores empty POI instead of crashing (special case for John Thorne)<br>
<br>
This is complex because in OSM data each point (Node) has a unique ID while in *.mp this is not the case.<br>
On the other hand with *.mp input the user can produce roads which have only one routable node in the middle (+-shaped crossing).<br>
<br>
I think the branch already works better than trunk but testing is complicated. I test these fixed options --index --preserve-element-order --bounds=f:\osm\bounds.zip <br>
in combination with<br>
1) --net<br>
2) --route<br>
3) --net --housenumbers<br>
4) --route --housenumbers<br>
both with various *.osm and *.mp data. <br>
Whereever I find differences in the IMG output I try to find out if the new result is an improvement or not. I use Mapsource to test effects on routing and the display tool to analyse the differences in the RGN, NET and NOD files...<br>
<br>
Gerd<br>
<br>
<br>
________________________________________<br>
Von: mkgmap-dev <<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk" target="_blank">mkgmap-dev-bounces@lists.mkgmap.org.uk</a>> im Auftrag von Gerd Petermann <<a href="mailto:gpetermann_muenchen@hotmail.com" target="_blank">gpetermann_muenchen@hotmail.com</a>><br>
Gesendet: Samstag, 28. September 2019 08:33<br>
An: Development list for mkgmap<br>
Betreff: Re: [mkgmap-dev] Commit r4292: Fix problem with long roads producing the error message "internal error? The nodeCount doesn't match value calculated by RoadNetWork"<br>
<br>
Hi Ticker,<br>
<br>
thanks for the details, I've reverted the problemtatic patch for now, so r4294 should work fine for most users (except John Thorne)<br>
<br>
Gerd<br>
<br>
________________________________________<br>
Von: mkgmap-dev <<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk" target="_blank">mkgmap-dev-bounces@lists.mkgmap.org.uk</a>> im Auftrag von Ticker Berkin <<a href="mailto:rwb-mkgmap@jagit.co.uk" target="_blank">rwb-mkgmap@jagit.co.uk</a>><br>
Gesendet: Samstag, 28. September 2019 08:22<br>
An: Development list for mkgmap<br>
Betreff: Re: [mkgmap-dev] Commit r4292: Fix problem with long roads producing the error message "internal error? The nodeCount doesn't match value calculated by RoadNetWork"<br>
<br>
Hi<br>
<br>
I've minimised the options and still get the problem.<br>
<br>
Downloading this morning from:<br>
<a href="http://download.geofabrik.de/europe/great-britain/wales.html" rel="noreferrer" target="_blank">http://download.geofabrik.de/europe/great-britain/wales.html</a><br>
<br>
java -Xmx1540M -ea -jar splitter-r592/splitter.jar --mapid=74320089 -<br>
-split-file=tstSep19.list wales-latest.osm.pbf >splitter.log 2>&1<br>
<br>
where tstSep19.list contains:<br>
<br>
4320089: 2398208,-194560 to 2437120,-155648<br>
# : 51.459961,-4.174805 to 52.294922,-3.339844<br>
<br>
Then, with latest bounds downloaded from the link on <a href="http://mkgmap.org.uk" rel="noreferrer" target="_blank">mkgmap.org.uk</a><br>
<br>
java -jar mkgmap-r4293/mkgmap.jar --route --bounds=bounds.zip --input<br>
-file=74320089.osm.pbf<br>
<br>
I get:<br>
<br>
Time started: Sat Sep 28 07:03:00 BST 2019<br>
SEVERE (RoadDef): 74320089.osm.pbf: internal error? The nodeCount<br>
doesn't match value calculated by RoadNetWork: (<br>
<a href="http://www.openstreetmap.org/browse/way/26552046" rel="noreferrer" target="_blank">http://www.openstreetmap.org/browse/way/26552046</a>)<br>
SEVERE (RoadDef): 74320089.osm.pbf: internal error? The nodeCount<br>
doesn't match value calculated by RoadNetWork: (<br>
<a href="http://www.openstreetmap.org/browse/way/124109672" rel="noreferrer" target="_blank">http://www.openstreetmap.org/browse/way/124109672</a>)<br>
SEVERE (RoadDef): 74320089.osm.pbf: internal error? The nodeCount<br>
doesn't match value calculated by RoadNetWork: (<br>
<a href="http://www.openstreetmap.org/browse/way/139314867" rel="noreferrer" target="_blank">http://www.openstreetmap.org/browse/way/139314867</a>)<br>
SEVERE (RoadDef): 74320089.osm.pbf: internal error? The nodeCount<br>
doesn't match value calculated by RoadNetWork: (<br>
<a href="http://www.openstreetmap.org/browse/way/24556428" rel="noreferrer" target="_blank">http://www.openstreetmap.org/browse/way/24556428</a>)<br>
Number of MapFailedExceptions: 0<br>
Number of ExitExceptions: 0<br>
Time finished: Sat Sep 28 07:03:44 BST 2019<br>
Total time taken: 44 seconds<br>
<br>
Ticker<br>
<br>
<br>
On Fri, 2019-09-27 at 13:48 +0100, Ticker Berkin wrote:<br>
> Hi Gerd<br>
><br>
> I've just updated my build from 4288 to 4293 and I'm now getting<br>
> quite<br>
> a few of these errors<br>
><br>
> SEVERE (RoadDef): 74220089.osm.pbf: internal error? The nodeCount<br>
> doesn't match value calculated by RoadNetWork: (<br>
> <a href="http://www.openstreetmap.org/browse/way/26552046" rel="noreferrer" target="_blank">http://www.openstreetmap.org/browse/way/26552046</a>)<br>
> SEVERE (RoadDef): 74220089.osm.pbf: internal error? The nodeCount<br>
> doesn't match value calculated by RoadNetWork: (<br>
> <a href="http://www.openstreetmap.org/browse/way/40038526" rel="noreferrer" target="_blank">http://www.openstreetmap.org/browse/way/40038526</a>)<br>
><br>
> My options include:<br>
> --no-housenumbers<br>
> --link-pois-to-ways<br>
> --add-boundary-nodes-at-admin-boundaries=0<br>
> --style-file=../styles/mystyle<br>
> and many others<br>
><br>
> I'll try to reproduce with simpler options and the default style<br>
><br>
> Regards<br>
> Ticker<br>
><br>
><br>
> On Wed, 2019-09-25 at 08:10 +0100, svn commit wrote:<br>
> > Version mkgmap-r4292 was committed by gerd on Wed, 25 Sep 2019<br>
> ><br>
> > Fix problem with long roads producing the error message "internal<br>
> > error? The nodeCount doesn't match value calculated by RoadNetWork"<br>
> > Problem was introduced with r4291<br>
> ><br>
> > <a href="http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=429" rel="noreferrer" target="_blank">http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=429</a><br>
> > 2<br>
> > _______________________________________________<br>
> > mkgmap-dev mailing list<br>
> > <a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
> > <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
> _______________________________________________<br>
> mkgmap-dev mailing list<br>
> <a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
> <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
_______________________________________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
_______________________________________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
<br>
_______________________________________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></blockquote></div></div>