<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Hi Gerd,</div>

<div> </div>

<div>thanks for your testing. I've no idea why it works on your side and on my side not. Maybe I have some sideeffects - I will setup a clean environment.</div>

<div>Currently I'm on a business trip till Thursday this week. I will send you the files when I'm back.</div>

<div> </div>

<div>Regards,</div>

<div>Gert</div>

<div> </div>

<div> </div>

<div> 
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Montag, 07. August 2017 um 09:13 Uhr<br/>
<b>Von:</b> "Gerd Petermann" <GPetermann_muenchen@hotmail.com><br/>
<b>An:</b> "Development list for mkgmap" <mkgmap-dev@lists.mkgmap.org.uk><br/>
<b>Betreff:</b> Re: [mkgmap-dev] Basecamp crashes with my map</div>

<div name="quoted-content">Hi Gert,<br/>
<br/>
I was not yet able to reproduce the problem using Basecamp 4.6.2<br/>
Please post a link to the corresponding *.img and let me know the options that you use for mkgmap.<br/>
<br/>
Gerd<br/>
________________________________________<br/>
Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von thesurveyor@wolke7.net <thesurveyor@wolke7.net><br/>
Gesendet: Montag, 7. August 2017 08:55:21<br/>
An: mkgmap-dev@lists.mkgmap.org.uk<br/>
Betreff: Re: [mkgmap-dev] Basecamp crashes with my map<br/>
<br/>
Hi Gerd,<br/>
<br/>
yes I did :-)<br/>
<br/>
I have tested all those things on two different PCs (both Win10 64bit). Same behaviour on both.<br/>
To reproduce it just click into the area of the tile. To find the tile I have made a track around it. Sometimes even this is not necessary and Basecamp crashes without interaction directly after it has loaded the map - maybe 5sec later.<br/>
<br/>
I have attached the osm-File and a track (kml-file) around it.<br/>
<br/>
Regards<br/>
Gert<br/>
<br/>
<br/>
Gesendet: Montag, 07. August 2017 um 07:06 Uhr<br/>
Von: "Gerd Petermann" <GPetermann_muenchen@hotmail.com><br/>
An: "Development list for mkgmap" <mkgmap-dev@lists.mkgmap.org.uk><br/>
Betreff: Re: [mkgmap-dev] Basecamp crashes with my map<br/>
Hi Gert,<br/>
<br/>
one more hint: Basecamp crashes in a method "GetDemElevationFromMapCache", so it seems to try to read cached data which doesn't exist.<br/>
Did you try to clear the cache? (press Ctrl+G two times)<br/>
<br/>
Gerd<br/>
________________________________________<br/>
Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von thesurveyor@wolke7.net <thesurveyor@wolke7.net><br/>
Gesendet: Sonntag, 6. August 2017 19:34:32<br/>
An: mkgmap-dev@lists.mkgmap.org.uk<br/>
Betreff: Re: [mkgmap-dev] Basecamp crashes with my map<br/>
<br/>
Hi Gerd, Thomas,<br/>
<br/>
I've changed my splitting to handle your hints. But it didn't help so far. Maybe I did something wrong. I will check again.<br/>
<br/>
But I didn't noticed yesterday that the tile is empty. As said my tiles contain contourlines. And with my splitting I get some tiles which are empty. They are somewhere in the ocean. The original tile was larger and covered a part of the continent. So there would be some contourlines. But after my manual split I've got a tile which hasn't.<br/>
<br/>
I have found some more tiles which make problems in my map. And all of them are empty or contain just contourlines with elevation=0 and elevation=0 is not rendered in my style.<br/>
Here one example in .osm-format (converted with osmosis from pbf to osm format)<br/>
<br/>
<?xml version='1.0' encoding='UTF-8'?><br/>
<osm version="0.6" generator="Osmosis 0.43.1"><br/>
<bounds minlon="-10.67871" minlat="44.20898" maxlon="-2.59277" maxlat="45.00000" origin="0.43.1"/><br/>
</osm><br/>
<br/>
I've made a cross check with a tile which contains just contourlines with elevation=0. I changed one line (way) to elevation=50 and now this tile runs fine in Basecamp.<br/>
<br/>
Is it a known problem that Basecamp crashes with empty tiles or at least with empty "contourlines tiles"?<br/>
Does mkgmap report an error or warning if it builds an empty tile? I didn't see such messages.<br/>
<br/>
Here the error message from Basecamp:<br/>
-------------------------------------<br/>
App: BaseCamp<br/>
At: 06.08.2017 18:46:48 (UTC1)<br/>
OS: Windows 10 (64-bit)<br/>
Processor: x86, Processor Level: 18, Processors:2, Model: 1 Stepping: 0, RAM: 7854824<br/>
MAP.GETDEMELEVATIONFROMMAPCACHE-1216-4.6.2.0<br/>
Es wurde versucht, im geschützten Speicher zu lesen oder zu schreiben. Dies ist häufig ein Hinweis darauf, dass anderer Speicher beschädigt ist.<br/>
bei map.GetDemElevationFromMapCache(Optional_t<double>* , Position_t* , Product_t* , MapCache_t* )<br/>
bei bc.MainForm_t.HandleMapViewMouseMove(Object sender, MouseEventArgs e)<br/>
bei System.Windows.Forms.MouseEventHandler.Invoke(Object sender, MouseEventArgs e)<br/>
bei System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)<br/>
bei System.Windows.Forms.Control.WmMouseMove(Message& m)<br/>
bei System.Windows.Forms.Control.WndProc(Message& m)<br/>
bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)<br/>
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)<br/>
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)<br/>
bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)<br/>
bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)<br/>
bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)<br/>
bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)<br/>
bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)<br/>
bei System.Windows.Forms.Application.Run(Form mainForm)<br/>
bei main(String[] aArgs)<br/>
<br/>
Active Map Product:<br/>
oEurC<br/>
Version: 1.00<br/>
<br/>
Installed Map Products:<br/>
Map Name: Globale Karte (Garmin Product)<br/>
Map Id: 133758977<br/>
Map Version: 2.0<br/>
Map Type: Bundle<br/>
Custom Drawn Map: No<br/>
Digital Elevation Model: No<br/>
Map Name: oEurC<br/>
Map Id: 458817537<br/>
Map Version: 1.0<br/>
Map Type: Legacy<br/>
Custom Drawn Map: Yes<br/>
Digital Elevation Model: Yes<br/>
<br/>
.NET Versions:<br/>
.NET FW 1.0 not installed.<br/>
.NET FW 1.1 not installed.<br/>
.NET FW 2.0 not installed.<br/>
.NET FW 3.0 not installed.<br/>
.NET FW 3.5 not installed.<br/>
OpenGL Version 2.1<br/>
-------------------------------------<br/>
<br/>
Regards<br/>
Gert<br/>
<br/>
<br/>
<br/>
<br/>
Gesendet: Samstag, 05. August 2017 um 21:09 Uhr<br/>
Von: "Gerd Petermann" <GPetermann_muenchen@hotmail.com><br/>
An: "Development list for mkgmap" <mkgmap-dev@lists.mkgmap.org.uk><br/>
Betreff: Re: [mkgmap-dev] Basecamp crashes with my map<br/>
Hi Gert,<br/>
<br/>
normally splitter uses Garmin units, the log shows e.g.<br/>
Map is being split for resolution 13:<br/>
- area boundaries are aligned to 0x800 map units (0.0439453125 degrees)<br/>
- areas are multiples of 0x800 map units wide and high<br/>
<br/>
So, if you force a split at other boundaries this might cause problems, at least with routing.<br/>
I suggest to post a link to the special tile for detailed analysis.<br/>
<br/>
ciao,<br/>
Gerd<br/>
________________________________________<br/>
Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von thesurveyor@wolke7.net <thesurveyor@wolke7.net><br/>
Gesendet: Samstag, 5. August 2017 20:54:17<br/>
An: mkgmap-dev Mailing List<br/>
Betreff: [mkgmap-dev] Basecamp crashes with my map<br/>
<br/>
Hi all,<br/>
<br/>
I've a question about splitting a map.<br/>
<br/>
I'm using splitter to split a large pbf-file with contourlines to about 300 tiles. This works fine. But now I have the requirement to support a process<br/>
with two parts of the whole map, splitted exactly at a given latitude. So I've written a simple tool that reads the tile-list from splitter ( --write-kml),<br/>
searches for the tiles which are north or south of the given latitude and writes them to a file. For the tiles which are divided by the given<br/>
latitude the tool divides the tile in two parts and writes the parts as new tiles to the file.<br/>
<br/>
As the next step splitter is called again with the file as a parameter (--split-file) and mkgmap is used to create the two maps.<br/>
All this works wonderful, but yesterday I've seen that Basecamp crashes when I install those tiles.<br/>
<br/>
I'm doing this since several years now, but never noticed that behaviour. Maybe I didn't see it, because I'm not using Basecamp very often.<br/>
<br/>
So today I spent some hours to look deeper into that problem. I could eliminate one tile. Then I noticed that size of this tile is just about 8 kB.<br/>
And when I deleted the tile from the map Basecamp doesn't crash anymore. Of course the map should have a hole now :-)<br/>
<br/>
Ok, so far so good, but what's the reason for that behaviour. This tile was splitted by my tool. So maybe I'm doing something wrong.<br/>
But I have splitted a lot more tiles which seem to work.<br/>
<br/>
So I have some questions:<br/>
1) I'm splitting the tiles into two parts, at full or half degrees, e,g. 47.00000 or 47.50000.<br/>
2) The mentioned tile is less than 1 degree in north to south direction.<br/>
Could one ot those questions lead to that behaviour?<br/>
<br/>
Do you have another idea what could be wrong with a tile that crashes Basecamp. Or do you have an idea what to check?<br/>
The map is working well on different Garmin devices (Oregon, etrex hcx).<br/>
<br/>
Many thanks for your support.<br/>
<br/>
Best regards,<br/>
Gert<br/>
<br/>
_______________________________________________<br/>
mkgmap-dev mailing list<br/>
mkgmap-dev@lists.mkgmap.org.uk<br/>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br/>
<br/>
<br/>
_______________________________________________<br/>
mkgmap-dev mailing list<br/>
mkgmap-dev@lists.mkgmap.org.uk<br/>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br/>
<br/>
<br/>
_______________________________________________<br/>
mkgmap-dev mailing list<br/>
mkgmap-dev@lists.mkgmap.org.uk<br/>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></div>
</div>
</div>
</div>

<div> </div>

<div class="signature"> </div></div></body></html>