Mkgmap filling seas area problem - Access Violation

I am working on garmin maps for the Puget Sound area around Settle, Washington. All the lakes show up as nice blue areas, but the salt water of Puget Sound does not. Investigating, I came across the --generate-sea option. Using that alone did nothing different. Then I came across the --generate-sea=extend-sea-sectors option and tried it. Just trying this on a single map of central Puget Sound or any area of Puget Sound results in a program failure and Access Violation. Here is the command line and the message displayed:

-Xmx1024 -jar mkgmap.jar --remove-short-arcs --style-file=default --route --net --no-sort-roads --generate-sea=extend-sea-sectors 63240005.osm.gz

A fatal error has been detected by the Java Runtime Environment:

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c342a9c, pid=4816, tid=5404

JRE version: 6.0_17-b04

Java VM: Java HotSpotâ„¢ Client VM (14.3-b01 mixed mode windows-x86 )

Problematic frame:

C [msvcr71.dll+0x2a9c]

An error report file with more information is saved as:

C:\Program Files\Mapping\Mkgmap\hs_err_pid4816.log

If you would like to submit a bug report, please visit:

Note, this is on a Windows XP Pro machine running SP 3.

What have I done? Is this a new bug? How can I get the map to be created with blue sea and sound areas?

Thanks much,


Try --generate-sea:no-mp,no-sea-sectors,extend-sea-sectors,close-gaps=1000

This is what I use for New York state and it works fine.

Note that for --generate-sea to work properly, you need to use a TYP file and a custom (non-default) style.

What does the coastline in your area look like? Is it complicated, with many islands and bays, or rather simple?

What technique are you using? Blue background with overlaid land?