Re: [mkgmap-dev] Compile error

I don't create an overview map. No tiles show up with zero size nor are any of the 56 tiles larger than about 159,000 nodes. Carlos has offered a patch to indicate the problem tile but I'm on a Windows 10 system and am not willing to set up a Linux environment just to patch my mkgmap program. Is there a debugging tool or method that you can suggest? On Mon, May 2, 2022 at 11:10 AM Gerd Petermann <gpetermann_muenchen@hotmail.com> wrote:
Hi Dave,
I would expect a tile with 0 bytes. Maybe you get this message for the overview map?
Gerd
________________________________________ Von: Dave Swarthout <daveswarthout@gmail.com> Gesendet: Montag, 2. Mai 2022 20:02 An: Gerd Petermann Cc: Development list for mkgmap Betreff: Re: [mkgmap-dev] Compile error
Thanks, Gerd,
I get the same error when using the default syle. In DJS.cfg, I placed this line: style-file=C:\Users\Alask\Documents\mkgmap\examples\styles\default. That is correct usage, right?
Another list member told me to look for the offending tile in order to manually split it, however, all the tiles look alike to me in terms of size. How would I tell which tile is the "bad one" that's causing this RGN error?
You mentioned adjusting some mkgmap parameters that would reduce the size and/or complexity of the map I'm trying to create. The descriptive text in the Options file for directives about processing lines and polygons doesn't make clear how to reduce the amount of information they handle— can you offer any suggestions?
Thanks,
Dave
On Mon, May 2, 2022 at 9:23 AM Gerd Petermann <gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com>> wrote: Hi Dave,
the max-nodes value is already very small, so maybe something in mkgmap goes very wrong. We probably need the input file (*.o5m) for the tile that fails and the style unless you can reproduce the problem also with the default style.
Gerd
________________________________________ Von: Dave Swarthout <daveswarthout@gmail.com<mailto:daveswarthout@gmail.com>> Gesendet: Montag, 2. Mai 2022 18:08 An: Gerd Petermann Cc: Development list for mkgmap Betreff: Re: [mkgmap-dev] Compile error
Reducing the node count means I was adjusting the max-nodes value; I had been using a value of 160,000 for max-nodes but after getting that error message, I tried running splitter with max-nodes=120,000 and 100,000 nodes but that had zero effect on the error message. There were more tiles generated by splitter but the same error resulted.
I've attached my splitter logs and the DJS.CFG file
Thanks for the help
On Mon, May 2, 2022 at 1:42 AM Gerd Petermann <gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com><mailto:gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com>>> wrote: Hi Dave,
what do you mean with "I've tried reducing the size of the node count but that had no effect"? A smaller --max-nodes value for splitter should always have an effect: More / different tiles. Maybe it just didn't change the size of the problematic tile?
So, if you don't want to "reduce the amount of information included in the map" which means changing the style or options like --reduce-points, --levels etc, your only option is to tell splitter to produce smaller tiles. That is done with the --max-nodes option or maybe allow trimming if the problematic tile contains a huge area with sea only.
Can't say much more without knowing the content of the problematic tile and content of DJS.cfg.
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk><mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>>> im Auftrag von Dave Swarthout <daveswarthout@gmail.com<mailto:daveswarthout@gmail.com><mailto:daveswarthout@gmail.com<mailto:daveswarthout@gmail.com>>> Gesendet: Sonntag, 1. Mai 2022 02:06 An: Development list for mkgmap Betreff: [mkgmap-dev] Compile error
Hi,
I'm not on this list anymore but I'm having a problem with mkgmap that I'm unable to understand or fix.
I'm getting this error all the time now. "The RGN section of the map or tile is too big. The maximum size is 16777215 bytes. Try splitting the map into smaller tiles or reducing the amount of information included in the map."
I've tried reducing the size of the node count but that had no effect. Here's my command line:
java -Xmx4000m -jar mkgmap.jar -c DJS.cfg --latin1 --family-id=24566 --name-tag-list=name,alt_name,loc_name,int_name --description="Eugene" "C:\Users\Alask\Downloads\Maps\Eugene.osm" "C:\Users\Alask\Dropbox (Personal)\Mapping\24983djs.TYP"
Splitter ends normally with 56 areas for a 1.5 GB input file
Any ideas?
Please address all replies to me as well as the list membership because I was removed from this list for having "too many bounces", whatever that is but I need a solution to this problem.
Thanks in advance
-- Dave Swarthout Homer, Alaska Chiang Mai, Thailand Travel Blog at http://dswarthout.blogspot.com
-- Dave Swarthout Homer, Alaska Chiang Mai, Thailand Travel Blog at http://dswarthout.blogspot.com
-- Dave Swarthout Homer, Alaska Chiang Mai, Thailand Travel Blog at http://dswarthout.blogspot.com
-- Dave Swarthout Homer, Alaska Chiang Mai, Thailand Travel Blog at http://dswarthout.blogspot.com

Hi Dave, I just double checked what you wrote before and it seems you feed mkgmap with the large file C:\Users\alask\Downloads\Maps\Eugene.osm ? You also posted a log that shows that you use splitter with the same file. So, change your mkgmap command to actually use the output from splitter and your problem shoud be solved. There is probably no need to use the small --max-nodes value. Gerd ________________________________________ Von: Dave Swarthout <daveswarthout@gmail.com> Gesendet: Montag, 2. Mai 2022 23:13 An: Gerd Petermann Cc: Development list for mkgmap Betreff: Re: [mkgmap-dev] Compile error I don't create an overview map. No tiles show up with zero size nor are any of the 56 tiles larger than about 159,000 nodes. Carlos has offered a patch to indicate the problem tile but I'm on a Windows 10 system and am not willing to set up a Linux environment just to patch my mkgmap program. Is there a debugging tool or method that you can suggest? On Mon, May 2, 2022 at 11:10 AM Gerd Petermann <gpetermann_muenchen@hotmail.com> wrote:
Hi Dave,
I would expect a tile with 0 bytes. Maybe you get this message for the overview map?
Gerd
________________________________________ Von: Dave Swarthout <daveswarthout@gmail.com> Gesendet: Montag, 2. Mai 2022 20:02 An: Gerd Petermann Cc: Development list for mkgmap Betreff: Re: [mkgmap-dev] Compile error
Thanks, Gerd,
I get the same error when using the default syle. In DJS.cfg, I placed this line: style-file=C:\Users\Alask\Documents\mkgmap\examples\styles\default. That is correct usage, right?
Another list member told me to look for the offending tile in order to manually split it, however, all the tiles look alike to me in terms of size. How would I tell which tile is the "bad one" that's causing this RGN error?
You mentioned adjusting some mkgmap parameters that would reduce the size and/or complexity of the map I'm trying to create. The descriptive text in the Options file for directives about processing lines and polygons doesn't make clear how to reduce the amount of information they handle— can you offer any suggestions?
Thanks,
Dave
On Mon, May 2, 2022 at 9:23 AM Gerd Petermann <gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com>> wrote: Hi Dave,
the max-nodes value is already very small, so maybe something in mkgmap goes very wrong. We probably need the input file (*.o5m) for the tile that fails and the style unless you can reproduce the problem also with the default style.
Gerd
________________________________________ Von: Dave Swarthout <daveswarthout@gmail.com<mailto:daveswarthout@gmail.com>> Gesendet: Montag, 2. Mai 2022 18:08 An: Gerd Petermann Cc: Development list for mkgmap Betreff: Re: [mkgmap-dev] Compile error
Reducing the node count means I was adjusting the max-nodes value; I had been using a value of 160,000 for max-nodes but after getting that error message, I tried running splitter with max-nodes=120,000 and 100,000 nodes but that had zero effect on the error message. There were more tiles generated by splitter but the same error resulted.
I've attached my splitter logs and the DJS.CFG file
Thanks for the help
On Mon, May 2, 2022 at 1:42 AM Gerd Petermann <gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com><mailto:gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com>>> wrote: Hi Dave,
what do you mean with "I've tried reducing the size of the node count but that had no effect"? A smaller --max-nodes value for splitter should always have an effect: More / different tiles. Maybe it just didn't change the size of the problematic tile?
So, if you don't want to "reduce the amount of information included in the map" which means changing the style or options like --reduce-points, --levels etc, your only option is to tell splitter to produce smaller tiles. That is done with the --max-nodes option or maybe allow trimming if the problematic tile contains a huge area with sea only.
Can't say much more without knowing the content of the problematic tile and content of DJS.cfg.
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk><mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>>> im Auftrag von Dave Swarthout <daveswarthout@gmail.com<mailto:daveswarthout@gmail.com><mailto:daveswarthout@gmail.com<mailto:daveswarthout@gmail.com>>> Gesendet: Sonntag, 1. Mai 2022 02:06 An: Development list for mkgmap Betreff: [mkgmap-dev] Compile error
Hi,
I'm not on this list anymore but I'm having a problem with mkgmap that I'm unable to understand or fix.
I'm getting this error all the time now. "The RGN section of the map or tile is too big. The maximum size is 16777215 bytes. Try splitting the map into smaller tiles or reducing the amount of information included in the map."
I've tried reducing the size of the node count but that had no effect. Here's my command line:
java -Xmx4000m -jar mkgmap.jar -c DJS.cfg --latin1 --family-id=24566 --name-tag-list=name,alt_name,loc_name,int_name --description="Eugene" "C:\Users\Alask\Downloads\Maps\Eugene.osm" "C:\Users\Alask\Dropbox (Personal)\Mapping\24983djs.TYP"
Splitter ends normally with 56 areas for a 1.5 GB input file
Any ideas?
Please address all replies to me as well as the list membership because I was removed from this list for having "too many bounces", whatever that is but I need a solution to this problem.
Thanks in advance
-- Dave Swarthout Homer, Alaska Chiang Mai, Thailand Travel Blog at http://dswarthout.blogspot.com
-- Dave Swarthout Homer, Alaska Chiang Mai, Thailand Travel Blog at http://dswarthout.blogspot.com
-- Dave Swarthout Homer, Alaska Chiang Mai, Thailand Travel Blog at http://dswarthout.blogspot.com
-- Dave Swarthout Homer, Alaska Chiang Mai, Thailand Travel Blog at http://dswarthout.blogspot.com

OMG! I copied parts of my batch file for Thailand maps to make this batch file when I came back to the U.S. but forgot to use the splitter output file as inputs. I never noticed my omission. It works fine now: java -Xmx4000m -jar mkgmap.jar -c DJS.cfg --latin1 --family-id=24566 --name-tag-list=name,alt_name,loc_name,int_name --description="Eugene" splitter\*.o5m "C:\Users\Alask\Dropbox (Personal)\Mapping\24983djs.TYP" Sorry for wasting your time. I must say, however, that the error message I got didn't help diagnose or solve that problem. Maybe that could be looked at and improved. Thanks, Gerd. On Mon, May 2, 2022 at 10:22 PM <gpetermann_muenchen@hotmail.com> wrote:
Hi Dave,
I just double checked what you wrote before and it seems you feed mkgmap with the large file C:\Users\alask\Downloads\Maps\Eugene.osm ? You also posted a log that shows that you use splitter with the same file. So, change your mkgmap command to actually use the output from splitter and your problem shoud be solved. There is probably no need to use the small --max-nodes value.
Gerd
________________________________________ Von: Dave Swarthout <daveswarthout@gmail.com> Gesendet: Montag, 2. Mai 2022 23:13 An: Gerd Petermann Cc: Development list for mkgmap Betreff: Re: [mkgmap-dev] Compile error
I don't create an overview map. No tiles show up with zero size nor are any of the 56 tiles larger than about 159,000 nodes. Carlos has offered a patch to indicate the problem tile but I'm on a Windows 10 system and am not willing to set up a Linux environment just to patch my mkgmap program.
Is there a debugging tool or method that you can suggest?
On Mon, May 2, 2022 at 11:10 AM Gerd Petermann <gpetermann_muenchen@hotmail.com> wrote:
Hi Dave,
I would expect a tile with 0 bytes. Maybe you get this message for the overview map?
Gerd
________________________________________ Von: Dave Swarthout <daveswarthout@gmail.com> Gesendet: Montag, 2. Mai 2022 20:02 An: Gerd Petermann Cc: Development list for mkgmap Betreff: Re: [mkgmap-dev] Compile error
Thanks, Gerd,
I get the same error when using the default syle. In DJS.cfg, I placed this line: style-file=C:\Users\Alask\Documents\mkgmap\examples\styles\default. That is correct usage, right?
Another list member told me to look for the offending tile in order to manually split it, however, all the tiles look alike to me in terms of size. How would I tell which tile is the "bad one" that's causing this RGN error?
You mentioned adjusting some mkgmap parameters that would reduce the size and/or complexity of the map I'm trying to create. The descriptive text in the Options file for directives about processing lines and polygons doesn't make clear how to reduce the amount of information they handle— can you offer any suggestions?
Thanks,
Dave
On Mon, May 2, 2022 at 9:23 AM Gerd Petermann <gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com>> wrote: Hi Dave,
the max-nodes value is already very small, so maybe something in mkgmap goes very wrong. We probably need the input file (*.o5m) for the tile that fails and the style unless you can reproduce the problem also with the default style.
Gerd
________________________________________ Von: Dave Swarthout <daveswarthout@gmail.com<mailto:daveswarthout@gmail.com>> Gesendet: Montag, 2. Mai 2022 18:08 An: Gerd Petermann Cc: Development list for mkgmap Betreff: Re: [mkgmap-dev] Compile error
Reducing the node count means I was adjusting the max-nodes value; I had been using a value of 160,000 for max-nodes but after getting that error message, I tried running splitter with max-nodes=120,000 and 100,000 nodes but that had zero effect on the error message. There were more tiles generated by splitter but the same error resulted.
I've attached my splitter logs and the DJS.CFG file
Thanks for the help
On Mon, May 2, 2022 at 1:42 AM Gerd Petermann <gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com><mailto:gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com>>> wrote: Hi Dave,
what do you mean with "I've tried reducing the size of the node count but that had no effect"? A smaller --max-nodes value for splitter should always have an effect: More / different tiles. Maybe it just didn't change the size of the problematic tile?
So, if you don't want to "reduce the amount of information included in the map" which means changing the style or options like --reduce-points, --levels etc, your only option is to tell splitter to produce smaller tiles. That is done with the --max-nodes option or maybe allow trimming if the problematic tile contains a huge area with sea only.
Can't say much more without knowing the content of the problematic tile and content of DJS.cfg.
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk><mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>>> im Auftrag von Dave Swarthout <daveswarthout@gmail.com<mailto:daveswarthout@gmail.com><mailto:daveswarthout@gmail.com<mailto:daveswarthout@gmail.com>>> Gesendet: Sonntag, 1. Mai 2022 02:06 An: Development list for mkgmap Betreff: [mkgmap-dev] Compile error
Hi,
I'm not on this list anymore but I'm having a problem with mkgmap that I'm unable to understand or fix.
I'm getting this error all the time now. "The RGN section of the map or tile is too big. The maximum size is 16777215 bytes. Try splitting the map into smaller tiles or reducing the amount of information included in the map."
I've tried reducing the size of the node count but that had no effect. Here's my command line:
java -Xmx4000m -jar mkgmap.jar -c DJS.cfg --latin1 --family-id=24566 --name-tag-list=name,alt_name,loc_name,int_name --description="Eugene" "C:\Users\Alask\Downloads\Maps\Eugene.osm" "C:\Users\Alask\Dropbox (Personal)\Mapping\24983djs.TYP"
Splitter ends normally with 56 areas for a 1.5 GB input file
Any ideas?
Please address all replies to me as well as the list membership because I was removed from this list for having "too many bounces", whatever that is but I need a solution to this problem.
Thanks in advance
-- Dave Swarthout Homer, Alaska Chiang Mai, Thailand Travel Blog at http://dswarthout.blogspot.com
-- Dave Swarthout Homer, Alaska Chiang Mai, Thailand Travel Blog at http://dswarthout.blogspot.com
-- Dave Swarthout Homer, Alaska Chiang Mai, Thailand Travel Blog at http://dswarthout.blogspot.com
-- Dave Swarthout Homer, Alaska Chiang Mai, Thailand Travel Blog at http://dswarthout.blogspot.com
-- Dave Swarthout Homer, Alaska Chiang Mai, Thailand Travel Blog at http://dswarthout.blogspot.com

I just saw your other email that the next release of mkgmap includes Carlos's patch. I've downloaded it. Thanks again to everyone on this list. Dave On Mon, May 2, 2022 at 10:43 PM Dave Swarthout <daveswarthout@gmail.com> wrote:
OMG!
I copied parts of my batch file for Thailand maps to make this batch file when I came back to the U.S. but forgot to use the splitter output file as inputs. I never noticed my omission. It works fine now:
java -Xmx4000m -jar mkgmap.jar -c DJS.cfg --latin1 --family-id=24566 --name-tag-list=name,alt_name,loc_name,int_name --description="Eugene" splitter\*.o5m "C:\Users\Alask\Dropbox (Personal)\Mapping\24983djs.TYP"
Sorry for wasting your time. I must say, however, that the error message I got didn't help diagnose or solve that problem. Maybe that could be looked at and improved.
Thanks, Gerd.
On Mon, May 2, 2022 at 10:22 PM <gpetermann_muenchen@hotmail.com> wrote:
Hi Dave,
I just double checked what you wrote before and it seems you feed mkgmap with the large file C:\Users\alask\Downloads\Maps\Eugene.osm ? You also posted a log that shows that you use splitter with the same file. So, change your mkgmap command to actually use the output from splitter and your problem shoud be solved. There is probably no need to use the small --max-nodes value.
Gerd
________________________________________ Von: Dave Swarthout <daveswarthout@gmail.com> Gesendet: Montag, 2. Mai 2022 23:13 An: Gerd Petermann Cc: Development list for mkgmap Betreff: Re: [mkgmap-dev] Compile error
I don't create an overview map. No tiles show up with zero size nor are any of the 56 tiles larger than about 159,000 nodes. Carlos has offered a patch to indicate the problem tile but I'm on a Windows 10 system and am not willing to set up a Linux environment just to patch my mkgmap program.
Is there a debugging tool or method that you can suggest?
On Mon, May 2, 2022 at 11:10 AM Gerd Petermann <gpetermann_muenchen@hotmail.com> wrote:
Hi Dave,
I would expect a tile with 0 bytes. Maybe you get this message for the overview map?
Gerd
________________________________________ Von: Dave Swarthout <daveswarthout@gmail.com> Gesendet: Montag, 2. Mai 2022 20:02 An: Gerd Petermann Cc: Development list for mkgmap Betreff: Re: [mkgmap-dev] Compile error
Thanks, Gerd,
I get the same error when using the default syle. In DJS.cfg, I placed this line: style-file=C:\Users\Alask\Documents\mkgmap\examples\styles\default. That is correct usage, right?
Another list member told me to look for the offending tile in order to manually split it, however, all the tiles look alike to me in terms of size. How would I tell which tile is the "bad one" that's causing this RGN error?
You mentioned adjusting some mkgmap parameters that would reduce the size and/or complexity of the map I'm trying to create. The descriptive text in the Options file for directives about processing lines and polygons doesn't make clear how to reduce the amount of information they handle— can you offer any suggestions?
Thanks,
Dave
On Mon, May 2, 2022 at 9:23 AM Gerd Petermann <gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com>> wrote: Hi Dave,
the max-nodes value is already very small, so maybe something in mkgmap goes very wrong. We probably need the input file (*.o5m) for the tile that fails and the style unless you can reproduce the problem also with the default style.
Gerd
________________________________________ Von: Dave Swarthout <daveswarthout@gmail.com<mailto:daveswarthout@gmail.com>> Gesendet: Montag, 2. Mai 2022 18:08 An: Gerd Petermann Cc: Development list for mkgmap Betreff: Re: [mkgmap-dev] Compile error
Reducing the node count means I was adjusting the max-nodes value; I had been using a value of 160,000 for max-nodes but after getting that error message, I tried running splitter with max-nodes=120,000 and 100,000 nodes but that had zero effect on the error message. There were more tiles generated by splitter but the same error resulted.
I've attached my splitter logs and the DJS.CFG file
Thanks for the help
On Mon, May 2, 2022 at 1:42 AM Gerd Petermann <gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com><mailto:gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com>>> wrote: Hi Dave,
what do you mean with "I've tried reducing the size of the node count but that had no effect"? A smaller --max-nodes value for splitter should always have an effect: More / different tiles. Maybe it just didn't change the size of the problematic tile?
So, if you don't want to "reduce the amount of information included in the map" which means changing the style or options like --reduce-points, --levels etc, your only option is to tell splitter to produce smaller tiles. That is done with the --max-nodes option or maybe allow trimming if the problematic tile contains a huge area with sea only.
Can't say much more without knowing the content of the problematic tile and content of DJS.cfg.
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk><mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>>> im Auftrag von Dave Swarthout <daveswarthout@gmail.com<mailto:daveswarthout@gmail.com><mailto:daveswarthout@gmail.com<mailto:daveswarthout@gmail.com>>> Gesendet: Sonntag, 1. Mai 2022 02:06 An: Development list for mkgmap Betreff: [mkgmap-dev] Compile error
Hi,
I'm not on this list anymore but I'm having a problem with mkgmap that I'm unable to understand or fix.
I'm getting this error all the time now. "The RGN section of the map or tile is too big. The maximum size is 16777215 bytes. Try splitting the map into smaller tiles or reducing the amount of information included in the map."
I've tried reducing the size of the node count but that had no effect. Here's my command line:
java -Xmx4000m -jar mkgmap.jar -c DJS.cfg --latin1 --family-id=24566 --name-tag-list=name,alt_name,loc_name,int_name --description="Eugene" "C:\Users\Alask\Downloads\Maps\Eugene.osm" "C:\Users\Alask\Dropbox (Personal)\Mapping\24983djs.TYP"
Splitter ends normally with 56 areas for a 1.5 GB input file
Any ideas?
Please address all replies to me as well as the list membership because I was removed from this list for having "too many bounces", whatever that is but I need a solution to this problem.
Thanks in advance
-- Dave Swarthout Homer, Alaska Chiang Mai, Thailand Travel Blog at http://dswarthout.blogspot.com
-- Dave Swarthout Homer, Alaska Chiang Mai, Thailand Travel Blog at http://dswarthout.blogspot.com
-- Dave Swarthout Homer, Alaska Chiang Mai, Thailand Travel Blog at http://dswarthout.blogspot.com
-- Dave Swarthout Homer, Alaska Chiang Mai, Thailand Travel Blog at http://dswarthout.blogspot.com
-- Dave Swarthout Homer, Alaska Chiang Mai, Thailand Travel Blog at http://dswarthout.blogspot.com
-- Dave Swarthout Homer, Alaska Chiang Mai, Thailand Travel Blog at http://dswarthout.blogspot.com

Hi Dave, I've already committed the patch from Carlos with r4900, but I doubt that the improved message helps in a case of "I can't see the forest for the trees" ;) Gerd ________________________________________ Von: Dave Swarthout <daveswarthout@gmail.com> Gesendet: Dienstag, 3. Mai 2022 07:43 An: Gerd Petermann Cc: Development list for mkgmap Betreff: Re: [mkgmap-dev] Compile error OMG! I copied parts of my batch file for Thailand maps to make this batch file when I came back to the U.S. but forgot to use the splitter output file as inputs. I never noticed my omission. It works fine now: java -Xmx4000m -jar mkgmap.jar -c DJS.cfg --latin1 --family-id=24566 --name-tag-list=name,alt_name,loc_name,int_name --description="Eugene" splitter\*.o5m "C:\Users\Alask\Dropbox (Personal)\Mapping\24983djs.TYP" Sorry for wasting your time. I must say, however, that the error message I got didn't help diagnose or solve that problem. Maybe that could be looked at and improved. Thanks, Gerd. On Mon, May 2, 2022 at 10:22 PM <gpetermann_muenchen@hotmail.com> wrote:
Hi Dave,
I just double checked what you wrote before and it seems you feed mkgmap with the large file C:\Users\alask\Downloads\Maps\Eugene.osm ? You also posted a log that shows that you use splitter with the same file. So, change your mkgmap command to actually use the output from splitter and your problem shoud be solved. There is probably no need to use the small --max-nodes value.
Gerd
________________________________________ Von: Dave Swarthout <daveswarthout@gmail.com> Gesendet: Montag, 2. Mai 2022 23:13 An: Gerd Petermann Cc: Development list for mkgmap Betreff: Re: [mkgmap-dev] Compile error
I don't create an overview map. No tiles show up with zero size nor are any of the 56 tiles larger than about 159,000 nodes. Carlos has offered a patch to indicate the problem tile but I'm on a Windows 10 system and am not willing to set up a Linux environment just to patch my mkgmap program.
Is there a debugging tool or method that you can suggest?
On Mon, May 2, 2022 at 11:10 AM Gerd Petermann <gpetermann_muenchen@hotmail.com> wrote:
Hi Dave,
I would expect a tile with 0 bytes. Maybe you get this message for the overview map?
Gerd
________________________________________ Von: Dave Swarthout <daveswarthout@gmail.com> Gesendet: Montag, 2. Mai 2022 20:02 An: Gerd Petermann Cc: Development list for mkgmap Betreff: Re: [mkgmap-dev] Compile error
Thanks, Gerd,
I get the same error when using the default syle. In DJS.cfg, I placed this line: style-file=C:\Users\Alask\Documents\mkgmap\examples\styles\default. That is correct usage, right?
Another list member told me to look for the offending tile in order to manually split it, however, all the tiles look alike to me in terms of size. How would I tell which tile is the "bad one" that's causing this RGN error?
You mentioned adjusting some mkgmap parameters that would reduce the size and/or complexity of the map I'm trying to create. The descriptive text in the Options file for directives about processing lines and polygons doesn't make clear how to reduce the amount of information they handle— can you offer any suggestions?
Thanks,
Dave
On Mon, May 2, 2022 at 9:23 AM Gerd Petermann <gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com>> wrote: Hi Dave,
the max-nodes value is already very small, so maybe something in mkgmap goes very wrong. We probably need the input file (*.o5m) for the tile that fails and the style unless you can reproduce the problem also with the default style.
Gerd
________________________________________ Von: Dave Swarthout <daveswarthout@gmail.com<mailto:daveswarthout@gmail.com>> Gesendet: Montag, 2. Mai 2022 18:08 An: Gerd Petermann Cc: Development list for mkgmap Betreff: Re: [mkgmap-dev] Compile error
Reducing the node count means I was adjusting the max-nodes value; I had been using a value of 160,000 for max-nodes but after getting that error message, I tried running splitter with max-nodes=120,000 and 100,000 nodes but that had zero effect on the error message. There were more tiles generated by splitter but the same error resulted.
I've attached my splitter logs and the DJS.CFG file
Thanks for the help
On Mon, May 2, 2022 at 1:42 AM Gerd Petermann <gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com><mailto:gpetermann_muenchen@hotmail.com<mailto:gpetermann_muenchen@hotmail.com>>> wrote: Hi Dave,
what do you mean with "I've tried reducing the size of the node count but that had no effect"? A smaller --max-nodes value for splitter should always have an effect: More / different tiles. Maybe it just didn't change the size of the problematic tile?
So, if you don't want to "reduce the amount of information included in the map" which means changing the style or options like --reduce-points, --levels etc, your only option is to tell splitter to produce smaller tiles. That is done with the --max-nodes option or maybe allow trimming if the problematic tile contains a huge area with sea only.
Can't say much more without knowing the content of the problematic tile and content of DJS.cfg.
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk><mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>>> im Auftrag von Dave Swarthout <daveswarthout@gmail.com<mailto:daveswarthout@gmail.com><mailto:daveswarthout@gmail.com<mailto:daveswarthout@gmail.com>>> Gesendet: Sonntag, 1. Mai 2022 02:06 An: Development list for mkgmap Betreff: [mkgmap-dev] Compile error
Hi,
I'm not on this list anymore but I'm having a problem with mkgmap that I'm unable to understand or fix.
I'm getting this error all the time now. "The RGN section of the map or tile is too big. The maximum size is 16777215 bytes. Try splitting the map into smaller tiles or reducing the amount of information included in the map."
I've tried reducing the size of the node count but that had no effect. Here's my command line:
java -Xmx4000m -jar mkgmap.jar -c DJS.cfg --latin1 --family-id=24566 --name-tag-list=name,alt_name,loc_name,int_name --description="Eugene" "C:\Users\Alask\Downloads\Maps\Eugene.osm" "C:\Users\Alask\Dropbox (Personal)\Mapping\24983djs.TYP"
Splitter ends normally with 56 areas for a 1.5 GB input file
Any ideas?
Please address all replies to me as well as the list membership because I was removed from this list for having "too many bounces", whatever that is but I need a solution to this problem.
Thanks in advance
-- Dave Swarthout Homer, Alaska Chiang Mai, Thailand Travel Blog at http://dswarthout.blogspot.com
-- Dave Swarthout Homer, Alaska Chiang Mai, Thailand Travel Blog at http://dswarthout.blogspot.com
-- Dave Swarthout Homer, Alaska Chiang Mai, Thailand Travel Blog at http://dswarthout.blogspot.com
-- Dave Swarthout Homer, Alaska Chiang Mai, Thailand Travel Blog at http://dswarthout.blogspot.com
-- Dave Swarthout Homer, Alaska Chiang Mai, Thailand Travel Blog at http://dswarthout.blogspot.com
participants (3)
-
Dave Swarthout
-
Gerd Petermann
-
gpetermann_muenchen@hotmail.com