Re: [JPP-Devel] A Delaunay triangulation library to support Lidar data

2022-05-13 Thread Rahkonen Jukka
Hi,

I followed the documentation and downloaded the jars from the Maven center. I 
did not find the "with dependencies" jar  but fortunately the dependencies are 
few and they were listed in the documentation.
You can find loads of laser scanning data from our download service 
https://tiedostopalvelu.maanmittauslaitos.fi/tp/kartta?lang=en. The license is 
CC-BY 4.0.

Java version is "OpenJDK Runtime Environment Temurin-11.0.15+10 (build 
11.0.15+10)".  This is my command and the beginning of the console log:

java -jar TinfourDemo-2.1.7.jar
Tinfour Viewer launched with max memory 8162,0 megabytes.
Estimated maximum number of vertices is 51764983
depending on whether full-resolution options are used.
Loaded 6564001 vertices in 31068 ms
IOException reading W4323G3.laz null
  451312,2100, 7651298,5400, 252,4600, 7304668

I was reading the file from a network share through VPN connection. A local 
copy opens 4 times faster and without io exceptions:

  Name: W4323G3.laz
  Type: Lidar (GroundPoints)
  Vertices:  6564001
  Load time(ms):8756
  Sort time(ms):2242

-Jukka Rahkonen-



Lähettäjä: Gary Lucas 
Lähetetty: perjantai 13. toukokuuta 2022 3.04
Vastaanottaja: OpenJump develop and use 
Aihe: Re: [JPP-Devel] A Delaunay triangulation library to support Lidar data

Hi Jukka Rahkonen,
I am impressed that you were able to download and test the demo application so 
quickly.

Would it be possible for me to get a copy of the test data that you used? The 
results were slower than I expected. I want to investigate and see if I can 
improve the processing time.  Also, what version of the Java JVM did you use? 
And what were the command-line options that you passed to the JVM?

Name: W4323G3.laz
  Type: Lidar (GroundPoints)
  Vertices:  6564001
  Load time(ms):   31068
  Sort time(ms):1898



On Thu, May 12, 2022 at 9:15 AM Rahkonen Jukka 
mailto:jukka.rahko...@maanmittauslaitos.fi>>
 wrote:
Hi,

Thanks, this is very interesting. I downloaded the demo and had a try with our 
point cloud data with one .laz file and it was opened and shown fine:

Name: W4323G3.laz
  Type: Lidar (GroundPoints)
  Vertices:  6564001
  Load time(ms):   31068
  Sort time(ms):1898

Unfortunately I can't help with making the plugin.

-Jukka Rahkonen-


Lähettäjä: Gary Lucas mailto:gwluca...@gmail.com>>
Lähetetty: torstai 12. toukokuuta 2022 15.38
Vastaanottaja: OpenJump develop and use 
mailto:Jump-pilot-devel@lists.sourceforge.net>>
Aihe: [JPP-Devel] A Delaunay triangulation library to support Lidar data

I am sending this email to make a modest offer to the OpenJUMP developer 
community.
I've written a Java library for processing Delaunay triangulations that may be 
useful for OpenJUMP. The Tinfour open-source software API is sufficiently fast 
to handle large unstructured data sets such as Lidar. I did a little testing 
this morning and was able to process a Lidar file containing 15 million samples 
in 12 seconds.
I think that the API could be used as part of an OpenJUMP plugin.
If you would like to learn more, you may visit the Tinfour project at 
https://github.com/gwlucastrig/Tinfour<https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgwlucastrig%2FTinfour=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7Cfcd3960b501b4e8ea19208da34743c5e%7Cc4f8a63255804a1c92371d5a571b71fa%7C0%7C0%7C637879971073148415%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C=CgyoW7%2BmfXJUfz%2F240e4ZmbLW4URrzRPNN9T59iUEPo%3D=0>
Due to my job commitments, I do not have the availability to write a plugin 
myself (thus the "modest" in this offer). But if someone were interested, I 
would be willing to support the effort by answering questions, assisting in 
design issues, and implementing Tinfour improvements or customizations required 
for the plugin.
Finally, if you would like to explore the feasibility of using Tinfour to 
process Lidar, I have a couple of demonstration applications that are available 
as part of the Tinfour distribution.  The Tinfour Viewer allows you to drag and 
drop a Lidar file onto a display area and review it interactively. The 
demonstrator should be enough to test the idea and reveal any issues I may not 
have thought of.
Thank you for your time and attention.  I wish the OpenJUMP community the best 
of success with your project.
Gary
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net<mailto:Jump-pilot-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel<https://eur06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fjump-pilot-devel=05%7C01%7Cjukka.rahkonen%40maanmittauslaitos.fi%7Cfcd3960b501b4e8ea19208da34743c5e%7Cc4f8a632

Re: [JPP-Devel] A Delaunay triangulation library to support Lidar data

2022-05-12 Thread Gary Lucas
Hi Giuseppe,

Would it be possible for me to get a copy of the test data you are using to
build your DTM?  I'd like to try using my Natural Neighbor
Interpolator (NNI) implementation on it and see what the results look like.

Gary


On Thu, May 12, 2022 at 11:11 AM Giuseppe Aruta 
wrote:

> Hi Gary,
> Thanks for your work
> I have been working to an interpolation plugin of point data (loaded in
> openjump as shape files) to a DTM raster.
> I used the code from s former ImageJ plugin (
> https://imagej.nih.gov/ij/plugins/xyz2dem-importer.html)
> which was quite fast and very flexible.
> The interpolation plugin is a part of a larger openjump project to work
> with raster, like ArcGIS raster tools.
> The project is here:
> https://sourceforge.net/p/opensit/wiki/Geo%20Arbores%20Raster%20Tools/.
> Actually it works only with Openjump 1.xxx series (not openjump 2) but I
> am working to port it to newer openjump.
> For sure i will give a look to your code and reuse it
> Thank again
> Peppe
>
>
> Il gio 12 mag 2022, 15:33  ha scritto:
>
>> hey Gary,
>>
>> thanks for the offer. any contribution to OJ is welcome and pointing out
>> an interesting libraries surely might incentivize somebody to include it's
>> functionality.
>> you maybe wanna open an issue on https://github.com/openjump-gis so it
>> might get indexed by search engines?
>>
>> ..regards ede
>>
>> On 12.05.2022 14:38, Gary Lucas wrote:
>> > I am sending this email to make a modest offer to the OpenJUMP
>> developer community.
>> >
>> > I’ve written a Java library for processing Delaunay triangulations that
>> may be useful for OpenJUMP. The Tinfour open-source software API is
>> sufficiently fast to handle large unstructured data sets such as Lidar. I
>> did a little testing this morning and was able to process a Lidar file
>> containing 15 million samples in 12 seconds.
>> >
>> > I think that the API could be used as part of an OpenJUMP plugin.
>> >
>> > If you would like to learn more, you may visit the Tinfour project at
>> https://github.com/gwlucastrig/Tinfour <
>> https://github.com/gwlucastrig/Tinfour>
>> >
>> > Due to my job commitments, I do not have the availability to write a
>> plugin myself (thus the “modest” in this offer). But if someone were
>> interested, I would be willing to support the effort by answering
>> questions, assisting in design issues, and implementing Tinfour
>> improvements or customizations required for the plugin.
>> >
>> > Finally, if you would like to explore the feasibility of using Tinfour
>> to process Lidar, I have a couple of demonstration applications that are
>> available as part of the Tinfour distribution.  The Tinfour Viewer allows
>> you to drag and drop a Lidar file onto a display area and review it
>> interactively. The demonstrator should be enough to test the idea and
>> reveal any issues I may not have thought of.
>> >
>> > Thank you for your time and attention.  I wish the OpenJUMP community
>> the best of success with your project.
>> >
>> > Gary
>> >
>> >
>> >
>> > ___
>> > Jump-pilot-devel mailing list
>> > Jump-pilot-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
>>
>> ___
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] A Delaunay triangulation library to support Lidar data

2022-05-12 Thread Gary Lucas
Hi Jukka Rahkonen,

I am impressed that you were able to download and test the demo application
so quickly.

Would it be possible for me to get a copy of the test data that you used?
The results were slower than I expected. I want to investigate and see if I
can improve the processing time.  Also, what version of the Java JVM did
you use? And what were the command-line options that you passed to the
JVM?

Name: W4323G3.laz

  Type: Lidar (GroundPoints)

  Vertices:  6564001

  Load time(ms):   31068

  Sort time(ms):1898





On Thu, May 12, 2022 at 9:15 AM Rahkonen Jukka <
jukka.rahko...@maanmittauslaitos.fi> wrote:

> Hi,
>
>
>
> Thanks, this is very interesting. I downloaded the demo and had a try with
> our point cloud data with one .laz file and it was opened and shown fine:
>
>
>
> Name: W4323G3.laz
>
>   Type: Lidar (GroundPoints)
>
>   Vertices:  6564001
>
>   Load time(ms):   31068
>
>   Sort time(ms):1898
>
>
>
> Unfortunately I can’t help with making the plugin.
>
>
>
> -Jukka Rahkonen-
>
>
>
>
>
> *Lähettäjä:* Gary Lucas 
> *Lähetetty:* torstai 12. toukokuuta 2022 15.38
> *Vastaanottaja:* OpenJump develop and use <
> Jump-pilot-devel@lists.sourceforge.net>
> *Aihe:* [JPP-Devel] A Delaunay triangulation library to support Lidar data
>
>
>
> I am sending this email to make a modest offer to the OpenJUMP developer
> community.
>
> I’ve written a Java library for processing Delaunay triangulations that
> may be useful for OpenJUMP. The Tinfour open-source software API is
> sufficiently fast to handle large unstructured data sets such as Lidar. I
> did a little testing this morning and was able to process a Lidar file
> containing 15 million samples in 12 seconds.
>
> I think that the API could be used as part of an OpenJUMP plugin.
>
> If you would like to learn more, you may visit the Tinfour project at
> https://github.com/gwlucastrig/Tinfour
> 
>
> Due to my job commitments, I do not have the availability to write a
> plugin myself (thus the “modest” in this offer). But if someone were
> interested, I would be willing to support the effort by answering
> questions, assisting in design issues, and implementing Tinfour
> improvements or customizations required for the plugin.
>
> Finally, if you would like to explore the feasibility of using Tinfour to
> process Lidar, I have a couple of demonstration applications that are
> available as part of the Tinfour distribution.  The Tinfour Viewer allows
> you to drag and drop a Lidar file onto a display area and review it
> interactively. The demonstrator should be enough to test the idea and
> reveal any issues I may not have thought of.
>
> Thank you for your time and attention.  I wish the OpenJUMP community the
> best of success with your project.
>
> Gary
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] A Delaunay triangulation library to support Lidar data

2022-05-12 Thread Giuseppe Aruta
Hi Gary
Here you can find the source code of my algorithm,
https://sourceforge.net/p/opensit/code/HEAD/tree/Projects/Raster%20tools/OpenJUMP%201.16/src/org/openjump/core/rasterimage/algorithms/rastercreation/interpolation/

As sample if you want to try to port your code to Openjump
Giuseppe

Il gio 12 mag 2022, 16:57 Giuseppe Aruta  ha
scritto:

> Hi Gary,
> Thanks for your work
> I have been working to an interpolation plugin of point data (loaded in
> openjump as shape files) to a DTM raster.
> I used the code from s former ImageJ plugin (
> https://imagej.nih.gov/ij/plugins/xyz2dem-importer.html)
> which was quite fast and very flexible.
> The interpolation plugin is a part of a larger openjump project to work
> with raster, like ArcGIS raster tools.
> The project is here:
> https://sourceforge.net/p/opensit/wiki/Geo%20Arbores%20Raster%20Tools/.
> Actually it works only with Openjump 1.xxx series (not openjump 2) but I
> am working to port it to newer openjump.
> For sure i will give a look to your code and reuse it
> Thank again
> Peppe
>
>
> Il gio 12 mag 2022, 15:33  ha scritto:
>
>> hey Gary,
>>
>> thanks for the offer. any contribution to OJ is welcome and pointing out
>> an interesting libraries surely might incentivize somebody to include it's
>> functionality.
>> you maybe wanna open an issue on https://github.com/openjump-gis so it
>> might get indexed by search engines?
>>
>> ..regards ede
>>
>> On 12.05.2022 14:38, Gary Lucas wrote:
>> > I am sending this email to make a modest offer to the OpenJUMP
>> developer community.
>> >
>> > I’ve written a Java library for processing Delaunay triangulations that
>> may be useful for OpenJUMP. The Tinfour open-source software API is
>> sufficiently fast to handle large unstructured data sets such as Lidar. I
>> did a little testing this morning and was able to process a Lidar file
>> containing 15 million samples in 12 seconds.
>> >
>> > I think that the API could be used as part of an OpenJUMP plugin.
>> >
>> > If you would like to learn more, you may visit the Tinfour project at
>> https://github.com/gwlucastrig/Tinfour <
>> https://github.com/gwlucastrig/Tinfour>
>> >
>> > Due to my job commitments, I do not have the availability to write a
>> plugin myself (thus the “modest” in this offer). But if someone were
>> interested, I would be willing to support the effort by answering
>> questions, assisting in design issues, and implementing Tinfour
>> improvements or customizations required for the plugin.
>> >
>> > Finally, if you would like to explore the feasibility of using Tinfour
>> to process Lidar, I have a couple of demonstration applications that are
>> available as part of the Tinfour distribution.  The Tinfour Viewer allows
>> you to drag and drop a Lidar file onto a display area and review it
>> interactively. The demonstrator should be enough to test the idea and
>> reveal any issues I may not have thought of.
>> >
>> > Thank you for your time and attention.  I wish the OpenJUMP community
>> the best of success with your project.
>> >
>> > Gary
>> >
>> >
>> >
>> > ___
>> > Jump-pilot-devel mailing list
>> > Jump-pilot-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
>>
>> ___
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
>
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] A Delaunay triangulation library to support Lidar data

2022-05-12 Thread Giuseppe Aruta
Hi Gary,
Thanks for your work
I have been working to an interpolation plugin of point data (loaded in
openjump as shape files) to a DTM raster.
I used the code from s former ImageJ plugin (
https://imagej.nih.gov/ij/plugins/xyz2dem-importer.html)
which was quite fast and very flexible.
The interpolation plugin is a part of a larger openjump project to work
with raster, like ArcGIS raster tools.
The project is here:
https://sourceforge.net/p/opensit/wiki/Geo%20Arbores%20Raster%20Tools/.
Actually it works only with Openjump 1.xxx series (not openjump 2) but I am
working to port it to newer openjump.
For sure i will give a look to your code and reuse it
Thank again
Peppe


Il gio 12 mag 2022, 15:33  ha scritto:

> hey Gary,
>
> thanks for the offer. any contribution to OJ is welcome and pointing out
> an interesting libraries surely might incentivize somebody to include it's
> functionality.
> you maybe wanna open an issue on https://github.com/openjump-gis so it
> might get indexed by search engines?
>
> ..regards ede
>
> On 12.05.2022 14:38, Gary Lucas wrote:
> > I am sending this email to make a modest offer to the OpenJUMP developer
> community.
> >
> > I’ve written a Java library for processing Delaunay triangulations that
> may be useful for OpenJUMP. The Tinfour open-source software API is
> sufficiently fast to handle large unstructured data sets such as Lidar. I
> did a little testing this morning and was able to process a Lidar file
> containing 15 million samples in 12 seconds.
> >
> > I think that the API could be used as part of an OpenJUMP plugin.
> >
> > If you would like to learn more, you may visit the Tinfour project at
> https://github.com/gwlucastrig/Tinfour <
> https://github.com/gwlucastrig/Tinfour>
> >
> > Due to my job commitments, I do not have the availability to write a
> plugin myself (thus the “modest” in this offer). But if someone were
> interested, I would be willing to support the effort by answering
> questions, assisting in design issues, and implementing Tinfour
> improvements or customizations required for the plugin.
> >
> > Finally, if you would like to explore the feasibility of using Tinfour
> to process Lidar, I have a couple of demonstration applications that are
> available as part of the Tinfour distribution.  The Tinfour Viewer allows
> you to drag and drop a Lidar file onto a display area and review it
> interactively. The demonstrator should be enough to test the idea and
> reveal any issues I may not have thought of.
> >
> > Thank you for your time and attention.  I wish the OpenJUMP community
> the best of success with your project.
> >
> > Gary
> >
> >
> >
> > ___
> > Jump-pilot-devel mailing list
> > Jump-pilot-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] A Delaunay triangulation library to support Lidar data

2022-05-12 Thread edgar . soldin

hey Gary,

thanks for the offer. any contribution to OJ is welcome and pointing out an 
interesting libraries surely might incentivize somebody to include it's 
functionality.
you maybe wanna open an issue on https://github.com/openjump-gis so it might 
get indexed by search engines?

..regards ede

On 12.05.2022 14:38, Gary Lucas wrote:

I am sending this email to make a modest offer to the OpenJUMP developer 
community.

I’ve written a Java library for processing Delaunay triangulations that may be 
useful for OpenJUMP. The Tinfour open-source software API is sufficiently fast 
to handle large unstructured data sets such as Lidar. I did a little testing 
this morning and was able to process a Lidar file containing 15 million samples 
in 12 seconds.

I think that the API could be used as part of an OpenJUMP plugin.

If you would like to learn more, you may visit the Tinfour project at 
https://github.com/gwlucastrig/Tinfour 

Due to my job commitments, I do not have the availability to write a plugin 
myself (thus the “modest” in this offer). But if someone were interested, I 
would be willing to support the effort by answering questions, assisting in 
design issues, and implementing Tinfour improvements or customizations required 
for the plugin.

Finally, if you would like to explore the feasibility of using Tinfour to 
process Lidar, I have a couple of demonstration applications that are available 
as part of the Tinfour distribution.  The Tinfour Viewer allows you to drag and 
drop a Lidar file onto a display area and review it interactively. The 
demonstrator should be enough to test the idea and reveal any issues I may not 
have thought of.

Thank you for your time and attention.  I wish the OpenJUMP community the best 
of success with your project.

Gary



___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel



___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] A Delaunay triangulation library to support Lidar data

2022-05-12 Thread Rahkonen Jukka
Hi,

Thanks, this is very interesting. I downloaded the demo and had a try with our 
point cloud data with one .laz file and it was opened and shown fine:

Name: W4323G3.laz
  Type: Lidar (GroundPoints)
  Vertices:  6564001
  Load time(ms):   31068
  Sort time(ms):1898

Unfortunately I can't help with making the plugin.

-Jukka Rahkonen-


Lähettäjä: Gary Lucas 
Lähetetty: torstai 12. toukokuuta 2022 15.38
Vastaanottaja: OpenJump develop and use 
Aihe: [JPP-Devel] A Delaunay triangulation library to support Lidar data

I am sending this email to make a modest offer to the OpenJUMP developer 
community.
I've written a Java library for processing Delaunay triangulations that may be 
useful for OpenJUMP. The Tinfour open-source software API is sufficiently fast 
to handle large unstructured data sets such as Lidar. I did a little testing 
this morning and was able to process a Lidar file containing 15 million samples 
in 12 seconds.
I think that the API could be used as part of an OpenJUMP plugin.
If you would like to learn more, you may visit the Tinfour project at 
https://github.com/gwlucastrig/Tinfour
Due to my job commitments, I do not have the availability to write a plugin 
myself (thus the "modest" in this offer). But if someone were interested, I 
would be willing to support the effort by answering questions, assisting in 
design issues, and implementing Tinfour improvements or customizations required 
for the plugin.
Finally, if you would like to explore the feasibility of using Tinfour to 
process Lidar, I have a couple of demonstration applications that are available 
as part of the Tinfour distribution.  The Tinfour Viewer allows you to drag and 
drop a Lidar file onto a display area and review it interactively. The 
demonstrator should be enough to test the idea and reveal any issues I may not 
have thought of.
Thank you for your time and attention.  I wish the OpenJUMP community the best 
of success with your project.
Gary
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel