Re: [mkgmap-dev] Basecamp crashes with my map

2017-08-10 Thread thesurveyor

Hi Gerd,

 

cause I had no idea why you couldn't reproduce the error I have checked build process and parameters. And suddenly I saw that even I generated all my maps with the actual mkgmap version, the contourline maps have been build with an rather old version - mkgmap-3685. So I checked why and tried again with mkgmap-3980.

And now the error has gone. For me that's the solution. Are you interested to look deeper into that problem anyway? If yes, then I can download the necessary files.

 

Many thanks for your support and sorry for the unnecessary problem message.

 

Best regards

Gert

 

 

Gesendet: Montag, 07. August 2017 um 12:56 Uhr
Von: thesurve...@wolke7.net
An: mkgmap-dev@lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] Basecamp crashes with my map




Hi Gerd,

 

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.

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

 

Regards,

Gert

 

 

 

Gesendet: Montag, 07. August 2017 um 09:13 Uhr
Von: "Gerd Petermann" <gpetermann_muenc...@hotmail.com>
An: "Development list for mkgmap" <mkgmap-dev@lists.mkgmap.org.uk>
Betreff: Re: [mkgmap-dev] Basecamp crashes with my map

Hi Gert,

I was not yet able to reproduce the problem using Basecamp 4.6.2
Please post a link to the corresponding *.img and let me know the options that you use for mkgmap.

Gerd

Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von thesurve...@wolke7.net <thesurve...@wolke7.net>
Gesendet: Montag, 7. August 2017 08:55:21
An: mkgmap-dev@lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] Basecamp crashes with my map

Hi Gerd,

yes I did :-)

I have tested all those things on two different PCs (both Win10 64bit). Same behaviour on both.
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.

I have attached the osm-File and a track (kml-file) around it.

Regards
Gert


Gesendet: Montag, 07. August 2017 um 07:06 Uhr
Von: "Gerd Petermann" <gpetermann_muenc...@hotmail.com>
An: "Development list for mkgmap" <mkgmap-dev@lists.mkgmap.org.uk>
Betreff: Re: [mkgmap-dev] Basecamp crashes with my map
Hi Gert,

one more hint: Basecamp crashes in a method "GetDemElevationFromMapCache", so it seems to try to read cached data which doesn't exist.
Did you try to clear the cache? (press Ctrl+G two times)

Gerd

Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von thesurve...@wolke7.net <thesurve...@wolke7.net>
Gesendet: Sonntag, 6. August 2017 19:34:32
An: mkgmap-dev@lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] Basecamp crashes with my map

Hi Gerd, Thomas,

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.

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.

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.
Here one example in .osm-format (converted with osmosis from pbf to osm format)






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.

Is it a known problem that Basecamp crashes with empty tiles or at least with empty "contourlines tiles"?
Does mkgmap report an error or warning if it builds an empty tile? I didn't see such messages.

Here the error message from Basecamp:
-
App: BaseCamp
At: 06.08.2017 18:46:48 (UTC1)
OS: Windows 10 (64-bit)
Processor: x86, Processor Level: 18, Processors:2, Model: 1 Stepping: 0, RAM: 7854824
MAP.GETDEMELEVATIONFROMMAPCACHE-1216-4.6.2.0
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.
bei map.GetDemElevationFromMapCache(Optional_t* , Position_t* , Product_t* , MapCache_t* )
bei bc.MainForm_t.HandleMapViewMouseMove(Object sender, MouseEventArgs e)
bei System.Windows.Forms.MouseEventHandler.Invoke(Object sender, MouseEventArgs e)
bei System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
bei System.Windows.Forms.Control.WmMouseMove(Message& m)
bei Sys

Re: [mkgmap-dev] Basecamp crashes with my map

2017-08-07 Thread thesurveyor

Hi Gerd,

 

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.

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

 

Regards,

Gert

 

 

 

Gesendet: Montag, 07. August 2017 um 09:13 Uhr
Von: "Gerd Petermann" <gpetermann_muenc...@hotmail.com>
An: "Development list for mkgmap" <mkgmap-dev@lists.mkgmap.org.uk>
Betreff: Re: [mkgmap-dev] Basecamp crashes with my map

Hi Gert,

I was not yet able to reproduce the problem using Basecamp 4.6.2
Please post a link to the corresponding *.img and let me know the options that you use for mkgmap.

Gerd

Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von thesurve...@wolke7.net <thesurve...@wolke7.net>
Gesendet: Montag, 7. August 2017 08:55:21
An: mkgmap-dev@lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] Basecamp crashes with my map

Hi Gerd,

yes I did :-)

I have tested all those things on two different PCs (both Win10 64bit). Same behaviour on both.
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.

I have attached the osm-File and a track (kml-file) around it.

Regards
Gert


Gesendet: Montag, 07. August 2017 um 07:06 Uhr
Von: "Gerd Petermann" <gpetermann_muenc...@hotmail.com>
An: "Development list for mkgmap" <mkgmap-dev@lists.mkgmap.org.uk>
Betreff: Re: [mkgmap-dev] Basecamp crashes with my map
Hi Gert,

one more hint: Basecamp crashes in a method "GetDemElevationFromMapCache", so it seems to try to read cached data which doesn't exist.
Did you try to clear the cache? (press Ctrl+G two times)

Gerd

Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von thesurve...@wolke7.net <thesurve...@wolke7.net>
Gesendet: Sonntag, 6. August 2017 19:34:32
An: mkgmap-dev@lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] Basecamp crashes with my map

Hi Gerd, Thomas,

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.

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.

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.
Here one example in .osm-format (converted with osmosis from pbf to osm format)






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.

Is it a known problem that Basecamp crashes with empty tiles or at least with empty "contourlines tiles"?
Does mkgmap report an error or warning if it builds an empty tile? I didn't see such messages.

Here the error message from Basecamp:
-
App: BaseCamp
At: 06.08.2017 18:46:48 (UTC1)
OS: Windows 10 (64-bit)
Processor: x86, Processor Level: 18, Processors:2, Model: 1 Stepping: 0, RAM: 7854824
MAP.GETDEMELEVATIONFROMMAPCACHE-1216-4.6.2.0
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.
bei map.GetDemElevationFromMapCache(Optional_t* , Position_t* , Product_t* , MapCache_t* )
bei bc.MainForm_t.HandleMapViewMouseMove(Object sender, MouseEventArgs e)
bei System.Windows.Forms.MouseEventHandler.Invoke(Object sender, MouseEventArgs e)
bei System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
bei System.Windows.Forms.Control.WmMouseMove(Message& m)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
bei System.Windows.Forms.Application.ThreadCont

Re: [mkgmap-dev] Basecamp crashes with my map

2017-08-07 Thread Gerd Petermann
Hi Gert,

I was not yet able to reproduce the problem using Basecamp 4.6.2
Please post a link to the corresponding *.img and let me know the options that 
you use for mkgmap.

Gerd

Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von 
thesurve...@wolke7.net <thesurve...@wolke7.net>
Gesendet: Montag, 7. August 2017 08:55:21
An: mkgmap-dev@lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] Basecamp crashes with my map

Hi Gerd,

yes I did :-)

I have tested all those things on two different PCs (both Win10 64bit). Same 
behaviour on both.
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.

I have attached the osm-File and a track (kml-file) around it.

Regards
Gert


Gesendet: Montag, 07. August 2017 um 07:06 Uhr
Von: "Gerd Petermann" <gpetermann_muenc...@hotmail.com>
An: "Development list for mkgmap" <mkgmap-dev@lists.mkgmap.org.uk>
Betreff: Re: [mkgmap-dev] Basecamp crashes with my map
Hi Gert,

one more hint: Basecamp crashes in a method "GetDemElevationFromMapCache", so 
it seems to try to read cached data which doesn't exist.
Did you try to clear the cache? (press Ctrl+G two times)

Gerd

Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von 
thesurve...@wolke7.net <thesurve...@wolke7.net>
Gesendet: Sonntag, 6. August 2017 19:34:32
An: mkgmap-dev@lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] Basecamp crashes with my map

Hi Gerd, Thomas,

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.

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.

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.
Here one example in .osm-format (converted with osmosis from pbf to osm format)






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.

Is it a known problem that Basecamp crashes with empty tiles or at least with 
empty "contourlines tiles"?
Does mkgmap report an error or warning if it builds an empty tile? I didn't see 
such messages.

Here the error message from Basecamp:
-
App: BaseCamp
At: 06.08.2017 18:46:48 (UTC1)
OS: Windows 10 (64-bit)
Processor: x86, Processor Level: 18, Processors:2, Model: 1 Stepping: 0, RAM: 
7854824
MAP.GETDEMELEVATIONFROMMAPCACHE-1216-4.6.2.0
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.
bei map.GetDemElevationFromMapCache(Optional_t* , Position_t* , 
Product_t* , MapCache_t* )
bei bc.MainForm_t.HandleMapViewMouseMove(Object sender, MouseEventArgs e)
bei System.Windows.Forms.MouseEventHandler.Invoke(Object sender, MouseEventArgs 
e)
bei System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
bei System.Windows.Forms.Control.WmMouseMove(Message& m)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 
msg, IntPtr wparam, IntPtr lparam)
bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
bei 
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr
 dwComponentID, Int32 reason, Int32 pvLoopData)
bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 
reason, ApplicationContext context)
bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, 
ApplicationContext context)
bei System.Windows.Forms.Application.Run(Form mainForm)
bei main(String[] aArgs)

Active Map Product:
oEurC
Version: 1.00

Installed Map Products:
Map Name: Globale Karte (Garmin Product)
Map Id: 133758977
Map Version: 2.0
Map Type: Bundle
Custom Drawn Map: No
Digital Elevation Model: No
Map Name: oEurC
Map Id: 458817537
Map Version: 1.0
Map Type: Legacy
Custom Drawn Map: Yes
Digital Elevation Model: Yes

.NET Versions:
.NET FW 1.0 not installed.
.NET FW 1.1 no

Re: [mkgmap-dev] Basecamp crashes with my map

2017-08-07 Thread thesurveyor

Hi Gerd,

 

yes I did :-)

 

I have tested all those things on two different PCs (both Win10 64bit). Same behaviour on both.

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.

 

I have attached the osm-File and a track (kml-file) around it.

 

Regards

Gert

 

 

Gesendet: Montag, 07. August 2017 um 07:06 Uhr
Von: "Gerd Petermann" <gpetermann_muenc...@hotmail.com>
An: "Development list for mkgmap" <mkgmap-dev@lists.mkgmap.org.uk>
Betreff: Re: [mkgmap-dev] Basecamp crashes with my map

Hi Gert,

one more hint: Basecamp crashes in a method "GetDemElevationFromMapCache", so it seems to try to read cached data which doesn't exist.
Did you try to clear the cache? (press Ctrl+G two times)

Gerd

Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von thesurve...@wolke7.net <thesurve...@wolke7.net>
Gesendet: Sonntag, 6. August 2017 19:34:32
An: mkgmap-dev@lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] Basecamp crashes with my map

Hi Gerd, Thomas,

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.

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.

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.
Here one example in .osm-format (converted with osmosis from pbf to osm format)






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.

Is it a known problem that Basecamp crashes with empty tiles or at least with empty "contourlines tiles"?
Does mkgmap report an error or warning if it builds an empty tile? I didn't see such messages.

Here the error message from Basecamp:
-
App: BaseCamp
At: 06.08.2017 18:46:48 (UTC1)
OS: Windows 10 (64-bit)
Processor: x86, Processor Level: 18, Processors:2, Model: 1 Stepping: 0, RAM: 7854824
MAP.GETDEMELEVATIONFROMMAPCACHE-1216-4.6.2.0
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.
bei map.GetDemElevationFromMapCache(Optional_t* , Position_t* , Product_t* , MapCache_t* )
bei bc.MainForm_t.HandleMapViewMouseMove(Object sender, MouseEventArgs e)
bei System.Windows.Forms.MouseEventHandler.Invoke(Object sender, MouseEventArgs e)
bei System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
bei System.Windows.Forms.Control.WmMouseMove(Message& m)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
bei System.Windows.Forms.Application.Run(Form mainForm)
bei main(String[] aArgs)

Active Map Product:
oEurC
Version: 1.00

Installed Map Products:
Map Name: Globale Karte (Garmin Product)
Map Id: 133758977
Map Version: 2.0
Map Type: Bundle
Custom Drawn Map: No
Digital Elevation Model: No
Map Name: oEurC
Map Id: 458817537
Map Version: 1.0
Map Type: Legacy
Custom Drawn Map: Yes
Digital Elevation Model: Yes

.NET Versions:
.NET FW 1.0 not installed.
.NET FW 1.1 not installed.
.NET FW 2.0 not installed.
.NET FW 3.0 not installed.
.NET FW 3.5 not installed.
OpenGL Version 2.1
-

Regards
Gert




Gesendet: Samstag, 05. August 2017 um 21:09 Uhr
Von: "Gerd Petermann" <gpetermann_muenc...@hotmail.com>
An: "Development list for mkgmap" <mkgmap-dev@lists.mkgmap.org.uk>
Betreff: Re: [mkgmap-dev] Basecamp crashes with my map
Hi Gert,

normally splitter uses Garmin units, the log shows e.

Re: [mkgmap-dev] Basecamp crashes with my map

2017-08-06 Thread Gerd Petermann
Hi Gert,

one more hint: Basecamp crashes in a method "GetDemElevationFromMapCache", so 
it seems to try to read cached data which doesn't exist.
Did you try to clear the cache? (press Ctrl+G two times)

Gerd

Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von 
thesurve...@wolke7.net <thesurve...@wolke7.net>
Gesendet: Sonntag, 6. August 2017 19:34:32
An: mkgmap-dev@lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] Basecamp crashes with my map

Hi Gerd, Thomas,

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.

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.

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.
Here one example in .osm-format (converted with osmosis from pbf to osm format)



  


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.

Is it a known problem that Basecamp crashes with empty tiles or at least with 
empty "contourlines tiles"?
Does mkgmap report an error or warning if it builds an empty tile? I didn't see 
such messages.

Here the error message from Basecamp:
-
App: BaseCamp
At: 06.08.2017 18:46:48 (UTC1)
OS: Windows 10 (64-bit)
Processor: x86, Processor Level: 18, Processors:2, Model: 1 Stepping: 0, RAM: 
7854824
MAP.GETDEMELEVATIONFROMMAPCACHE-1216-4.6.2.0
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.
   bei map.GetDemElevationFromMapCache(Optional_t* , Position_t* , 
Product_t* , MapCache_t* )
   bei bc.MainForm_t.HandleMapViewMouseMove(Object sender, MouseEventArgs e)
   bei System.Windows.Forms.MouseEventHandler.Invoke(Object sender, 
MouseEventArgs e)
   bei System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
   bei System.Windows.Forms.Control.WmMouseMove(Message& m)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 
msg, IntPtr wparam, IntPtr lparam)
   bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   bei 
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr
 dwComponentID, Int32 reason, Int32 pvLoopData)
   bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 
reason, ApplicationContext context)
   bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 
reason, ApplicationContext context)
   bei System.Windows.Forms.Application.Run(Form mainForm)
   bei main(String[] aArgs)

Active Map Product:
oEurC
Version: 1.00

Installed Map Products:
Map Name: Globale Karte (Garmin Product)
Map Id: 133758977
Map Version: 2.0
Map Type: Bundle
Custom Drawn Map: No
Digital Elevation Model: No
Map Name: oEurC
Map Id: 458817537
Map Version: 1.0
Map Type: Legacy
Custom Drawn Map: Yes
Digital Elevation Model: Yes

.NET Versions:
.NET FW 1.0 not installed.
.NET FW 1.1 not installed.
.NET FW 2.0 not installed.
.NET FW 3.0 not installed.
.NET FW 3.5 not installed.
OpenGL Version 2.1
-

Regards
Gert




Gesendet: Samstag, 05. August 2017 um 21:09 Uhr
Von: "Gerd Petermann" <gpetermann_muenc...@hotmail.com>
An: "Development list for mkgmap" <mkgmap-dev@lists.mkgmap.org.uk>
Betreff: Re: [mkgmap-dev] Basecamp crashes with my map
Hi Gert,

normally splitter uses Garmin units, the log shows e.g.
Map is being split for resolution 13:
- area boundaries are aligned to 0x800 map units (0.0439453125 degrees)
- areas are multiples of 0x800 map units wide and high

So, if you force a split at other boundaries this might cause problems, at 
least with routing.
I suggest to post a link to the special tile for detailed analysis.

ciao,
Gerd

Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von 
thesurve...@wolke7.net <thesurve...@wolke7.net>
Gesendet: Samstag, 5. August 2017 20:54:17
An: mkgmap-dev Mailing List
Betreff: [mkgmap-dev] Basecamp crashes with m

Re: [mkgmap-dev] Basecamp crashes with my map

2017-08-06 Thread Gerd Petermann
Hi Gert,

the error message seems to say that the problem occurs while reading elevation 
data.
Maybe mkgmap should not set the "show-profiles" flag when no elevation data was 
written.
I'll see if I can reproduce the problem tomorrow.

Gerd

Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von 
thesurve...@wolke7.net <thesurve...@wolke7.net>
Gesendet: Sonntag, 6. August 2017 19:34:32
An: mkgmap-dev@lists.mkgmap.org.uk
Betreff: Re: [mkgmap-dev] Basecamp crashes with my map

Hi Gerd, Thomas,

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.

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.

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.
Here one example in .osm-format (converted with osmosis from pbf to osm format)



  


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.

Is it a known problem that Basecamp crashes with empty tiles or at least with 
empty "contourlines tiles"?
Does mkgmap report an error or warning if it builds an empty tile? I didn't see 
such messages.

Here the error message from Basecamp:
-
App: BaseCamp
At: 06.08.2017 18:46:48 (UTC1)
OS: Windows 10 (64-bit)
Processor: x86, Processor Level: 18, Processors:2, Model: 1 Stepping: 0, RAM: 
7854824
MAP.GETDEMELEVATIONFROMMAPCACHE-1216-4.6.2.0
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.
   bei map.GetDemElevationFromMapCache(Optional_t* , Position_t* , 
Product_t* , MapCache_t* )
   bei bc.MainForm_t.HandleMapViewMouseMove(Object sender, MouseEventArgs e)
   bei System.Windows.Forms.MouseEventHandler.Invoke(Object sender, 
MouseEventArgs e)
   bei System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
   bei System.Windows.Forms.Control.WmMouseMove(Message& m)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 
msg, IntPtr wparam, IntPtr lparam)
   bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   bei 
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr
 dwComponentID, Int32 reason, Int32 pvLoopData)
   bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 
reason, ApplicationContext context)
   bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 
reason, ApplicationContext context)
   bei System.Windows.Forms.Application.Run(Form mainForm)
   bei main(String[] aArgs)

Active Map Product:
oEurC
Version: 1.00

Installed Map Products:
Map Name: Globale Karte (Garmin Product)
Map Id: 133758977
Map Version: 2.0
Map Type: Bundle
Custom Drawn Map: No
Digital Elevation Model: No
Map Name: oEurC
Map Id: 458817537
Map Version: 1.0
Map Type: Legacy
Custom Drawn Map: Yes
Digital Elevation Model: Yes

.NET Versions:
.NET FW 1.0 not installed.
.NET FW 1.1 not installed.
.NET FW 2.0 not installed.
.NET FW 3.0 not installed.
.NET FW 3.5 not installed.
OpenGL Version 2.1
-

Regards
Gert




Gesendet: Samstag, 05. August 2017 um 21:09 Uhr
Von: "Gerd Petermann" <gpetermann_muenc...@hotmail.com>
An: "Development list for mkgmap" <mkgmap-dev@lists.mkgmap.org.uk>
Betreff: Re: [mkgmap-dev] Basecamp crashes with my map
Hi Gert,

normally splitter uses Garmin units, the log shows e.g.
Map is being split for resolution 13:
- area boundaries are aligned to 0x800 map units (0.0439453125 degrees)
- areas are multiples of 0x800 map units wide and high

So, if you force a split at other boundaries this might cause problems, at 
least with routing.
I suggest to post a link to the special tile for detailed analysis.

ciao,
Gerd

Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von 
thesurve...@wolke7.net <thesurve...@wolke7.net>
Gesendet: Samstag, 5. August 2017 20:54:17
An: mkgmap-dev Mailing List
Betreff: [mkgmap-de

Re: [mkgmap-dev] Basecamp crashes with my map

2017-08-06 Thread thesurveyor

Hi Gerd, Thomas,

 

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.

 

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.

 

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.

Here one example in .osm-format (converted with osmosis from pbf to osm format)

 




  


 

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.

 

Is it a known problem that Basecamp crashes with empty tiles or at least with empty "contourlines tiles"?

Does mkgmap report an error or warning if it builds an empty tile? I didn't see such messages.

 

Here the error message from Basecamp:

-


App: BaseCamp
At: 06.08.2017 18:46:48 (UTC1)
OS: Windows 10 (64-bit)
Processor: x86, Processor Level: 18, Processors:2, Model: 1 Stepping: 0, RAM: 7854824
MAP.GETDEMELEVATIONFROMMAPCACHE-1216-4.6.2.0

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.
   bei map.GetDemElevationFromMapCache(Optional_t* , Position_t* , Product_t* , MapCache_t* )
   bei bc.MainForm_t.HandleMapViewMouseMove(Object sender, MouseEventArgs e)
   bei System.Windows.Forms.MouseEventHandler.Invoke(Object sender, MouseEventArgs e)
   bei System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
   bei System.Windows.Forms.Control.WmMouseMove(Message& m)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   bei System.Windows.Forms.Application.Run(Form mainForm)
   bei main(String[] aArgs)

 

Active Map Product:
oEurC
Version: 1.00


Installed Map Products:

Map Name: Globale Karte (Garmin Product)
Map Id: 133758977
Map Version: 2.0
Map Type: Bundle
Custom Drawn Map: No
Digital Elevation Model: No

Map Name: oEurC
Map Id: 458817537
Map Version: 1.0
Map Type: Legacy
Custom Drawn Map: Yes
Digital Elevation Model: Yes

 

.NET Versions:
.NET FW 1.0 not installed.
.NET FW 1.1 not installed.
.NET FW 2.0 not installed.
.NET FW 3.0 not installed.
.NET FW 3.5 not installed.

OpenGL Version 2.1


-

 

Regards

Gert

 

 


 

 

Gesendet: Samstag, 05. August 2017 um 21:09 Uhr
Von: "Gerd Petermann" <gpetermann_muenc...@hotmail.com>
An: "Development list for mkgmap" <mkgmap-dev@lists.mkgmap.org.uk>
Betreff: Re: [mkgmap-dev] Basecamp crashes with my map

Hi Gert,

normally splitter uses Garmin units, the log shows e.g.
Map is being split for resolution 13:
- area boundaries are aligned to 0x800 map units (0.0439453125 degrees)
- areas are multiples of 0x800 map units wide and high

So, if you force a split at other boundaries this might cause problems, at least with routing.
I suggest to post a link to the special tile for detailed analysis.

ciao,
Gerd

Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von thesurve...@wolke7.net <thesurve...@wolke7.net>
Gesendet: Samstag, 5. August 2017 20:54:17
An: mkgmap-dev Mailing List
Betreff: [mkgmap-dev] Basecamp crashes with my map

Hi all,

I've a question about splitting a map.

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
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),
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 giv

Re: [mkgmap-dev] Basecamp crashes with my map

2017-08-06 Thread thesurveyor

Thanks Gerd and Thomas,

for the very fast reply.

I will test that this afternoon/evening and will give feedback to the list.

 

Bye

Gert

 

Gesendet: Samstag, 05. August 2017 um 21:09 Uhr
Von: "Gerd Petermann" <gpetermann_muenc...@hotmail.com>
An: "Development list for mkgmap" <mkgmap-dev@lists.mkgmap.org.uk>
Betreff: Re: [mkgmap-dev] Basecamp crashes with my map

Hi Gert,

normally splitter uses Garmin units, the log shows e.g.
Map is being split for resolution 13:
- area boundaries are aligned to 0x800 map units (0.0439453125 degrees)
- areas are multiples of 0x800 map units wide and high

So, if you force a split at other boundaries this might cause problems, at least with routing.
I suggest to post a link to the special tile for detailed analysis.

ciao,
Gerd

Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von thesurve...@wolke7.net <thesurve...@wolke7.net>
Gesendet: Samstag, 5. August 2017 20:54:17
An: mkgmap-dev Mailing List
Betreff: [mkgmap-dev] Basecamp crashes with my map

Hi all,

I've a question about splitting a map.

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
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),
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
latitude the tool divides the tile in two parts and writes the parts as new tiles to the file.

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.
All this works wonderful, but yesterday I've seen that Basecamp crashes when I install those tiles.

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.

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.
And when I deleted the tile from the map Basecamp doesn't crash anymore. Of course the map should have a hole now :-)

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.
But I have splitted a lot more tiles which seem to work.

So I have some questions:
1) I'm splitting the tiles into two parts, at full or half degrees, e,g. 47.0 or 47.5.
2) The mentioned tile is less than 1 degree in north to south direction.
Could one ot those questions lead to that behaviour?

Do you have another idea what could be wrong with a tile that crashes Basecamp. Or do you have an idea what to check?
The map is working well on different Garmin devices (Oregon, etrex hcx).

Many thanks for your support.

Best regards,
Gert

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev




 

 
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] Basecamp crashes with my map

2017-08-05 Thread Thomas Morgenstern
Die Grenzen im split-file (areas.list) sollten in *G*armin*U*nits 
geschrieben werden. 1GU =~0,214576... (exact : 360°/2^ 24). Und die 
GU sollen ohne Rest durch 4 teilbar sein.
Beispiel: 47 ° /0,214576=2.190.366,117 *GU* .Die nächste durch 4 
teilbare Zahl ist : 2190368. Mit diesem Verfahren gab es noch nie 
Probleme. Routing funktioniert. Die Abweichung zu 47° ist 0,4039...° 
(weil 2190368*0,214576 = 47,403968°). Weniger als 5m .Kannst 
praktisch vergessen.

thomas

Am 05.08.2017 um 20:54 schrieb thesurve...@wolke7.net:

Hi all,
I've a question about splitting a map.
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
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),
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
latitude the tool divides the tile in two parts and writes the parts 
as new tiles to the file.
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.
All this works wonderful, but yesterday I've seen that Basecamp 
crashes when I install those tiles.
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.
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.
And when I deleted the tile from the map Basecamp doesn't crash 
anymore. Of course the map should have a hole now :-)
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.

But I have splitted a lot more tiles which seem to work.
So I have some questions:
1) I'm splitting the tiles into two parts, at full or half degrees, 
e,g. 47.0 or 47.5.

2) The mentioned tile is less than 1 degree in north to south direction.
Could one ot those questions lead to that behaviour?
Do you have another idea what could be wrong with a tile that crashes 
Basecamp. Or do you have an idea what to check?

The map is working well on different Garmin devices (Oregon, etrex hcx).
Many thanks for your support.
Best regards,
Gert


___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] Basecamp crashes with my map

2017-08-05 Thread Gerd Petermann
Hi Gert,

normally splitter uses Garmin units, the log shows e.g.
Map is being split for resolution 13:
 - area boundaries are aligned to 0x800 map units (0.0439453125 degrees)
 - areas are multiples of 0x800 map units wide and high

So, if you force a split at other boundaries this might cause problems, at 
least with routing.
I suggest to post a link to the special tile for detailed analysis.

ciao,
Gerd

Von: mkgmap-dev  im Auftrag von 
thesurve...@wolke7.net 
Gesendet: Samstag, 5. August 2017 20:54:17
An: mkgmap-dev Mailing List
Betreff: [mkgmap-dev] Basecamp crashes with my map

Hi all,

I've a question about splitting a map.

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
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),
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
latitude the tool divides the tile in two parts and writes the parts as new 
tiles to the file.

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.
All this works wonderful, but yesterday I've seen that Basecamp crashes when I 
install those tiles.

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.

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.
And when I deleted the tile from the map Basecamp doesn't crash anymore. Of 
course the map should have a hole now :-)

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.
But I have splitted a lot more tiles which seem to work.

So I have some questions:
1) I'm splitting the tiles into two parts, at full or half degrees, e,g. 
47.0 or 47.5.
2) The mentioned tile is less than 1 degree in north to south direction.
Could one ot those questions lead to that behaviour?

Do you have another idea what could be wrong with a tile that crashes Basecamp. 
Or do you have an idea what to check?
The map is working well on different Garmin devices (Oregon, etrex hcx).

Many thanks for your support.

Best regards,
Gert

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev