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 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 (...?) for "unspecified language" (default??) TYPViewer doesn't
> like csv.
> 
> Next TYPViewer will "renumber", so this was not the issue:
> String1=0x00,River Wadi (Intermittent)
> String2=0x01,Cours d’eau (intermittent)
> 
> > Polygon 0x3d errors - Not sure what it doesn't like here
> 
> I don't know either, I just resolved "Quick and (very) Dirty" because
> I
> wanted a proof of concept for a "mapnik"-Map.
> 
> > This polygon should be transparent
> 
> Oké, thanks. Now I have the challenge to use mkgmap to convert typ
> -files
> from .txt to .typ, find a "bay" (have I ever seen one in real life??)
> and
> hopefully I will understand "the long debate".
> 
> > if TYPViewer doesn't allow you to save in the required char-set
> > then this
> > is a fundamental problem
> in using TYPViewer to do the conversion.
> 
> TYPViewer will Save utf8 As utf8 and Save 1252 As 1252. So the
> encoding of
> my source file is leading.
> So I have a work-around.
> 
> Eric (AnkEric)
> 
> 
> 
> --
> Sent from: 
> http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Index: resources/typ-files/mapnik.txt
===================================================================
--- resources/typ-files/mapnik.txt	(revision 4474)
+++ resources/typ-files/mapnik.txt	(working copy)
@@ -768,41 +768,41 @@
 FontStyle=NoLabel (invisible)
 CustomColor=No
 Xpm="32 32 2 1"
-    ". c none"
-    "1 c #FFFFFF"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-    "................................"
-;   "12345678901234567890123456789012"
+". c none"
+"1 c #FFFFFF"
+"................................"
+"................................"
+"................................"
+"................................"
+"................................"
+"................................"
+"................................"
+"................................"
+"................................"
+"................................"
+"................................"
+"................................"
+"................................"
+"................................"
+"................................"
+"................................"
+"................................"
+"................................"
+"................................"
+"................................"
+"................................"
+"................................"
+"................................"
+"................................"
+"................................"
+"................................"
+"................................"
+"................................"
+"................................"
+"................................"
+"................................"
+"................................"
+;12345678901234567890123456789012
 [end]
 [_polygon]
 type=0x3f
@@ -1956,7 +1956,7 @@
 " !!  !!  !!  !!  !!  !!  !!  !! "
 " !!  !!  !!  !!  !!  !!  !!  !! "
 ;12345678901234567890123456789012
-String=River, Wadi (Intermittent)
+String=River/Wadi (Intermittent)
 String1=0x01,Cours d’eau (intermittent)
 String2=0x02,Fluß (Periodisch)
 String4=0x03,Rivier (Periodiek)
@@ -5758,7 +5758,7 @@
 type=0x065
 subtype=0x0f
 ;GRMN_TYPE: Geographical Named Points of Interest - Water Related/RESERVOIR/Reservoir/Non NT, NT
-String=Reserviour
+String=Reservoir
 String1=0x01,Eau
 String2=0x02,Wasser
 String4=0x03,Water
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to