OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

LIDAR plugin


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
Michael W. Hall
Guest





PostPosted: Fri Sep 01, 2017 1:49 am    Post subject:
LIDAR plugin
Reply with quote

I have OSG 3.4.0 installed.  I have some LIDAR Data and when is type:

osgviewer <path-to-data> 

I get a message saying that it cannot find a plugin for the data.  The
data has a .laz extension, but it looks like the plugin is looking for
.las extension.  I renamed the files with a .las extension and still
did not work.

Anyone using the LIDAR plugin that can tell me what I am doing wrong? 


------------------
Post generated by Mail2Forum
Back to top
Chris Hanson
Guest





PostPosted: Fri Sep 01, 2017 4:09 am    Post subject:
LIDAR plugin
Reply with quote

LAZ is a compressed variant of LAS.

Refer to this for how to convert to LAS: https://gis.stackexchange.com/questions/188170/converting-lidar-files-from-laz-to-las-format


On Thu, Aug 31, 2017 at 7:48 PM, Michael W. Hall < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
I have OSG 3.4.0 installed.  I have some LIDAR Data and when is type:

osgviewer <path-to-data> 

I get a message saying that it cannot find a plugin for the data.  The
data has a .laz extension, but it looks like the plugin is looking for
.las extension.  I renamed the files with a .las extension and still
did not work.

Anyone using the LIDAR plugin that can tell me what I am doing wrong? 
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




--
Chris 'Xenon' Hanson, omo sanza lettere. http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Legal/IP • Code Forensics • Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile • iPhone/iPad/iOS • Android
@alphapixel facebook.com/alphapixel (775) 623-PIXL [7495]

------------------
Post generated by Mail2Forum
Back to top
Michael W. Hall
Guest





PostPosted: Fri Sep 01, 2017 11:47 pm    Post subject:
LIDAR plugin
Reply with quote

Thanks for the reply. I have the files converted to .las now.


Still when I do osgviewer Hoboken_001,las I get the same error about no plugin. I have also tried osgviewer -e .las <filename> and not luck either. I can see that the plugin is built.


Here is the actual output:
Warning: Could not find plugin to read objects from file "Hoboken_001.las".


Looks like osgviewer is looking for the plugin but for some reason cannot find it.


On Thu, 2017-08-31 at 22:07 -0600, Chris Hanson wrote:
Quote:
LAZ is a compressed variant of LAS.

Refer to this for how to convert to LAS: https://gis.stackexchange.com/questions/188170/converting-lidar-files-from-laz-to-las-format


On Thu, Aug 31, 2017 at 7:48 PM, Michael W. Hall < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
I have OSG 3.4.0 installed. I have some LIDAR Data and when is type:

osgviewer <path-to-data>

I get a message saying that it cannot find a plugin for the data. The
data has a .laz extension, but it looks like the plugin is looking for
las extension. I renamed the files with a .las extension and still
did not work.

Anyone using the LIDAR plugin that can tell me what I am doing wrong?
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraphorg/listinfo.cgi/osg-users-openscenegraph.org





--
Chris 'Xenon' Hanson, omo sanza lettere. http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Legal/IP • Code Forensics • Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile • iPhone/iPad/iOS • Android
@alphapixel facebook.com/alphapixel (775) 623-PIXL [7495]





Quote:
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


------------------
Post generated by Mail2Forum
Back to top
Michael W. Hall
Guest





PostPosted: Sat Sep 02, 2017 12:41 am    Post subject:
LIDAR plugin
Reply with quote

I saw the pluging building during the build process. What is the name and where would it have been installed? I will double check. I am running Ubuntu.


Thanks.


On Thu, 2017-08-31 at 22:07 -0600, Chris Hanson wrote:
Quote:
LAZ is a compressed variant of LAS.

Refer to this for how to convert to LAS: https://gis.stackexchange.com/questions/188170/converting-lidar-files-from-laz-to-las-format


On Thu, Aug 31, 2017 at 7:48 PM, Michael W. Hall < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
I have OSG 3.4.0 installed. I have some LIDAR Data and when is type:

osgviewer <path-to-data>

I get a message saying that it cannot find a plugin for the data. The
data has a .laz extension, but it looks like the plugin is looking for
las extension. I renamed the files with a .las extension and still
did not work.

Anyone using the LIDAR plugin that can tell me what I am doing wrong?
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraphorg/listinfo.cgi/osg-users-openscenegraph.org





--
Chris 'Xenon' Hanson, omo sanza lettere. http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Legal/IP • Code Forensics • Digital Imaging • GIS • GPS • osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile • iPhone/iPad/iOS • Android
@alphapixel facebook.com/alphapixel (775) 623-PIXL [7495]





Quote:
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


------------------
Post generated by Mail2Forum
Back to top
Chris Hanson
Guest





PostPosted: Sat Sep 02, 2017 3:53 am    Post subject:
LIDAR plugin
Reply with quote

I don't remember what the name would be, but I believe if you turn the OSG Log level all the way up, you'll see progress reports from the osgDB library trying to identify, locate, load and invoke a given plugin for a given file format extension. That might tell you what's going on.

Something like the Linux lsof command light help you monitor the file access and .so loading activity:

https://unix.stackexchange.com/questions/157064/monitoring-files-continuously-with-lsof

------------------
Post generated by Mail2Forum
Back to top
Michael W. Hall
Guest





PostPosted: Fri Sep 08, 2017 12:54 am    Post subject:
LIDAR plugin
Reply with quote

I am looking at the ccmake GUI. I have liblas installed. However I see that there is also a LIBLASC Library listed on the GUI and I do not have that installed. Is this also required for the plugin to build? If so, I will need to find what that is and where to get it.




On Fri, 2017-09-01 at 21:51 -0600, Chris Hanson wrote:
Quote:
I don't remember what the name would be, but I believe if you turn the OSG Log level all the way up, you'll see progress reports from the osgDB library trying to identify, locate, load and invoke a given plugin for a given file format extension. That might tell you what's going on.

Something like the Linux lsof command light help you monitor the file access and .so loading activity:

https://unix.stackexchange.com/questions/157064/monitoring-files-continuously-with-lsof


Quote:
_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


------------------
Post generated by Mail2Forum
Back to top
Chris Hanson
Guest





PostPosted: Fri Sep 08, 2017 3:59 am    Post subject:
LIDAR plugin
Reply with quote

I think it might be just a C-language API to liblas (which is C++):

http://osgeo-org.1560.x6.nabble.com/Liblas-devel-C-API-usage-td4918858.html

​I wouldn't think OSG would even use it, but perhaps the CMake find script is rigged to look for it. I wouldn't expect you would need it.

------------------
Post generated by Mail2Forum
Back to top
Voerman, L.
Guest





PostPosted: Fri Sep 08, 2017 7:59 am    Post subject:
LIDAR plugin
Reply with quote

Hi Michael,the cmake script demands a las_c library - I created a version of OpenSceneGraphCMakeModulesFindLIBLAS.cmake (attached) that skips this demand.

This works just as well on my windows 10/Visual Studio 2015 build, so if you can test it on linux we could ask Robert to merge it. (My linux setup does not have liblas )

Regards, Laurens.


On Fri, Sep 8, 2017 at 5:57 AM, Chris Hanson < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
I think it might be just a C-language API to liblas (which is C++):

http://osgeo-org.1560.x6.nabble.com/Liblas-devel-C-API-usage-td4918858.html

​I wouldn't think OSG would even use it, but perhaps the CMake find script is rigged to look for it. I wouldn't expect you would need it.


_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



------------------
Post generated by Mail2Forum
Back to top
Michael W. Hall
Guest





PostPosted: Sun Sep 10, 2017 12:26 am    Post subject:
LIDAR plugin
Reply with quote

Rebuilding with the cmake script you provided. Will give update when done.


On Fri, 2017-09-08 at 09:57 +0200, Voerman, L. wrote:
Quote:
Hi Michael,the cmake script demands a las_c library - I created a version of OpenSceneGraphCMakeModulesFindLIBLAS.cmake (attached) that skips this demand.

This works just as well on my windows 10/Visual Studio 2015 build, so if you can test it on linux we could ask Robert to merge it. (My linux setup does not have liblas )

Regards, Laurens.


On Fri, Sep 8, 2017 at 5:57 AM, Chris Hanson < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
I think it might be just a C-language API to liblas (which is C++):

http://osgeo-org.1560.x6.nabble.com/Liblas-devel-C-API-usage-td4918858.html

I wouldn't think OSG would even use it, but perhaps the CMake find script is rigged to look for it. I wouldn't expect you would need it.


_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraphorg/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


------------------
Post generated by Mail2Forum
Back to top
Michael W. Hall
Guest





PostPosted: Sun Sep 10, 2017 9:03 pm    Post subject:
LIDAR plugin
Reply with quote

I rebuilt with your FindLIBLAS.cmake file. I had found the LIBLASC library and had already installed it. When I did a ccmake, the LIBLASC was found.


After building, I ran osgViewer and it loaded the plugin. Your FindLIBLAS.cmake file worked on my Ubuntu system. Thanks for the help and thanks for the reply Chris Hanson. I do not believe that the plugin was getting built before. Looks like Robert could put it in.


Thanks,
Michael


On Fri, 2017-09-08 at 09:57 +0200, Voerman, L. wrote:
Quote:
Hi Michael,the cmake script demands a las_c library - I created a version of OpenSceneGraphCMakeModulesFindLIBLAS.cmake (attached) that skips this demand.

This works just as well on my windows 10/Visual Studio 2015 build, so if you can test it on linux we could ask Robert to merge it. (My linux setup does not have liblas )

Regards, Laurens.


On Fri, Sep 8, 2017 at 5:57 AM, Chris Hanson < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
I think it might be just a C-language API to liblas (which is C++):

http://osgeo-org.1560.x6.nabble.com/Liblas-devel-C-API-usage-td4918858.html

I wouldn't think OSG would even use it, but perhaps the CMake find script is rigged to look for it. I wouldn't expect you would need it.


_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraphorg/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


------------------
Post generated by Mail2Forum
Back to top
robertosfield
OSG Project Lead


Joined: 18 Mar 2009
Posts: 11245

PostPosted: Mon Sep 11, 2017 1:44 pm    Post subject:
LIDAR plugin
Reply with quote

Hi Laurens,


Do you want to create a PR for this new FindLIBLAS.cmake?  If not I can manually merge it.


Robert.


On 8 September 2017 at 08:57, Voerman, L. < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
Hi Michael,the cmake script demands a las_c library - I created a version of OpenSceneGraphCMakeModulesFindLIBLAS.cmake (attached) that skips this demand.

This works just as well on my windows 10/Visual Studio 2015 build, so if you can test it on linux we could ask Robert to merge it. (My linux setup does not have liblas )

Regards, Laurens.


On Fri, Sep 8, 2017 at 5:57 AM, Chris Hanson < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:


Quote:
I think it might be just a C-language API to liblas (which is C++):

http://osgeo-org.1560.x6.nabble.com/Liblas-devel-C-API-usage-td4918858.html

​I wouldn't think OSG would even use it, but perhaps the CMake find script is rigged to look for it. I wouldn't expect you would need it.




_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org





_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Voerman, L.
Guest





PostPosted: Tue Sep 12, 2017 7:39 am    Post subject:
LIDAR plugin
Reply with quote

PR created for master. It's a reasonably safe update for the 3.4 tree as well, but I'm not clear on the update policy for the stable branch.
Regards, Laurens.



On Mon, Sep 11, 2017 at 3:33 PM, Robert Osfield < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
Hi Laurens,


Do you want to create a PR for this new FindLIBLAS.cmake?  If not I can manually merge it.


Robert.


On 8 September 2017 at 08:57, Voerman, L. < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
Hi Michael,the cmake script demands a las_c library - I created a version of OpenSceneGraphCMakeModulesFindLIBLAS.cmake (attached) that skips this demand.

This works just as well on my windows 10/Visual Studio 2015 build, so if you can test it on linux we could ask Robert to merge it. (My linux setup does not have liblas )

Regards, Laurens.


On Fri, Sep 8, 2017 at 5:57 AM, Chris Hanson < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:


Quote:
I think it might be just a C-language API to liblas (which is C++):

http://osgeo-org.1560.x6.nabble.com/Liblas-devel-C-API-usage-td4918858.html

​I wouldn't think OSG would even use it, but perhaps the CMake find script is rigged to look for it. I wouldn't expect you would need it.




_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org





_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org







_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



------------------
Post generated by Mail2Forum
Back to top
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts obj plugin does not support diffuse ... Ralf Habacker Submission 0 Tue Nov 14, 2017 4:18 pm View latest post
No new posts Fix for cmake modules for plugin exr robertosfield Submission 1 Tue Nov 14, 2017 10:17 am View latest post
No new posts People currently using the ffmpeg/lib... Chris Hanson General 7 Fri Nov 03, 2017 4:08 pm View latest post
No new posts Make ObjOptionsStruct in obj plugin a... Ralf Habacker Submission 1 Fri Oct 20, 2017 8:31 am View latest post
No new posts Multiple video textures using ffmpeg ... mmaurus Plugins [osgPlugins] 6 Thu Oct 05, 2017 10:02 am View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP