Re: [mkgmap-dev] The "Elevation=M" in the header of the polish .MP files does not work

2023-03-02 Thread Vadim Karpov
Hi   I did a search for the word " CONTOUR " in the file  MPCTypes.txt . In addition to the types mentioned above, there are several more:   0x10105 =Marine Lines/MARINE_CONTOUR_LINE/Marine contour line/Non NT, NT 0x10301 =Isobath Area Outlines/ISOBATH_DEPTH_CONTOUR/Depth contour/Non NT, NT   0x10

[mkgmap-dev] Commit r4906: Treat also line types 0x23..0x25 as contour lines in method isContourLine()

2023-03-02 Thread svn commit
Version mkgmap-r4906 was committed by gerd on Thu, 02 Mar 2023 Treat also line types 0x23..0x25 as contour lines in method isContourLine() http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4906 ___ mkgmap-dev mailing list mkgmap-dev@list

Re: [mkgmap-dev] The "Elevation=M" in the header of the polish .MP files does not work

2023-03-02 Thread Ticker Berkin
Hi Gerd Change looks good. I've forgotten why contours have different RoundCoordsFilter but these line-types will now be included in this behaviour. Ticker On Thu, 2023-03-02 at 15:01 +, Gerd Petermann wrote: > Hi all, > > OK, I see no problems to change this method  in GType.java: >   

Re: [mkgmap-dev] The "Elevation=M" in the header of the polish .MP files does not work

2023-03-02 Thread Gerd Petermann
Hi all, OK, I see no problems to change this method in GType.java: public static boolean isContourLine(MapLine line) { return line.getType() >= 0x20 && line.getType() <= 0x22 && !(line instanceof MapShape); } All I have to do is to change 0x22 to 0x25, right? Ge

Re: [mkgmap-dev] Remove accentiuation

2023-03-02 Thread Gerd Petermann
Hi Karl, sorry, I have no idea what you try to do. My understanding so far was that the apostrophe is added by transliteration which happens after style processing. Please give us an OSM object that contains the name with the problematic characters. I don't think that you can remove a single ap

Re: [mkgmap-dev] The "Elevation=M" in the header of the polish .MP files does not work

2023-03-02 Thread Ticker Berkin
Hi My understanding of the default Garmin usage is that 0x20..0x22 are land/height contours (Minor to Major) 0x23..0x25 are sea/depth "" Ticker On Thu, 2023-03-02 at 08:52 +, Gerd Petermann wrote: > Hi Vadim, > > I see code in mkgmap to handle the statement with Elevation=m or

Re: [mkgmap-dev] The "Elevation=M" in the header of the polish .MP files does not work

2023-03-02 Thread Gerd Petermann
Hi Vadim, I see code in mkgmap to handle the statement with Elevation=m or Elevation=M, but it is only used for the line types 0x20 .. 0x22. Do you have a good reason to use line type 0x25 instead? Gerd Von: mkgmap-dev im Auftrag von Vadim Karpov Ges

Re: [mkgmap-dev] Remove accentiuation

2023-03-02 Thread 7770
Hi. For some reason it seems i am not able to perform this type of change in the finalize section. I get: Error in style: Error: (points:427): Unrecognised command '=' The lines in points finalize style looks like: name=* {name '${name}'} # next line to remove ' from names. name=* {set name='${

Re: [mkgmap-dev] Remove accentiuation

2023-03-02 Thread 7770
Hi. Returning to this long-ago question. For some reason it seems i am not able to perform this type of change in the finalize section. I get: Error in style: Error: (points:427): Unrecognised command '=' The lines in points finalize style looks like: name=* {name '${name}'} # next line to remo