Re: [Qgis-user] OpenSource software for Drones
FYI, I am just in the process of completing an introductory tutorial on MicMac including orthorectified imaging. At the moment it is all in French, I will translate it to English as soon as this initial draft is proofread by some friends (ongoing work so the included images have not yet been shrunk to a manageable size ... huge PDF document at the moment). In the mean time you can have a look at the pictures to see what topic will be addressed: http://jmfriedt.free.fr/lm_sfm.pdf The topic of UAV is addressed with some images acquired from a toy and processed using MicMac (p.13 of my document). MicMac is absolutely fascinating and well worth the time: I have only been involved for the last couple of months but can't stop acquiring pictures for SfM everywhere I go now. Any French speaking reader on this list who might have some comment on the document is welcome to do so. JM - Mail original - De: Brent Fraser bfra...@geoanalytic.com À: Lene Fischer l...@ign.ku.dk, qgis-user@lists.osgeo.org Envoyé: Vendredi 20 Juin 2014 15:32:41 Objet: Re: [Qgis-user] OpenSource software for Drones Lene, While I had been following DIY UAV effort for may years, I just seriously started about 18 months ago. My goal was to be able to reliably provide ortho-rectified high resolution imagery. Here are some of things I've learned: 1. It is possible to buy some off-the-shelf systems (e.g. www.aeryon.com/products/avs/aeryon-scout.html ) but they can cost $20K to $60k and are not open (on the other hand, they are very reliable). 3DR (the commercial store for DiyDrones) has cost-effective, open systems. They just released their Iris/Pixhawk systems. 2. The DIY Drones ecosystem is mostly populated with people who just want to build, fly, and experiment with their own UAV platforms (frame, powertrain and flight controller), but there a few people interested in acquiring and processing UAV imagery as well. Personally, I look at a UAV as [just] a camera positioning system ;) 3. Most of the software development effort in UAV image processing comes from the computer vision space (e.g OpenCV). Google structure from motion for more info on that type of processing chain. I'm unsure if that method pays enough attention to rigorous image geometry to produce accurate ortho-rectified imagery. Maybe; at any rate I want DEMs and geotiffs as an end result (I think) and that chain tends to produce non-georeferenced 3D models. And if you've got a few hours to burn reading current research, google UAV SLAM... 5. MicMac ( http://logiciels.ign.fr/?-Micmac,3- ) seems to use photogrammetric principles, is set up to use UAV imagery, and is Open Source, but as I mentioned before the learning curve is steep. Their user forum ( http://forum-micmac.forumprod.com/ ) has links to the user doc (280 page PDF!) and some sample data to work thru the examples in the user doc. Another possibility is OSSIM/OTB, and while their algorithms are excellent, I don't think the software is set up to deal with hundreds of images (bundle adjustment, etc), and it doesn't produce DEMs (yet). 6. Lots of R D to be done yet. For example, using RTK/Post-processing to calculate accurate camera centers (so no ground control points necessary). Some models of the cheap UBLOX GPS receivers can generate pseudo-range info, so RTKLib is a possibility. Good Luck! Best Regards, Brent Fraser On 6/19/2014 9:29 AM, Lene Fischer wrote: Thanks for all the good links – I´ll now have something to look into Regards Lene Fischer Associate Professor Department of Geosciences and Natural Resource Management University of Copenhagen MOB +45 40115084 l...@ign.ku.dk SCIENCE_bomaerke_UK Fra: qgis-user-boun...@lists.osgeo.org [ mailto:qgis-user-boun...@lists.osgeo.org ] På vegne af Stefan Sylla Sendt: 19. juni 2014 04:39 Til: qgis-user@lists.osgeo.org Emne: Re: [Qgis-user] OpenSource software for Drones Even though its not QGIS-related, but check this out: http://wiki.paparazziuav.org/wiki/Main_Page View this message in context: Re: OpenSource software for Drones Sent from the Quantum GIS - User mailing list archive at Nabble.com. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] delimited text point cloud color attribute ?
I am sure this is a trivial question by I am unable to locate the solution on the web after a couple of days of searching : I have a point cloud defined with coordinates and RGB color attributes, ie a file with XYZR G B 508.71444702 255.17164612 316.63302612 254 254 254 508.85519409 255.27404785 316.73541260 254 254 254 508.86724854 255.21253967 316.71292114 252 254 254 508.92807007 255.21278381 316.73757935 247 251 253 I can load this file using the Add Delimited Text Layer tool, and at the moment I use the Z elevation attribute to color my point cloud in QGis (Properties - Graduated in Symbol option and Column = Z). I would like now each point to be colored by the RGB attribute: how can I do this ? I know this is trivial for raster layers, but I cannot find the solution for a vector layer. Thanks, Jean-Michel ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] QGIS-Server write log on stdoutput ?
Hi, Our qgis-server is crashing on a project . This is quite strange because on the same project on a qi-desktop (on another machine) it run without any problem. And also the qgis-server run without any problem with another different project. I try to read from the log of server web to see any useful information but the log none report of qgis. The web server ,og come from the stdout so perhaps there is some specific setting to say to QS to output to stdout log ? Thx, -- - Andrea Peri . . . . . . . . . qwerty àèìòù - ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] QGIS-Server write log on stdoutput ?
Hi Andrea, You can set the QGIS_LOG_FILE environment variable to have the qgis_mapserv.fcgi process log to a file. It needs to be set within the server process environment (if it has a loadable FCGI module) or within the FCGI-spawning process environment, e.g. uWSGI or spawn-fcgi. For Apache: IfModule mod_fastcgi.c (or mod_fcgid.c) ... SetEnv QGIS_LOG_FILE /path/to/qgis_server.log /IfModule Of course, the log needs to be writable by your Apache or FCGI-spawning process user. NOTE: if using latest master builds (or upcoming 2.4 release), the env var is now QGIS_SERVER_LOG_FILE, with the new env var QGIS_SERVER_LOG_LEVEL to define verbose level [0,1]. I haven't tested this, but the amount of debug output is usually relative to the CMake build type, e.g. Release vs. RelWithDebInfo or Debug, like is the case for the QGIS desktop output. Pretty sure that is always a compile-time choice, and can't be be overridden at run-time. Your qgis_mapserv.fcgi binary may need to be (re)built as RelWithDebInfo or Debug to trigger enough output to debug your issue. [0] https://github.com/qgis/QGIS/commit/29c39b9f0209ddedd0d51eda1dc926e6e0f2ea9e [1] https://github.com/qgis/QGIS/commit/bdf1ac8d46d89869e58884c5f55ff711a1f5f76d Regards, Larry Shaffer Dakota Cartography Black Hills, South Dakota On Sat, Jun 21, 2014 at 9:25 AM, Andrea Peri aperi2...@gmail.com wrote: Hi, Our qgis-server is crashing on a project . This is quite strange because on the same project on a qi-desktop (on another machine) it run without any problem. And also the qgis-server run without any problem with another different project. I try to read from the log of server web to see any useful information but the log none report of qgis. The web server ,og come from the stdout so perhaps there is some specific setting to say to QS to output to stdout log ? Thx, -- - Andrea Peri . . . . . . . . . qwerty àèìòù - ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] QGIS-Server write log on stdoutput ?
Hi, Larry. Thx for hint. I set the two variables and the log file is create. :) But unfortunately it is absolutely empty. :( It seem the qgis-server will crash quite istantaneously. As I report before , I Guess this is something due to the qgis project because another project will work without any problem. So I set a local environment and run the qgis-server from a shell with a gdb debug to see effectively what it send to stdout. This is what it report: ... [Thread debugging using libthread_db enabled] Using host libthread_db library /lib/x86_64-linux-gnu/libthread_db.so.1. Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable. Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable. Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment variable. Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable. Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment variable. [New Thread 0x7fffe307c700 (LWP 823)] [New Thread 0x7fffe27ea700 (LWP 824)] Program received signal SIGSEGV, Segmentation fault. 0x70e50421 in __dynamic_cast () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (gdb) .. I see the version my linux run is the libstdc++.so.6 (libc6,x86-64) = /usr/lib/x86_64-linux-gnu/libstdc++.so.6 There is some know issue of qgis-server with the libstdc++.so.6 ? 2014-06-21 20:53 GMT+02:00 Larry Shaffer lar...@dakotacarto.com: Hi Andrea, You can set the QGIS_LOG_FILE environment variable to have the qgis_mapserv.fcgi process log to a file. It needs to be set within the server process environment (if it has a loadable FCGI module) or within the FCGI-spawning process environment, e.g. uWSGI or spawn-fcgi. For Apache: IfModule mod_fastcgi.c (or mod_fcgid.c) ... SetEnv QGIS_LOG_FILE /path/to/qgis_server.log /IfModule Of course, the log needs to be writable by your Apache or FCGI-spawning process user. NOTE: if using latest master builds (or upcoming 2.4 release), the env var is now QGIS_SERVER_LOG_FILE, with the new env var QGIS_SERVER_LOG_LEVEL to define verbose level [0,1]. I haven't tested this, but the amount of debug output is usually relative to the CMake build type, e.g. Release vs. RelWithDebInfo or Debug, like is the case for the QGIS desktop output. Pretty sure that is always a compile-time choice, and can't be be overridden at run-time. Your qgis_mapserv.fcgi binary may need to be (re)built as RelWithDebInfo or Debug to trigger enough output to debug your issue. [0] https://github.com/qgis/QGIS/commit/29c39b9f0209ddedd0d51eda1dc926e6e0f2ea9e [1] https://github.com/qgis/QGIS/commit/bdf1ac8d46d89869e58884c5f55ff711a1f5f76d Regards, Larry Shaffer Dakota Cartography Black Hills, South Dakota On Sat, Jun 21, 2014 at 9:25 AM, Andrea Peri aperi2...@gmail.com wrote: Hi, Our qgis-server is crashing on a project . This is quite strange because on the same project on a qi-desktop (on another machine) it run without any problem. And also the qgis-server run without any problem with another different project. I try to read from the log of server web to see any useful information but the log none report of qgis. The web server ,og come from the stdout so perhaps there is some specific setting to say to QS to output to stdout log ? Thx, -- - Andrea Peri . . . . . . . . . qwerty àèìòù - ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- - Andrea Peri . . . . . . . . . qwerty àèìòù - ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] QGIS-Server write log on stdoutput ?
Hi Andrea, I suggest posting this to the dev list and asking Marco Hugentobler for assistance. I personally do not know enough about threading on Linux to help with that issue. Sorry. You could also create an issue ticket and assign to Marco, though posting to the dev list should probably be the first step. On a side note: is the log file populated with output when running the server with the OK project file? Regards, Larry Shaffer Dakota Cartography Black Hills, South Dakota On Sat, Jun 21, 2014 at 1:36 PM, Andrea Peri aperi2...@gmail.com wrote: Hi, Larry. Thx for hint. I set the two variables and the log file is create. :) But unfortunately it is absolutely empty. :( It seem the qgis-server will crash quite istantaneously. As I report before , I Guess this is something due to the qgis project because another project will work without any problem. So I set a local environment and run the qgis-server from a shell with a gdb debug to see effectively what it send to stdout. This is what it report: ... [Thread debugging using libthread_db enabled] Using host libthread_db library /lib/x86_64-linux-gnu/libthread_db.so.1. Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable. Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable. Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment variable. Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable. Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment variable. [New Thread 0x7fffe307c700 (LWP 823)] [New Thread 0x7fffe27ea700 (LWP 824)] Program received signal SIGSEGV, Segmentation fault. 0x70e50421 in __dynamic_cast () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (gdb) .. I see the version my linux run is the libstdc++.so.6 (libc6,x86-64) = /usr/lib/x86_64-linux-gnu/libstdc++.so.6 There is some know issue of qgis-server with the libstdc++.so.6 ? 2014-06-21 20:53 GMT+02:00 Larry Shaffer lar...@dakotacarto.com: Hi Andrea, You can set the QGIS_LOG_FILE environment variable to have the qgis_mapserv.fcgi process log to a file. It needs to be set within the server process environment (if it has a loadable FCGI module) or within the FCGI-spawning process environment, e.g. uWSGI or spawn-fcgi. For Apache: IfModule mod_fastcgi.c (or mod_fcgid.c) ... SetEnv QGIS_LOG_FILE /path/to/qgis_server.log /IfModule Of course, the log needs to be writable by your Apache or FCGI-spawning process user. NOTE: if using latest master builds (or upcoming 2.4 release), the env var is now QGIS_SERVER_LOG_FILE, with the new env var QGIS_SERVER_LOG_LEVEL to define verbose level [0,1]. I haven't tested this, but the amount of debug output is usually relative to the CMake build type, e.g. Release vs. RelWithDebInfo or Debug, like is the case for the QGIS desktop output. Pretty sure that is always a compile-time choice, and can't be be overridden at run-time. Your qgis_mapserv.fcgi binary may need to be (re)built as RelWithDebInfo or Debug to trigger enough output to debug your issue. [0] https://github.com/qgis/QGIS/commit/29c39b9f0209ddedd0d51eda1dc926e6e0f2ea9e [1] https://github.com/qgis/QGIS/commit/bdf1ac8d46d89869e58884c5f55ff711a1f5f76d Regards, Larry Shaffer Dakota Cartography Black Hills, South Dakota On Sat, Jun 21, 2014 at 9:25 AM, Andrea Peri aperi2...@gmail.com wrote: Hi, Our qgis-server is crashing on a project . This is quite strange because on the same project on a qi-desktop (on another machine) it run without any problem. And also the qgis-server run without any problem with another different project. I try to read from the log of server web to see any useful information but the log none report of qgis. The web server ,og come from the stdout so perhaps there is some specific setting to say to QS to output to stdout log ? Thx, -- - Andrea Peri . . . . . . . . . qwerty àèìòù - ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- - Andrea Peri . . . . . . . . . qwerty àèìòù - ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] QGIS-Server write log on stdoutput ?
Hi Larry, Thx . You have reason. Initially I guess the problem was easyly a configuration question,but perhaps there other question. I send the mail to Dev List. Thx. 2014-06-21 21:50 GMT+02:00 Larry Shaffer lar...@dakotacarto.com: Hi Andrea, I suggest posting this to the dev list and asking Marco Hugentobler for assistance. I personally do not know enough about threading on Linux to help with that issue. Sorry. You could also create an issue ticket and assign to Marco, though posting to the dev list should probably be the first step. On a side note: is the log file populated with output when running the server with the OK project file? Regards, Larry Shaffer Dakota Cartography Black Hills, South Dakota On Sat, Jun 21, 2014 at 1:36 PM, Andrea Peri aperi2...@gmail.com wrote: Hi, Larry. Thx for hint. I set the two variables and the log file is create. :) But unfortunately it is absolutely empty. :( It seem the qgis-server will crash quite istantaneously. As I report before , I Guess this is something due to the qgis project because another project will work without any problem. So I set a local environment and run the qgis-server from a shell with a gdb debug to see effectively what it send to stdout. This is what it report: ... [Thread debugging using libthread_db enabled] Using host libthread_db library /lib/x86_64-linux-gnu/libthread_db.so.1. Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable. Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable. Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment variable. Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable. Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment variable. [New Thread 0x7fffe307c700 (LWP 823)] [New Thread 0x7fffe27ea700 (LWP 824)] Program received signal SIGSEGV, Segmentation fault. 0x70e50421 in __dynamic_cast () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (gdb) .. I see the version my linux run is the libstdc++.so.6 (libc6,x86-64) = /usr/lib/x86_64-linux-gnu/libstdc++.so.6 There is some know issue of qgis-server with the libstdc++.so.6 ? 2014-06-21 20:53 GMT+02:00 Larry Shaffer lar...@dakotacarto.com: Hi Andrea, You can set the QGIS_LOG_FILE environment variable to have the qgis_mapserv.fcgi process log to a file. It needs to be set within the server process environment (if it has a loadable FCGI module) or within the FCGI-spawning process environment, e.g. uWSGI or spawn-fcgi. For Apache: IfModule mod_fastcgi.c (or mod_fcgid.c) ... SetEnv QGIS_LOG_FILE /path/to/qgis_server.log /IfModule Of course, the log needs to be writable by your Apache or FCGI-spawning process user. NOTE: if using latest master builds (or upcoming 2.4 release), the env var is now QGIS_SERVER_LOG_FILE, with the new env var QGIS_SERVER_LOG_LEVEL to define verbose level [0,1]. I haven't tested this, but the amount of debug output is usually relative to the CMake build type, e.g. Release vs. RelWithDebInfo or Debug, like is the case for the QGIS desktop output. Pretty sure that is always a compile-time choice, and can't be be overridden at run-time. Your qgis_mapserv.fcgi binary may need to be (re)built as RelWithDebInfo or Debug to trigger enough output to debug your issue. [0] https://github.com/qgis/QGIS/commit/29c39b9f0209ddedd0d51eda1dc926e6e0f2ea9e [1] https://github.com/qgis/QGIS/commit/bdf1ac8d46d89869e58884c5f55ff711a1f5f76d Regards, Larry Shaffer Dakota Cartography Black Hills, South Dakota On Sat, Jun 21, 2014 at 9:25 AM, Andrea Peri aperi2...@gmail.com wrote: Hi, Our qgis-server is crashing on a project . This is quite strange because on the same project on a qi-desktop (on another machine) it run without any problem. And also the qgis-server run without any problem with another different project. I try to read from the log of server web to see any useful information but the log none report of qgis. The web server ,og come from the stdout so perhaps there is some specific setting to say to QS to output to stdout log ? Thx, -- - Andrea Peri . . . . . . . . . qwerty àèìòù - ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- - Andrea Peri . . . . . . . . . qwerty àèìòù - -- - Andrea Peri . . . . . . . . . qwerty àèìòù - ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user