
Hi Joao, difficult. Seems the algorithm to encode DEM data is wrong. All the DEM data in your screenshot looks bad, so maybe the problem is in the hgt input files or in the DEM options. Maybe try to use slightly different dem-dist value(s). If this doesn't help I need the *.hgt files that are used for this tile and the file C:\Garmin\SPLITT~4\67301053.o5m and the DEM options to be able to reproduce the problem. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Joao Almeida <joaoha@gmail.com> Gesendet: Freitag, 18. September 2020 03:41 An: mkgmap-dev@lists.mkgmap.org.uk Betreff: [mkgmap-dev] DEM file Number too big for binary encoding with 14 bits Hi, Any idea how I can diagnose this issue? SEVERE (StyledConverter): C:\Garmin\SPLITT~4\67301057.o5m: Attention: Tile contains both drive-on-left (81) and drive-on-right roads (1031) SEVERE (StyledConverter): C:\Garmin\SPLITT~4\67301054.o5m: Attention: Tile contains both drive-on-left (4817) and drive-on-right roads (4982) SEVERE (StyledConverter): C:\Garmin\SPLITT~4\67301053.o5m: Attention: Tile contains both drive-on-left (3133) and drive-on-right roads (1255) SEVERE (StyledConverter): C:\Garmin\SPLITT~4\67301052.o5m: Attention: Tile contains both drive-on-left (5668) and drive-on-right roads (603) SEVERE (StyledConverter): C:\Garmin\SPLITT~4\67301061.o5m: Attention: Tile contains both drive-on-left (2381) and drive-on-right roads (81) SEVERE (StyledConverter): C:\Garmin\SPLITT~4\67301065.o5m: Attention: Tile contains both drive-on-left (745) and drive-on-right roads (18) SEVERE (MapFailedException): C:\Garmin\SPLITT~4\67301053.o5m: (thrown in DEMTile.writeValAsBin()) Number too big for binary encoding with 14 bits:32559 SEVERE (MapBuilder): C:\Garmin\SPLITT~4\67301053.o5m: exception while creating DEM file Number too big for binary encoding with 14 bits:32559 SEVERE (MapFailedException): C:\Garmin\SPLITT~4\67301053.o5m: (thrown in MapBuilder.buildDem()) DEM SEVERE (StyledConverter): C:\Garmin\SPLITT~4\67301069.o5m: Attention: Tile contains both drive-on-left (4648) and drive-on-right roads (227) SEVERE (StyledConverter): C:\Garmin\SPLITT~4\67301070.o5m: Attention: Tile contains both drive-on-left (6416) and drive-on-right roads (2) SEVERE (StyledConverter): C:\Garmin\SPLITT~4\67301097.o5m: Attention: Tile contains both drive-on-left (19) and drive-on-right roads (2) SEVERE (StyledConverter): C:\Garmin\SPLITT~4\67301099.o5m: Attention: Tile contains both drive-on-left (2) and drive-on-right roads (2) Number of MapFailedExceptions: 1 Number of ExitExceptions: 0 Getting this while trying to build the map with DEM The result is attached. Thanks a lot Joao