<HTML dir=ltr><HEAD><TITLE>Re: [Liblas-devel] Squeeze me</TITLE>
<META content="text/html; charset=unicode" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18876"></HEAD>
<BODY>
<DIV dir=ltr id=idOWAReplyText67077>
<DIV dir=ltr><FONT color=#000000 size=2 face=Arial>
<DIV dir=ltr><FONT color=#000000 size=2 face=Arial>Actually, what is the "spatial order" of data that is tilted due to a non-0/90/180/270-degree flight path?</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial>What you really need is a spatial lookup -- not spatial ordering....there is no such thing as "spatial ordering" unless you'lre talking&nbsp; about sorting just along one axis (x,y, or z).</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2 face=Arial>The LIDAR guys aren't polite enough to collect perfectly aligned lat/lon routes.</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2 face=Arial>If you want to be able to easily do spatial queries try using SQLITE and turn on the RTree.&nbsp; An RTree is kind of a waste for a fully populated LIDAR cloud but it should work just fine.</FONT></DIV>
<DIV dir=ltr><A href="http://www.sqlite.org/">http://www.sqlite.org/</A></DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2 face=Arial>We just built our own indexer so we could say "give me all points within N meters of here" rather than using an RTree or such.</FONT></DIV>
<DIV dir=ltr><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2 face=Arial></FONT>&nbsp;</DIV></FONT></DIV>
<DIV dir=ltr><FONT color=#000000 size=2 face=Arial></FONT>&nbsp;</DIV></DIV>
<DIV dir=ltr id=idSignature29380>
<DIV><FONT color=#000000 size=2 face=Arial>Michael D. Black</FONT></DIV>
<DIV><FONT size=2 face=Arial>Senior Scientist</FONT></DIV>
<DIV><FONT size=2 face=Arial>Northrop Grumman Mission Systems</FONT></DIV>
<DIV>&nbsp;</DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> liblas-devel-bounces@lists.osgeo.org on behalf of Hamish<BR><B>Sent:</B> Mon 3/8/2010 5:27 PM<BR><B>To:</B> Liblas-devel@lists.osgeo.org; Etienne Bellemare Racine<BR><B>Subject:</B> Re: [Liblas-devel] Squeeze me<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Etienne wrote:<BR>&gt; I was wondering if it would be possible, to add an option to also<BR>&gt; order the points coordinates in a spatial order instead of<BR>&gt; (I think) a temporal one, it would be much faster to scan<BR>&gt; the file that way to extract any point. within a given<BR>&gt; coordinate. Would it enter in the laszip specifications ? Of<BR>&gt; course, it would be much slower to write, I know, but it<BR>&gt; would be for a longtime gain in speed of reading. What do<BR>&gt; you think ?<BR><BR>I have no problem with optional switches, but realize that this<BR>is a lossy operation, there is useful info in the temporal order.<BR>e.g. if some glitch makes the nav go wonky for 5 minutes or<BR>calibration drifts with time (eg temperature), you can filter<BR>it out if still stored in sequential order.<BR><BR><BR>regards,<BR>Hamish<BR><BR><BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>_______________________________________________<BR>Liblas-devel mailing list<BR>Liblas-devel@lists.osgeo.org<BR><A href="http://lists.osgeo.org/mailman/listinfo/liblas-devel">http://lists.osgeo.org/mailman/listinfo/liblas-devel</A><BR></FONT></P></DIV></BODY></HTML>