<div dir="ltr"><div>"+ve" does indeed mean positive.  It's an older shorthand term sometimes used by scientists in the U.S.</div><div><br></div><div>Dave<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Nov 7, 2018 at 1:02 PM Gerd Petermann <<a href="mailto:gpetermann_muenchen@hotmail.com">gpetermann_muenchen@hotmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Ticker,<br>
<br>
I think what confused me was the use of abbreviation cf (I did not know that) and that seaSize is a named constant which means<br>
it should be in upper case. See my changes in r4248.<br>
There is another confusing comment in Way.java:<br>
// this is unadulterated size, +ve if clockwise<br>
I guess that +ve means positive? This is hard to understand for a non-native speaker who grew up before SMS and Twitter and just learned to use smileys ;-)<br>
<br>
Gerd<br>
<br>
________________________________________<br>
Von: mkgmap-dev <<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk" target="_blank">mkgmap-dev-bounces@lists.mkgmap.org.uk</a>> im Auftrag von Ticker Berkin <<a href="mailto:rwb-mkgmap@jagit.co.uk" target="_blank">rwb-mkgmap@jagit.co.uk</a>><br>
Gesendet: Dienstag, 6. November 2018 10:43<br>
An: Development list for mkgmap<br>
Betreff: Re: [mkgmap-dev] New branch for default typ file<br>
<br>
Hi Gerd<br>
<br>
It's not the name of the map feature that I'm talking about; rather the<br>
string representation of the type which my device displays, along with<br>
the name, when the map feature is selected.<br>
<br>
So, for instance, I'd like to use one of the other the Park<br>
representations, say 0x20, for leisure=garden. In the TYP file I'd like<br>
to set the String for this type, but don't want to override the colour<br>
/ bitmap or whatever representation.<br>
<br>
Concerning the background polygon, I want to set it's area to bigger<br>
than the sea area, where the default is set in SeaGenerator.java with<br>
the comment:<br>
<br>
/**<br>
 * When order-by-decreasing-area we need all bit of sea to be output<br>
consistently.<br>
 * Unless _draworder changes things, having seaSize as BIG causes<br>
polygons beyond the<br>
 * coastline to be shown. To hide these and have the sea show up to the<br>
high-tide<br>
 * coastline, can set this to be very small instead (or use<br>
_draworder).<br>
 * <p><br>
 * mkgmap:drawLevel can be used to override this value in the style -<br>
the default style has:<br>
 * natural=sea { add mkgmap:skipSizeFilter=true; set mkgmap:drawLevel=2<br>
} [0x32 resolution 10]<br>
 * which is equivalent to Long.MAX_VALUE-2.<br>
 */<br>
private static final long seaSize = Long.MAX_VALUE-2; // sea is BIG<br>
<br>
I don't think having method just used by addBackground adds anything to<br>
clarity. I could put a constant with MAX_VALUE-1 and comment into<br>
MapperBasedMapDataSource instead if you'd prefer<br>
<br>
<br>
Regards<br>
Ticker<br>
<br>
On Tue, 2018-11-06 at 00:16 -0600, Gerd Petermann wrote:<br>
> Hi Ticker,<br>
><br>
> Ticker Berkin wrote<br>
> > Does anyone know if it would be possible to change mkgmap to allow<br>
> > this?<br>
><br>
> Not sure if this is what you want, did you try default_name?<br>
> See e.g.<br>
> amenity=emergency_phone [0x2f12 resolution 24 default_name 'Emergency<br>
> Phone']<br>
><br>
> I don't understand the comment in the patch:<br>
>               background.setFullArea(Long.MAX_VALUE-1); // cf:<br>
> SeaGenerator.java:<br>
> seaSize<br>
> Wouldn't it be better to have a method named something like<br>
> setAreaSizeToMax() ?<br>
><br>
> Gerd<br>
><br>
><br>
><br>
> --<br>
> Sent from:<br>
> <a href="http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html" rel="noreferrer" target="_blank">http://gis.19327.n8.nabble.com/Mkgmap-Development-f5324443.html</a><br>
> _______________________________________________<br>
> mkgmap-dev mailing list<br>
> <a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
> <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
_______________________________________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
_______________________________________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" target="_blank">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Dave Swarthout<br>Homer, Alaska<br>Chiang Mai, Thailand<br>Travel Blog at <a href="http://dswarthout.blogspot.com" target="_blank">http://dswarthout.blogspot.com</a></div></div>