Ok thank you very much. I didn't know that openstreetmap site, API and core db interface were in ruby.<br>Thank you for that piece that proves for a sufficient database storage precision for our indoor mapping project !!!<br>
<br>This is cool and both Lars and you answered quickly thanks.<br><br>Jonathan<br><br><div class="gmail_quote">On Mon, Nov 30, 2009 at 4:34 AM, Lars Francke <span dir="ltr"><<a href="mailto:lars.francke@gmail.com">lars.francke@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">> The only thing I see potentially getting in your way is that the OSM<br>
> database doesn't store enough significant digits of lat/lon<br>
> coordinates to make indoor mapping viable, but perhaps it does. I<br>
> couldn't find documentation on how many digits it stores and how that<br>
> translates approximately into real-world meters/centimeters. Perhaps<br>
> someone else can chime in with that information?<br>
<br>
</div>The code is here:<br>
<a href="http://svn.openstreetmap.org/sites/rails_port/lib/geo_record.rb" target="_blank">http://svn.openstreetmap.org/sites/rails_port/lib/geo_record.rb</a><br>
Seven fractional digits are saved. That should be somewhere in the 1-3<br>
centimeter range depending on where you are and I believe that'll be<br>
enough for indoor mapping :)<br>
<br>
Lars<br>
<br>
_______________________________________________<br>
dev mailing list<br>
<a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/dev" target="_blank">http://lists.openstreetmap.org/listinfo/dev</a><br>
</blockquote></div><br>