Re: [mkgmap-dev] Errors converting "mapnik.txt" into "mapnik.typ" (information only)

2020-04-01 Thread Ticker Berkin
Hi Gerd, Eric Here is another patch to help TYPViewer users - mkgmap TYP compiler skips [_comments] ... [End] sections - for TYP lines in the [_id] section like: ProductCode= FID= CodePage= ie. without a value, mkgmap now writes a WARN message to the log instead of a SEVE:

Re: [mkgmap-dev] Errors converting "mapnik.txt" into "mapnik.typ" (information only)

2020-04-01 Thread Ticker Berkin
Hi Gerd Yes, please commit. I'm going to send another patch later for the mkgmap typ compiler and it will include other changes to mapnik.txt so Eric, you might want to hold off your testing until this is also committed. Ticker On Wed, 2020-04-01 at 01:35 -0700, AnkEric wrote: > Hi Gerd, > >

Re: [mkgmap-dev] Errors converting "mapnik.txt" into "mapnik.typ" (information only)

2020-04-01 Thread AnkEric
Hi Gerd, This is not for me to decide. I'm just a User... IMO: the mapnik-TYPViewer-2.patch is okay. So to be committed. IMO! I will - again - verify (by TypViewer) if "mapnik.txt" is okay after committed patch. If not: I will let you know. BTW: Did I gave you the impression I did

Re: [mkgmap-dev] Errors converting "mapnik.txt" into "mapnik.typ" (information only)

2020-04-01 Thread Gerd Petermann
: [mkgmap-dev] Errors converting "mapnik.txt" into "mapnik.typ" (information only) Hi Eric There is a lot here! I don't want to spend a lot of time going through it point by point here are some comments and some changes, helpful to TYPViewer users, that could be made to mapnik.txt

Re: [mkgmap-dev] Errors converting "mapnik.txt" into "mapnik.typ" (information only)

2020-03-31 Thread Ticker Berkin
Hi Eric There is a lot here! I don't want to spend a lot of time going through it point by point here are some comments and some changes, helpful to TYPViewer users, that could be made to mapnik.txt and mkgmap. 1/ DONE: remove a comma from a STRING default line. This is because mkgmap and

Re: [mkgmap-dev] Errors converting "mapnik.txt" into "mapnik.typ" (information only)

2020-03-27 Thread Ticker Berkin
Hi Eric see embedded Ticker On Thu, 2020-03-26 at 05:46 -0700, AnkEric wrote: > Hi Ticker, > > /> Is there a change that you'd like to see in the next version?/ > > No, thanks. > Please consider: I'm only a private user. Therefore my RFC's or > suggestions > are only relevant if other users

Re: [mkgmap-dev] Errors converting "mapnik.txt" into "mapnik.typ" (information only)

2020-03-26 Thread AnkEric
Hi Ticker, This is exactly what I did experience last night: /I've just loaded TYPViewer and used it to convert latest mapnik.txt to mapnik.typ. It seemed quite happy to do this, but when using TYPViewer to read back the .typ file, it gives the errors: Error while reading polygon 0x03d/00 :

Re: [mkgmap-dev] Errors converting "mapnik.txt" into "mapnik.typ" (information only)

2020-03-26 Thread Ticker Berkin
Hi Eric / Gerd I've changed the characters used to represent the pixels in the bay icon. I've just loaded TYPViewer and used it to convert latest mapnik.txt to mapnik.typ. It seemed quite happy to do this, but when using TYPViewer to read back the .typ file, it gives the errors: Error while

Re: [mkgmap-dev] Errors converting "mapnik.txt" into "mapnik.typ" (information only)

2020-03-26 Thread AnkEric
Hi Ticker, /> Is there a change that you'd like to see in the next version?/ No, thanks. Please consider: I'm only a private user. Therefore my RFC's or suggestions are only relevant if other users might benefit as well. My conclusion (FWIW): Use "mapnik_fix.txt", update with Comments (restore

Re: [mkgmap-dev] Errors converting "mapnik.txt" into "mapnik.typ" (information only)

2020-03-25 Thread Ticker Berkin
Hi Eric The problem with using TYPViewer to change the file is that it has made lots of arbitary/irrelevant textual changes, lost information about the source encoding, added information about the destination encoding, removed the comments, etc This is fine for your usage, but not for changing

Re: [mkgmap-dev] Errors converting "mapnik.txt" into "mapnik.typ" (information only)

2020-03-25 Thread AnkEric
1. Open "mapnik.txt" in TYPViewer 2. Edit: Type=0x3d 3. Update Colors, Day and Night: from #00 to #FF 4. Different Colors for Night = yes (!!!) 5. Different Colors for Night = NO (!!!) 6. Save 7. Done Attached: "mapnik_FIX.txt"

Re: [mkgmap-dev] Errors converting "mapnik.txt" into "mapnik.typ" (information only)

2020-03-25 Thread AnkEric
Almost but not quite... + What I did: Let mkgmap process: "mapnik.txt". mkgmap will create: "mapnik.typ". So your suggestion is working ok! Open "44010.typ" in TYPViewer. This is oké now. If I want, I can Save "mapnik.typ" as "mapnik.txt". Done! But don't ask me about the differences

Re: [mkgmap-dev] Errors converting "mapnik.txt" into "mapnik.typ" (information only)

2020-03-25 Thread Ticker Berkin
Here is a patch for mapnik.txt that: - removes a "," from a default string. - doesn't indent the Bay Xpm section. - fixes a spelling mistake. The first 2 changes might stop errors when TYPViewer reads the file Ticker On Wed, 2020-03-25 at 08:56 -0700, AnkEric wrote: > Hi Ticker, > > > Line

Re: [mkgmap-dev] Errors converting "mapnik.txt" into "mapnik.typ" (information only)

2020-03-25 Thread AnkEric
Hi Ticker, > Line 1959 - is TYPViewer objecting to "String=River..." because it wants something of the form "String1=0x00,River..." or is it objecting to the "," between River & Wadi? This is "acceptable" to TYPViewer: String=River Wadi (Intermittent) String1=0x01,Cours d’eau (intermittent) So

Re: [mkgmap-dev] Errors converting "mapnik.txt" into "mapnik.typ" (information only)

2020-03-25 Thread Ticker Berkin
Hi Eric I use mkgmap to convert typ-files from .txt to .typ (just stick mapnik.txt at the end of the parameter list, after the map data files) It doesn't give these errors. Line 1959 - is TYPViewer objecting to "String=River..." because it wants something of the form "String1=0x00,River..." or