<div>Hi Howard,</div>
<div> </div>
<div>Yes there may be some confusion, I realise that now.</div>
<div>I was expecting to have found an open source DLL that I could use to access LiDAR LAS data from VB .NET.</div>
<div> </div>
<div>I was hoping to find a progammatic entry point to work with LAS files, like (for instance, I am just making this up) </div>
<div> </div>
<div>imports liblas</div>
<div> </div>
<div>liblas.openlasfile(lasfile) or </div>
<div>liblas.readheader(lasfile) or </div>
<div>liblas.getpointX(id) .</div>
<div>liblas.writelasfile(lasfile) etc</div>
<div> </div>
<div>and use these instructions/tools to build my own lidar LAS tools.</div>
<div> </div>
<div>A bit like what the freeimage.dll is for imagery, I was hoping to find in liblas for lidar LAS files.</div>
<div>My programming skills are limited to <a href="http://vb.net">vb.net</a>.<br></div>
<div>Is this not what liblas can offer? </div>
<div> </div>
<div>thanks,</div>
<div>Lewis</div>
<div><br> </div>
<div class="gmail_quote">On Tue, Sep 7, 2010 at 4:32 AM, Howard Butler <span dir="ltr"><<a href="mailto:hobu.inc@gmail.com">hobu.inc@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Lewis,<br><br>The first thing is that the compilation directions at <<a href="http://liblas.org/compilation.html#using-visual-studio-9-2008-on-windows" target="_blank">http://liblas.org/compilation.html#using-visual-studio-9-2008-on-windows</a>> are for the unreleased version of libLAS. You can obtain a copy of the latest source tree at <<a href="http://hg.liblas.org/main/archive/tip.zip" target="_blank">http://hg.liblas.org/main/archive/tip.zip</a>>, and this should more closely follow what's going on.<br>
<br>The next thing I would ask is what exactly are you trying to do? libLAS is a c/c++ library, not a .NET library, although there are some unmaintained .NET bindings (these most likely would not work with the unreleased libLAS that has compilation instructions either -- sorry for this catch-22). If you want to program with libLAS in .NET, you're going to need a libLAS c/c++ dll as well as a libLAS .NET assembly that links .NET to the libLAS DLL (or, alternatively, hand-write your own PInvoke calls directly to the libLAS DLL).<br>
<br>I'm sorry you're finding things so frustrating, but I'm sensing there might be some confusion about libLAS and where it fits.<br><br>Hope this helps,<br><br>Howard<br>
<div>
<div></div>
<div class="h5"><br><br>On Sep 4, 2010, at 9:47 PM, Lewis Carrol wrote:<br><br>> Hi all,<br>><br>> I am really struggling to set up liblas to use for my development in <a href="http://vb.net/" target="_blank">vb.net</a>.<br>
><br>> Has anyone here setup liblas correctly for <a href="http://vb.net/" target="_blank">vb.net</a>(express) and can that person give me some clear instructions?<br>><br>> I have downloaded liblas from <a href="http://liblas.org/download.html" target="_blank">http://liblas.org/download.html</a><br>
> Also download and installed OSGeo4W.<br>> Also downloaded and installed cmake make_gui.<br>><br>> Normally I can easily follow installation instructions (<a href="http://liblas.org/tutorial/vbnet.html" target="_blank">http://liblas.org/tutorial/vbnet.html</a> , <a href="http://liblas.org/compilation.html#using-visual-studio-9-2008-on-windows" target="_blank">http://liblas.org/compilation.html#using-visual-studio-9-2008-on-windows</a>), I write a whole lot of tools and programs in <a href="http://vb.net/" target="_blank">vb.net</a> without any use of a manual, have 10 years+ experience in programming in a professional environment (vb +vb.express), but this liblas setup only is really giving me a headache, I must have tried at least 6 times during the last couple of weeks, without success.<br>
><br>> Part of the problem is that I (and that may sounds stupid to some of you guys) don't know what I am actually doing during this complex installation.<br>><br>> I think I am just setting up a reference or link to the liblas.dll to be able to use the instructions compiled in the DLL. I have done that so often with other DLL's, easy, 1 minute job and I am programming. Imports LibLAS, done?<br>
> But now I have to install cmake (done, but what is the reason for this?), install OSGeo4W (done, and I have installed the full set, but why?), run a command prompt from <a href="http://vb.net/" target="_blank">vb.net</a> (done) but then it doesn't work anymore for me. cmake doesn't find the files it needs, <a href="http://vb.net/" target="_blank">vb.net</a> doesn't load the dll, I am not sure how to continue, probably because I don't quite understand the need of all these extra tools to 'set up a reference'...<br>
><br>> Can't I just create a simple reference to the DLL and start programming?<br>><br>> Has anyone here setup liblas correctly for <a href="http://vb.net/" target="_blank">vb.net</a>(express) and can you give me some clear insructions? That would be very much appreciated.<br>
><br>> Lewis.<br></div></div>> _______________________________________________<br>> Liblas-devel mailing list<br>
<div class="im">> <a href="mailto:Liblas-devel@lists.osgeo.org">Liblas-devel@lists.osgeo.org</a><br></div>
<div>
<div></div>
<div class="h5">> <a href="http://lists.osgeo.org/mailman/listinfo/liblas-devel" target="_blank">http://lists.osgeo.org/mailman/listinfo/liblas-devel</a><br><br></div></div></blockquote></div><br>