Hi Gerd,

It is not caused by the size of my mapids as without any other changes but the 
moving of the option in the command line I no longer get the error. Prior to 
moving the position of the reference to my typ file I removed all reference to 
any typ file and the map compiled just fine. This would indicate to me that for 
some reason Mkgmap is treating the text file as an OSM input file and not 
finding the correct data and failing, ignoring any input files that follow.

I hope this helps.

Dave



Sent from my Lineage phone



          Original Message  



From: [email protected]
Sent: 15 November 2019 10:59
To: [email protected]
Reply to: [email protected]
Subject: Re: [mkgmap-dev] Error Cannot calculate mapid for xxx.txt


Hi Dave,

thanks for reporting. Seems to be a regression from r4336 
http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4336

I can reproduce it with a command like this:
java -jar mkgmap.jar --mapname=99999999 f:\osm\dummy.osm mytype.txt

I agree that this should not happen but i wonder why you would use these very 
high mapids?

Gerd

________________________________________
Von: mkgmap-dev <[email protected]> im Auftrag von Dave 
<[email protected]>
Gesendet: Freitag, 15. November 2019 09:51
An: [email protected]
Betreff: [mkgmap-dev] Error Cannot calculate mapid for xxx.txt

Hi,

Since release 4336 I have been getting ‘Cannot calculate mapid for xxx.txt ‘ 
error while running Mkgmap, with xxx.txt being the path and name of my typ file 
which was created some time ago with TYPWiz 3 and has not been edited recently. 
I do not have this problem with release 4323. After some investigation I 
realised Mkgmap was treating the txt file as an input file and not attempting 
to compile it as a typ file. I found by changing the order of my command 
options and placing the --output-dir option followed by the txt file near the 
beginning before the –gmapsupp option it would compile the typ file. This order 
did not seem to matter before.

I thought I would just let you know.

Rgds,
Dave
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to