Comments (8)
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.
@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.
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.
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.
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.
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.
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.
from laszip.net.
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)
- Strange compression size issue when using new laszip_point()
- Search points by envelope/polygon? HOT 2
- Setting number of points count in header HOT 2
- Set number_of_extended_variable_length_records and info of spatial references HOT 1
- Get number of classifications HOT 3
- Wrong classification value stored HOT 1
- Seek of uncompressed files incorrectly calculates offset when target is a very large number
- RGB values are set in point correctly but are not read back. HOT 1
- WGS.las
- write las HOT 1
- NullReference exception by reading LAZ file HOT 4
- Bug in laszip_dll.cs
- Support for POINT14 and RGBNIR14 from LAZ files HOT 5
- writing point rgb value HOT 1
- Error Reading 1.4 Files "Compressor 3 HOT 17
- how to get RGB integer of every point HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laszip.net.