2008/8/7 Shaun McDonald <[EMAIL PROTECTED]> > Chris Browet wrote: > >> >> >> Do you think about floating-point or fixed-point >> coordinates? >> >> >> This is one of the things to discuss. For mobile applications, fixed-point >> is the most efficient but we have to balance this with the loss of >> precision. >> > Actually the OSM db stores the node's lat and lon as integers. There is a > scaling factor of 10000000 done on the fly when you read and write notes. > > http://trac.openstreetmap.org/browser/sites/rails_port/lib/geo_record.rb#L22 >
Ok, so I guess this is one decision taken! - Chris -
_______________________________________________ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev