[Qgis-user] PostGIS Raster view in QGIS 2.2?
Dear all, I am wondering i fit is still possible to view a PostGIS RasterLayer in QGIS in an easy way. In the past I used the wktrasterplugin. Unfortunatly it is not supported anymore. Is there any simple way to load a PostGIS raster now in QGIS 2.2? Regards Christian ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] MySQL Layer do not draw with Valmiera/Ubuntugis, but works with Valmiera/Windows
Hi Marco, never tried to mix mysql with QGIS. So now I tried it here on Debian. with me QGIS master crashes (on Debian Testing), but QGIS-2.2 is doing fine. I'll create an issue for the crash. You could for your problem do the same if somebody else can confirm. Regards, Richard Duivenvoorde On 18-06-14 13:13, Marco Manfredini wrote: I've hit into a problem with MySQL Layers when using QGIS-Valmiera from the ubuntugis-stable ppa. Step to reproduce it on my machine: Take any dataset, like this (free, in ESRI Shape Format): www.naturalearthdata.com/download/110m/cultural/ne_110m_admin_0_countries.zip Import to MySQL: $ ogr2ogr -f MySQL MySQL:test,host=192.168.12.34,user=testuser,password=testpassword ne_110m_admin_0_countries.shp -update -overwrite -lco ENGINE=MyISAM Now I can easily open the resulting layer as a database vector layer, when I'm using the stand-alone QGIS Valmiera for Windows fetched from the official QGIS Site (Windows 7/amd64). But - When I'm on Ubuntu 12.04, then QGIS Valmiea from the ubuntugis-stable ppa does this: I add the layer from mysql - nothing is drawn to the map. The attribute table is populated with correct values. Zooming to the layer's extend gives me correct values. The invisible layer can be exported using Layer|Save As.. (for example as GeoJSON) The GeoJSON can be added again to the map and the GeoJSON layer displays correctly. When I turn the the GeoJSON layer off now, then (in half of the cases) the MySQL layer suddenly draws correctly and keeps drawing as expected until I terminate the program. However, when I save the map and load it into a new QGIS session, then the MySQL layer is dead again. Any ideas? This is a bit frustrating. - Marco $ uname -a Linux oblomow 3.8.0-42-generic #62~precise1-Ubuntu SMP Wed Jun 4 22:04:18 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Stuff from Help|About: QGIS-Version2.2.0-ValmieraQGIS-Codeversionexported Kompiliert gegen Qt4.8.1Laufendes Qt4.8.2 Kompiliert mit GDAL/OGR1.10.0Läuft mit GDAL/OGR1.10.0 Kompiliert mit GEOS3.3.8-CAPI-1.7.8Läuft mit GEOS 3.3.8-CAPI-1.7.8 PostgreSQL-Client-Version9.1.11SpatiaLite-Version4.1.0 QWT-Version5.2.2PROJ.4-Version480 QScintilla2-Version ___ 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] MySQL Layer do not draw with Valmiera/Ubuntugis, but works with Valmiera/Windows
On 18.06.2014 14:12, Richard Duivenvoorde wrote: Hi Marco, never tried to mix mysql with QGIS. So now I tried it here on Debian. with me QGIS master crashes (on Debian Testing), but QGIS-2.2 is doing fine. I'll create an issue for the crash. You could for your problem do the same if somebody else can confirm. I can reproduce the problem on a second machine, running an independent installation of qgis-valmiera, mysql-5.5 und Ubuntu 12.04.4. Let's see if someone else can do this. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] [QGIS Mapserver] problems with QgsProjectSettings request results using QGIS 2.4
Before spending time investigating this issue I would like to know if others are having problems using the QgsProjectSettings request with QGIS 2.4 I'm doing some tests on master code (both QWC and QGIS). Setting the QWC useGetProjectSettings to true I the response parsing seems to do not grab the right informations. The GetMap following the parsgin phase has the GET layers parameter empty. I've also noticed that in previous versions of QGIS Mapserver the LayerDrawingOrder element inside the QgsProjectSettings was populated, while now it's empty. Using the normal WMS GetCapabilities QWC works fine. giovanni -- Giovanni Allegri http://about.me/giovanniallegri Twitter: https://twitter.com/_giohappy_ blog: http://blog.spaziogis.it GEO+ geomatica in Italia http://bit.ly/GEOplus ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] [QGIS Mapserver] problems with QgsProjectSettings request results using QGIS 2.4
I'm doing some tests on master code (both QWC and QGIS). Setting the QWC useGetProjectSettings to true I the response parsing seems to do not grab the right informations. The GetMap following the parsgin phase has the GET layers parameter empty. I forgot to say that the result from the server contains the layers elements, so the problem seems to be on the QWC side, and specifically in the QGIS.WMSCapabilitiesLoader component. I've also noticed that in previous versions of QGIS Mapserver the LayerDrawingOrder element inside the QgsProjectSettings was populated, while now it's empty. Contrarily this affect QGIS Server. giovanni -- Giovanni Allegri http://about.me/giovanniallegri Twitter: https://twitter.com/_giohappy_ blog: http://blog.spaziogis.it GEO+ geomatica in Italia http://bit.ly/GEOplus -- Giovanni Allegri http://about.me/giovanniallegri Twitter: https://twitter.com/_giohappy_ blog: http://blog.spaziogis.it GEO+ geomatica in Italia http://bit.ly/GEOplus ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] pyQGIS : read attributes with qgis 2.2?
Hello, I 'm writing a pyqgis script. I succeed in adding vector to the map. But now i would like display and accessing to fields and attributes table. COuld you how to do that please? Thanks. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/pyQGIS-read-attributes-with-qgis-2-2-tp5146541.html 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
Re: [Qgis-user] pyQGIS : read attributes with qgis 2.2?
On 18-06-14 16:41, dandrigo wrote: Hello, I 'm writing a pyqgis script. I succeed in adding vector to the map. But now i would like display and accessing to fields and attributes table. COuld you how to do that please? Not sure what you exactly mean, but there is no answer to you question in the pyqgis_developer_cookbook? http://docs.qgis.org/2.2/en/docs/pyqgis_developer_cookbook/vector.html other option is to download a plugin which has similar functionality and have a look into the code of the plugin Regards, Richard Duivenvoorde ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] pyQGIS : read attributes with qgis 2.2?
Thanks, I would like back up attributes data. I tried to do thanks to following piece of code : - provider = layer.dataProvider() layer.select(provider.attributeIndexes()) for f in layer.getFeatures(): print f['nom','reference','id_espace','table_espace','id_utilisateur'] --- But when i run the python extension, i can display the layer. But i can't see the attribut table yet...;-( -- View this message in context: http://osgeo-org.1560.x6.nabble.com/pyQGIS-read-attributes-with-qgis-2-2-tp5146541p5146548.html 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] Extract Projection Hangs
Dear all, I am working in QGIS 2.2.0 downloaded via OSgeo4w and am trying to extract projection information for png and tif files using the gdal tool Raster Projections Extract Projections. The tool hangs without creating the world or prj files, but gives no error message. It does this in both single file and batch file mode with no files created. I have used this tool in the past (February using QGIS 2.1) without issue on this computer in both batch and single file mode. I have tried it on png files that I know worked in the previous processing round to no avail. Is anyone able to suggest where to begin troubleshooting this problem? Thanks for reading! Rebecca ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] FW: PostGIS Raster view in QGIS 2.2?
Dear Paolo, thankx for the help. Then something is wrong with my Installation because that was not working at all. I'll keep on trying. Regards Christian Christian Hickel +49 6151 16-2447 hic...@geod.tu-darmstadt.de http://tinyurl.com/32abubx -Original Message- From: qgis-user-boun...@lists.osgeo.org [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Paolo Cavallini Sent: Wednesday, June 18, 2014 5:43 PM To: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] PostGIS Raster view in QGIS 2.2? Il 18/06/2014 13:20, Christian Hickel ha scritto: I am wondering i fit is still possible to view a PostGIS RasterLayer in QGIS in an easy way. In the past I used the wktrasterplugin. Unfortunatly it is not supported anymore. Is there any simple way to load a PostGIS raster now in QGIS 2.2? Once loaded in PG, you can drop it to the canvas from DB Manager. All the best. -- Paolo Cavallini - www.faunalia.eu QGIS PostGIS courses: http://www.faunalia.eu/training.html ___ 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] Extract Projection Hangs
Am 18.06.2014 18:16, schrieb Rebecca Bennett: Dear all, I am working in QGIS 2.2.0 downloaded via OSgeo4w and am trying to extract projection information for png and tif files using the gdal tool Raster Projections Extract Projections. The tool hangs without creating the world or prj files, but gives no error message. It does this in both single file and batch file mode with no files created. In the OSGEO4W Shell, have you tried gdalsrsinfo on the files? http://www.gdal.org/gdalsrsinfo.html This could give you an error message that is maybe supressed by QGIS. HTH, André Joost ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] pyQGIS : read attributes with qgis 2.2?
On 18-06-14 16:58, dandrigo wrote: Thanks, I would like back up attributes data. I tried to do thanks to following piece of code : - provider = layer.dataProvider() layer.select(provider.attributeIndexes()) for f in layer.getFeatures(): print f['nom','reference','id_espace','table_espace','id_utilisateur'] --- But when i run the python extension, i can display the layer. But i can't see the attribut table yet...;-( from: http://docs.qgis.org/2.2/en/docs/pyqgis_developer_cookbook/vector.html attrs = f.attributes() # attrs is a list. It contains all the attribute values of this feature # Attributes can be refered by index. idx = layer.fieldNameIndex('name') print feature.attributes()[idx] # an alternative: print f['name'] more info: http://nathanw.net/2013/06/13/new-qgis-20-api/ Regards, Richard ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Asking for NDVI_Landsat 8
Dear QGIS users, I wanted to consult on the calculation of NDVI with Landsat 8. I Download a USGS Landsat image 8, so I have all the bands that make up the image. The question is: should I perform a merge with the bands 4 and 5 and then calculate the NDVI with the raster calculator? How should I do it? Of course, thank you very much! ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] FW: PostGIS Raster view in QGIS 2.2?
DB Manager works, sometimes. A few of use are trying to find a repeatable case of what does and what does not work. It seems more dependent on exactly how the layer is imported into Postgis rather than what system you are on. Thanks, Alex On 06/18/2014 09:21 AM, Christian Hickel wrote: Dear Paolo, thankx for the help. Then something is wrong with my Installation because that was not working at all. I'll keep on trying. Regards Christian Christian Hickel +49 6151 16-2447 hic...@geod.tu-darmstadt.de http://tinyurl.com/32abubx -Original Message- From: qgis-user-boun...@lists.osgeo.org [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Paolo Cavallini Sent: Wednesday, June 18, 2014 5:43 PM To: qgis-user@lists.osgeo.org Subject: Re: [Qgis-user] PostGIS Raster view in QGIS 2.2? Il 18/06/2014 13:20, Christian Hickel ha scritto: I am wondering i fit is still possible to view a PostGIS RasterLayer in QGIS in an easy way. In the past I used the wktrasterplugin. Unfortunatly it is not supported anymore. Is there any simple way to load a PostGIS raster now in QGIS 2.2? Once loaded in PG, you can drop it to the canvas from DB Manager. All the best. -- Paolo Cavallini - www.faunalia.eu QGIS PostGIS courses: http://www.faunalia.eu/training.html ___ 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] OpenSource software for Drones
Hi, We are looking into possibilities to start flying with drones. Has anyone on the list any knowledge /experience in OpenSorce software for this purpose? Regards Lene Fischer Associate Professor Faculty of Science University of Copenhagen MOB +45 40115084 l...@ign.ku.dk ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] QGIS to OL3 plugin
Hi all, I have been working in a plugin to convert a QGIS project into an OL3 map, and I am happy to announce that it is now available for testing. It has many points in common with the QGIS2Leaflet plugin, although the approach is a bit different. It is based on templates, so I expect that with the help of people with expertise in OL3, we will be able to increase the functionality, and make it easier to use OL3, whether for simple projects or for more complex ones. For now, only a basic template is provided. To download and test it, and to see a full list of capabilities, go to the github repo at: github.com/volaya/qgis-ol3 There is still plenty to do, and ideas and feedback are welcome Cheers ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] OpenSource software for Drones
On 06/18/2014 02:01 PM, Lene Fischer wrote: Hi, We are looking into possibilities to start flying with drones. Has anyone on the list any knowledge /experience in OpenSorce software for this purpose? Regards Lene Fischer Associate Professor Faculty of Science University of Copenhagen I haven't used it myself yet (still using Kites) but have been keeping an eye on Arduino based autopilot https://code.google.com/p/arducopter/ Enjoy, Alex ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] OpenSource software for Drones
Lene, Similar to Alex's answer, a good source of information is http://diydrones.com/, with links to Arducopter (APM) for actually flying the drone, and Mission Planner for managing and configuring APM. I've been trying to find a good Open Source stack for processing drone-acquired imagery; so far I've settled in MicMac ( http://logiciels.ign.fr/?-Micmac,3-) from IGN (France), but the learning curve is steep and long Best Regards, Brent Fraser On 6/18/2014 3:01 PM, Lene Fischer wrote: Hi, We are looking into possibilities to start flying with drones. Has anyone on the list any knowledge /experience in OpenSorce software for this purpose? Regards Lene Fischer Associate Professor Faculty of Science University of Copenhagen MOB +45 40115084 l...@ign.ku.dk ___ 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] 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: http://osgeo-org.1560.x6.nabble.com/OpenSource-software-for-Drones-tp5146615p5146635.html 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
Re: [Qgis-user] QGIS to OL3 plugin
Il 18/06/2014 23:22, Victor Olaya ha scritto: To download and test it, and to see a full list of capabilities, go to the github repo at: github.com/volaya/qgis-ol3 http://github.com/volaya/qgis-ol3 Hola Victor, thanks for this. Why not publishing it straight away, as experimental if you feel like? All the best. -- Paolo Cavallini - www.faunalia.eu Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user