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
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
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:
>
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
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
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
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
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='${
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