
Hi Gerd, thanks for your explanations. I just realized the exact meaning of the error message. I misunderstood it and was confused. Size 1024 didn't work, so I'm now trying 4096. I mean this issue just happens in very few places. So my idea would be to keep it as it. As I read in our other mail, it seems not the best idea to increase the size too much. I will just let the maps compile and see the result and keep you posted. But it seems to be better to manually tweak the areas.list. Regarding the polygon, I think best is by default just use the polygon of the map. I estimate, mkgmap don't know anything about the complete map, so maybe splitter can write it in the templates.args (just an idea). After thinking a while about the splitting, I ended up with two approaches: 1) max-area-size in km^2. I guess it's simple to implement, but of course not very accurate. 2) calculate something like the densities-out.txt for all the hgt-files. I'm not sure if it's worth to spend a lot of time coding for it, as it's mainly will be run one time. Bye Henning On 26.12.2017 05:23, Gerd Petermann wrote:
Hi Henning,
reg. 2nd: I think the message is clear: "Use a larger block size with an option such as --block-size=1024 or --block-size=2048" The value 65535 is the number of blocks, not the block size. I am not sure why this number is not calculated by mkgmap, I'll have a closer look later.
reg. 3rd: Yes, we probably need another option like dem-poly to tell mkgmap a polygon. Points outside of the polygon would get height 0. I wrote this to Ervin but it seems that I forgor to copy the list.
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Henning Scholland <osm@hscholland.de> Gesendet: Montag, 25. Dezember 2017 14:06:22 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Error BeNeLul
Hi Gerd, I got a similar error in East Malaysia/Philippine in that tile: 63240328: 188416,5429248 to 538624,5650432
If you need o5m-file let me know.
I used: x-dem=E:\SRTM\hgt\SRTM3v3.0 x-overview-dem-dist=276160
2nd: After you changed the file size limit I ran in some of the problematic tiles into: SCHWERWIEGEND (BlockManager): .\63240185.o5m: overflowed directory with max block 65534, current=65535 SCHWERWIEGEND (MapFailedException): .\63240185.o5m: (thrown in BlockManager.allocate()) Too many blocks. Use a larger block size with an option such as --block-size=1024 or --block-size=2048 It mainly happen in low data areas in China, Arabia and Australia. I'm not so sure, if I just should increase the block-size to 128000 or is there an limit? The examples are quite low values. Can you or someone else gave me a suggestion?
3rd: It seems overview-dem is generated for a larger rectangle area, not only for the existing map area. For areas out of map area (areasa.list,..) I would expect DEM is treated as 0 elevation.
Henning
On 25.12.2017 17:11, Gerd Petermann wrote:
Hi Arndt,
I was not able to reproduce this problem. Please tell us your dem options.
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Arndt Röhrig <arndt@speichenkarte.de> Gesendet: Montag, 25. Dezember 2017 03:17:14 An: Development list for mkgmap Betreff: [mkgmap-dev] Error BeNeLul
Happy Christmas :)
i have a problem to build a NRWplus map or a BeNeLux map. (NRW plus all countrys around)
The OSM-Data is reduced to "Bremen". SRTM is NRW & all countrys around.
mkgmap 4000 build a correctly map. mkgmap 4019 crashes with this message:
SCHWERWIEGEND (MapBuilder): ..\Splitter\88039020.osm.pbf: exception while creating DEM file SCHWERWIEGEND (MapFailedException): ..\Splitter\88039020.osm.pbf: (thrown in MapBuilder.makeMap()) 23 SCHWERWIEGEND (MapBuilder): ..\Splitter\88039021.osm.pbf: exception while creating DEM file SCHWERWIEGEND (MapFailedException): ..\Splitter\88039021.osm.pbf: (thrown in MapBuilder.makeMap()) 23
gmapsupp will not build with this.
http://www.speichenkarte.de/beta/88039020.osm.pbf
Greets
Arndt _______________________________________________ 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 _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev