Coder Social home page Coder Social logo

Comments (8)

twdotson avatar twdotson commented on September 13, 2024 1

From my first post, shouldn't "LASzip DLL {0}" be changed to "LASzip NET {0}" and perhaps header.generating_software be made private? That way if there is ever an inconsistency with a file created it can be distinguished from the original library and it will be clear which DLL needs revisions?

from laszip.net.

shintadono avatar shintadono commented on September 13, 2024 1

@twdotson Thanks for the examples. Exactly what was needed. And, good point with the generating software string. l'll change that to include the name of the assembly. As for the privatization of generating_software - it is public because it is public in laszip. The user is allowed to change the value (the content of the array) after the initialization with laszip_clean(). I guess the variable (the reference to the array instance) should be readonly, while the array content should be mutable. I'll check what I can do...

@rapidlasso The port was based on version 2.2 (2014-09-07), and I haven't done much since then. So I quess the library can only do, what that version could do. (Minus writing version 1 LAS files, as stated in the readme.md file). I'll try to catch up we the changes made since then, but that might take a while.

from laszip.net.

shintadono avatar shintadono commented on September 13, 2024

Thanks for pointing out the issue. I hope I caught all the wrong calls. Please notify me again, if not.

Also, thanks for alterting me to the upcoming 1.4 support in LasZip. I wasn't aware of that. I almost thought this would never happen...

I think I really need to do some catching up to the changes made in LasZip, and I would welcome more awarness to this port. And some test code (which could also be referenced as usage example) would be great.

from laszip.net.

twdotson avatar twdotson commented on September 13, 2024

Thanks for the quick fix! I will be doing more testing and will polish the test code and post it.

Note that a quick test of this library on one file provided by Martin from ...
http://www.cs.unc.edu/~isenburg/lastools/las14/
... seemed to read properly. Perhaps there are new properties that are not available but it appears usable as it is. Hopefully we will see announcement of the library at the "LAS Room".
https://groups.google.com/d/forum/lasroom
I really believe this will be one more step toward adoption of LAZ as a common file format.

BTW, could you confirm that we will be allowed to use this managed library in our small commercial application, provided we include the contents of ...
https://github.com/shintadono/laszip.net/blob/master/README.md
... in our documentation?

from laszip.net.

shintadono avatar shintadono commented on September 13, 2024

That is the beauty of the 'Lesser General Public License (LGPL)'. It allows you to use the software/library, even in non-free applications and commercial ones. But if you want/need to make changes to it, you are legally bound to do(publish) these changes as free software under the same or an even more free license (which would be the GPL).

I would have made the library with a MIT or similar license, but since the original (laszip in C/C++) is under LGPL, and much of the code is just a reformating or fractoring of the original code, if thought changing the license could be a bit much.

from laszip.net.

shintadono avatar shintadono commented on September 13, 2024

Oh, and I almost forgot: I don't require the copyright and license notice to be present in a software using the library. A mention somewhere (e.g. About window) would be nice though. (I don't know about what Martin would want as a mention as originator of the base code and LAZ file format.)

from laszip.net.

twdotson avatar twdotson commented on September 13, 2024

Attached is a ZIP file containing two RTF files (VB & C#) of a candidate for a usage example. The code writes a LAZ file with two points then reads it back.

Keep in mind that the original was done in VB.NET and the C# was converted with the Telerik Converter and has not been verified. Feel free to modify them as desired.

TestLas.zip

from laszip.net.

rapidlasso avatar rapidlasso commented on September 13, 2024

Hello @shintadono,

I did not know about this port until @twdotson pointed it out to me. Is the library now able to fully read the current LAS and LAZ format (up to LAS version 1.3 and likely also LAS 1.4 when only the old point types are used)? That would be something useful to share in the "LAS room" [1] or the "LAStools user forum" [2]:

http://groups.google.com/group/lasroom
http://groups.google.com/group/lastools

from laszip.net.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.