[OSM-talk] Mapping canals

Gervase Markham gerv-gmane at gerv.net
Thu Jan 24 10:21:59 GMT 2008


Robert Vollmert wrote:
> How about an extra key maxspeed:source_value_with_unit=30mph and a  
> cron job that updates maxspeed from maxspeed:source_value_with_unit?

Why does this data need to be in the database, if the conversion from 
one to the other is purely mechanical?

Let's have all data in the database in metric units. If you want to 
render a UK map in imperial, you do the following:

maxspeed_mph = round_to_nearest_5mph(maxspeed * 0.6214);

Gerv





More information about the talk mailing list