[mkgmap-dev] Could not create gmapsupp file
From Marko Mäkelä marko.makela at iki.fi on Tue Nov 17 21:41:51 GMT 2009
Hi, I am resending this with a more appropriate subject line. Why is mkgmap --gmapsupp failing at the end if a corrupted gmapsupp.img exists in the working directory? Marko ----- Forwarded message from Marko Mäkelä <marko.makela at iki.fi> ----- Date: Mon, 16 Nov 2009 10:29:55 +0200 From: Marko Mäkelä <marko.makela at iki.fi> To: Development list for mkgmap <mkgmap-dev at lists.mkgmap.org.uk> Subject: Re: [mkgmap-dev] Line/Polygon outside of the map area Hi Mark, > At this time, the only way to avoid the warnings is to comment out the > line in the source code that's producing them! I see that you disabled it in a later commit. My laptop's power supply failed, and I had to migrate to an older laptop, which my wife is using. (So, I will have to cut back my mapping activities for a couple of weeks, because I cannot use a computer during evenings.) Because copying the files was no fun at USB 1.1 speed, I kept interrupting the rsync process and adding --exclude parameters. This left my map translation directory with an incomplete gmapsupp.img file. To my great surprise, mkgmap reported "Could not create gmapsupp file" at the very end of the run. I tried several revisions, and all failed in the same way. In the end, I removed the offending gmapsupp.img and reran mkgmap successfully. > It's all to do with how polygons (and lines) are split when they extend > across multiple subdivisions in the map. Now it may be that the test > that is producing the error message can be removed and those polygons > that it thinks are outside of the map area can continue to be processed > like they were before I put the test in. In fact, you could try that > and see if any other messages appear. So if you go to line 121 of > MapArea.java and make the test in the if statement true then those > messages would go away and I would be interested to learn if you get > any other messages instead. I might do that later, when I get my own laptop back. The substitute is much slower, because it is several years older. Best regards, Marko
- Previous message: [mkgmap-dev] Broken coastline errors between V1188 and V1398
- Next message: [mkgmap-dev] Naming cycleways or footways by the adjacent highway
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list