
On Wed, May 11, Gary Bamford wrote:
HI Gerd.
Okay, that leaves just one question, does the conversion from the txt file to the typ file have to happen as a separate command, or can i specify the txt file as part of a command to make the gmapsupp.img file.
Instead of specifying the TYP file (file.TYP) you specify the txt file on the commandline (file.TXT). Thorsten
Gary
________________________________ From: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> on behalf of Gerd Petermann <GPetermann_muenchen@hotmail.com> Sent: 11 May 2016 08:49 To: Development list for mkgmap Subject: Re: [mkgmap-dev] Land flooded
Hi Gary,
just to make sure:
mkgmap can compile a gmapsupp with both formats, when you use the *.typ file as input it will copy it into to gmapsupp.img,
maybe after adjusting values like product id, I am not sure about that.
When you specify the text file format it will use its typ file compiler to create the *.typ file and use that for the gmapsupp.img.
So, when you see differences using these two different ways you may have found a problem in the mkgmap typ file compiler.
@Steve: I hope that I got this right?
Gerd
________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Gary Bamford <garybamford@hotmail.com> Gesendet: Mittwoch, 11. Mai 2016 10:05 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Land flooded
Hi Gerd
That's where I was going wrong then, I was speciying the typefile as a txt file, and not a typ file.
http://www.mkgmap.org.uk/news/2012/02/17/typ-file-compiler
I assumed that also meant that the map complier would also allow for a txt file input of styles
TYP file compiler - mkgmap<http://www.mkgmap.org.uk/news/2012/02/17/typ-file-compiler> www.mkgmap.org.uk Another recent feature added is the ability to compile TYP file from the .txt format. There is no special option needed, just place the .txt file on the command line ...
________________________________ From: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> on behalf of Gerd Petermann <GPetermann_muenchen@hotmail.com> Sent: 11 May 2016 07:58 To: Development list for mkgmap Subject: Re: [mkgmap-dev] Land flooded
Hi Gary,
not sure what you mean with "when I use the text file output" here. The device needs the *.typ format, it
doesn't understand the text file format. Or do you mean that you feed mkgmap with the text file format
and the resulting *.typ file doesn't work ?
Gerd
________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Gary Bamford <garybamford@hotmail.com> Gesendet: Mittwoch, 11. Mai 2016 09:51 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Land flooded
Hi Gerd.
Thanks for the information. The problem gets a little stranger, I use a software package called TYPViewer ( v4.5.35 ) to edit the type files, it has two outputs, one produces a typ file the other produces a txt file. If I use the typ file output I get the map I expect ( without having to specify --transparent or --generate-sea=land-tag=natural=background ) the sea is where it should be, if I use the text file output from TYPViewer then I have problems.
Lessen to learn, use the typ file output.
Regards
Gary
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-- Thorsten Kukuk, Senior Architect SLES & Common Code Base SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)