Re: [mkgmap-dev] Creating gmapsupp.img fails with: Cannot invoke "String.endsWith(String)" because the return value of "uk.me.parabola.mkgmap.main.Main$FilenameTask.getFilename()" is null

2021-09-14 Thread Felix Hartmann
Well as the new Garmin devices have 15k tiles and still fat32 the problem will disappear for them at least. If you manage to get every tile on average to 10MB those with 4096 tiles are fine too. Those with 2048 tiles at least postponed a bit...this and same FID is like the most annoying problem

Re: [mkgmap-dev] Creating gmapsupp.img fails with: Cannot invoke "String.endsWith(String)" because the return value of "uk.me.parabola.mkgmap.main.Main$FilenameTask.getFilename()" is null

2021-09-14 Thread Gerd Petermann
Hi Felix, yes, the more exotic the OSM data gets the more likely it is that you can increase --max-nodes. Another reason might be the many optimizations during the last years which achieved smaller file sizes. Your approach probably works, but I doubt that you can solve the original problem

Re: [mkgmap-dev] Creating gmapsupp.img fails with: Cannot invoke "String.endsWith(String)" because the return value of "uk.me.parabola.mkgmap.main.Main$FilenameTask.getFilename()" is null

2021-09-14 Thread Felix Hartmann
Hi Gerd, The reason for this is - many garmin GPS devices have a max tile limit of 2048, 4096 or some newer devices 15k. Except those with 15k tiles limit - users may break the 2048 or 4096 tile limit on their device if the tiles are not very big. For some countries I can double the max-nodes and

Re: [mkgmap-dev] Creating gmapsupp.img fails with: Cannot invoke "String.endsWith(String)" because the return value of "uk.me.parabola.mkgmap.main.Main$FilenameTask.getFilename()" is null

2021-09-14 Thread Gerd Petermann
Hi Felix, I still don't understand the concept of resplitting. Is it meant to fix problems until you find time to look at the server or should it work in long terms? If you resplit more and more tiles I don't see how it will improve the map or the resource usage. Gerd

Re: [mkgmap-dev] Creating gmapsupp.img fails with: Cannot invoke "String.endsWith(String)" because the return value of "uk.me.parabola.mkgmap.main.Main$FilenameTask.getFilename()" is null

2021-09-14 Thread Felix Hartmann
yeah that makes resplits easier. You do not need to go into the template.args file anymore and comment out missing tiles. So it's enough to just delete those input tiles that were too big. On Tue, 14 Sept 2021 at 11:46, Gerd Petermann < gpetermann_muenc...@hotmail.com> wrote: > Hi Felix, > >

Re: [mkgmap-dev] Creating gmapsupp.img fails with: Cannot invoke "String.endsWith(String)" because the return value of "uk.me.parabola.mkgmap.main.Main$FilenameTask.getFilename()" is null

2021-09-14 Thread Gerd Petermann
Hi Felix, I've added a null check with r4807. Gerd Von: mkgmap-dev im Auftrag von Felix Hartmann Gesendet: Donnerstag, 2. September 2021 01:45 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Creating gmapsupp.img fails with: Cannot invoke

Re: [mkgmap-dev] Creating gmapsupp.img fails with: Cannot invoke "String.endsWith(String)" because the return value of "uk.me.parabola.mkgmap.main.Main$FilenameTask.getFilename()" is null

2021-09-01 Thread Felix Hartmann
Okay - this error can be solved by removing the "Input that do not exist from the template.args input file. - e.g. if 85610002.o5m does not exist need to remove the line input-file: 85610002.o5m from the template.args file. On Tue, 31 Aug 2021 at 21:11, Felix Hartmann wrote: > Partly related to

[mkgmap-dev] Creating gmapsupp.img fails with: Cannot invoke "String.endsWith(String)" because the return value of "uk.me.parabola.mkgmap.main.Main$FilenameTask.getFilename()" is null

2021-08-31 Thread Felix Hartmann
Partly related to the other problem - if I run mkgmap on the splitted files - I get this error. All .img files seem to be fine, but the gmpsupp.img is created with 0 bit size. This is not happening every time I resplit tiles. In this case two tiles were joined by osmconvert - and splitter splits