
Attached is a patch that extends available conversions including weight units (t, kg, lb and lbs) and feet. According to [1] and other places in the wiki, feet-inches values should be entered in the X'X" form, not using XftXin or XfeetXinches, so I think we should also have a conversion rule for the X'X" format, but I don't know how to accomplish it. I hope someone with more knowledge than me is able to develop it. [1] https://wiki.openstreetmap.org/wiki/Map_Features/Units

Hi Carlos, thanks for the patch. I can commit it like it is but I also have no idea how to implement the format rules. @Steve: Maybe you can look at this? Gerd Carlos Dávila-2 wrote
Attached is a patch that extends available conversions including weight units (t, kg, lb and lbs) and feet. According to [1] and other places in the wiki, feet-inches values should be entered in the X'X" form, not using XftXin or XfeetXinches, so I think we should also have a conversion rule for the X'X" format, but I don't know how to accomplish it. I hope someone with more knowledge than me is able to develop it.
[1] https://wiki.openstreetmap.org/wiki/Map_Features/Units
_______________________________________________ mkgmap-dev mailing list
mkgmap-dev@.org
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
conversions.patch (1K) <http://gis.19327.n8.nabble.com/attachment/5884885/0/conversions.patch>
-- View this message in context: http://gis.19327.n8.nabble.com/Extended-conversions-tp5884885p5885069.html Sent from the Mkgmap Development mailing list archive at Nabble.com.

On 24/10/16 20:17, Carlos Dávila wrote:
Attached is a patch that extends available conversions including weight units (t, kg, lb and lbs) and feet.
Thanks, it looks good and I have committed it. According to [1] and other places in
the wiki, feet-inches values should be entered in the X'X" form, not using XftXin or XfeetXinches, so I think we should also have a conversion rule for the X'X" format, but I don't know how to accomplish it. I hope someone with more knowledge than me is able to develop it.
Good point, but we need to be able to deal with the XftXin cases too as they do occur. They all do not fit very well with the existing system, so I will have to think about it a little. Best wishes ..Steve
participants (3)
-
Carlos Dávila
-
Gerd Petermann
-
Steve Ratcliffe