Re: [Qgis-developer] Are there convenience functions to do bilinear or cubic raster sampling?
Hi Denis, That looks extremely useful. Thanks a lot! I will try it as soon as possible. Best wishes Anita On Jun 25, 2014 7:23 AM, Denis Rouzaud denis.rouz...@gmail.com wrote: Hi Anita, I don't know if it can be useful, but you'll find the python code here to do interpolation (nearest, linear, bicubic) on single points: https://github.com/3nids/rasterinterpolation/blob/master/core/ rasterinterpolator.py Cheers, Denis On 24.06.2014 19:32, Anita Graser wrote: Thanks everyone for your answers! On Tue, Jun 24, 2014 at 12:31 PM, Denis Rouzaud denis.rouz...@gmail.com wrote: But, you can have such functionality through processing or via plugins (e.g. Raster Interpolation). True, but I would like to expand my profile from line script with these interpolation methods so using other tools is not really an option. Anyway, that would be an idea to bring such functionality in core! On Tue, Jun 24, 2014 at 7:46 AM, Martin Dobias wonder...@gmail.com wrote: There are QgsBilinearRasterResampler and QgsCubicRasterResampler classes for bilinear/cubic resampling used for raster rendering. As of now they operate only on the whole raster image, not with individual points. Exactly, something like those raster classes but working on individual points would be great to have in core and in the python API. Do you think this is a lot of work or is the raster code reusable? Should I open feature requests for this? Best wishes, Anita ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] QGIS Crash - Serious problem in 2x
Hi Am 24.06.2014 17:37, schrieb AntonioLocandro: My two cents, just add/leave the possibility to add a scale bar in m, km, Nm, whatever unit. Let the user decide if it's right or wrong. +1 A simple and effective solution is to provide a message stating that scale bars in other units than degrees are not accurate or something along that line, mainly just as a reminder for people that may forget the data is unprojected when in composer if a scale bar is accurate or not depends on the projection and size of area (and unit if unit != degree and projection = EPSG:4326 (and maybe some others)), so the scalebar may (almost) _always_ be suitable or not so this message must be always visible. Bernhard __ Information from ESET Mail Security, version of virus signature database 9997 (20140625) __ The message was checked by ESET Mail Security. http://www.eset.com ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] QGIS Crash - Serious problem in 2x
Hi Nyall, thanks for clarification! However I would say that even if using a projected coordinate system (map units m) scalebars are not neccessarily accurate all over the map: if your map covers a small area this may hold true but not if you look at continents. Bernhard Am 25.06.2014 00:13, schrieb Nyall Dawson: On 25 June 2014 01:20, Bernhard Ströbl bernhard.stro...@jena.de wrote: It does also matter in degrees, depending on the projection. same in meters: 1 cm on the map represents always a certain distance in reality (though this distance varies troughout the map depending on the projection and the area covered). If you look at the Lambert map, you realize that the distance between two parallels (10 degrees!) increases towards the pole, although in reality it is always (10*110km =) 1100 km. In the WGS84 map the distance between the parallels is constant but so is the distance between the meridians, but this is false as the distance gets less towards the pole in reality. So a scalebar (in m) being accurate in the middle of the map becomes less accurate towards the edges. Hence my question on which base the scalebar is calculated. The question absolutely makes sense but I don't know the answer :) Could you check? or whom would we have to ask? It's calculated this way: If you're working in a projected coordinate system (ie, map units are metres): - Take the current extent of the map, calculate the width (x max - x min), divide this by the width on paper of the map If you're working in a geographic coordinate system (ie, map units are degrees): - Convert the width of the map (map's extent x max - x min) from degrees to metres, using a variant of the Haversine formula, and treating the current latitude as the MIDDLE LATITUDE from the map's extent - Convert this distance to a scale by dividing by the width on paper of the map So, yes, scalebars using m/km/miles/etc are only an approximation when map units are degrees, and are very inaccurate when used with maps covering a large area or for areas far from the equator. Nyall __ Information from ESET Mail Security, version of virus signature database 9997 (20140625) __ The message was checked by ESET Mail Security. http://www.eset.com ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] qgis-server and troubles using jpeg as output format
thx, Larry, your link is really useful for me. Infact reading it I see that I was searching the plugns in wrong paths. :) So I set the right path in the environment var. export QT_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/qt4/plugins Also I check that in plugin there is available che jpeg library. but still the map is not generate in jpeg format. Now I'm investigating to see if there is a problem of plugins version. Infact I read that qt is really sensible to the exact version of plugins. Andrea. 2014-06-25 1:30 GMT+02:00 Larry Shaffer lar...@dakotacarto.com: Hi Andrea, On Tue, Jun 24, 2014 at 3:21 PM, Andrea Peri aperi2...@gmail.com wrote: Hi Larry, thx for hints, I never suppose the jpeg was due to a plugin. I check the existence of libjpeg, but never seen for a plugin folder because I'm running only the qgis-server without any desktop capability. Now searching for this plugin folder, effectively I see a broken symbolic link in the /usr/share/qt4/plugins forward a ../../lib/qt4/plugins It seem like if I'm not install something :/ Not sure what might be missing (or what Debian and Qt versions you are using), but it seems the image format plugins are part of the QtGui package install [0]. [0] https://packages.debian.org/wheezy/amd64/libqtgui4/filelist Regards, Larry I choose to install many libs from debian repos also these two: pyqt4-dev-tools, python-qt4-dev Perhaps I miss something other lib, but I guess this should be report by the cmake routines. Perhaps a missing check in the cmake ? Now I need to understand what library is missing. Unfortunately I'm not so skill with qt libs. there is somewhere a list of all the need libraries ? Thx, Andrea. 2014-06-24 21:46 GMT+02:00 Larry Shaffer lar...@dakotacarto.com: Hi Andrea, It sounds to me like your Qt, when loaded by qgis_mapserv.fcgi, is not correctly finding the 'plugins' directory, specifically its 'imageformats' subdirectory. If that machine also runs QGIS Desktop, you can verify your Qt install has the image plugins by launching QGIS and checking the Providers section in the About QGIS dialog. Since Qt has native, built-in support for PNG, it should always be able to render a WMS request to PNG. If Qt can not load the Qt JPEG image format plugin, then JPEG will not be rendered. Just guessing, but you may try setting the env variable QT_PLUGIN_PATH in the FCGI environment to help Qt find the plugins directory [0]. If the imageformats subdirectory is missing some plugins, then there is something funky/missing with your Qt install. [0] http://qt-project.org/doc/qt-4.8/deployment-plugins.html Regards, Larry On Tue, Jun 24, 2014 at 7:26 AM, Andrea Peri aperi2...@gmail.com wrote: Hi, I do some tests. Using a shell environment to see any error returned. I see using the FORMAT=image/png the image is correctly returned. Instead using the FORMAT=image/jpeg the image is not returned. But no crash at all. Simply the qgis-server request will end returning nothing. Also using a debug session no error reported. Only apparently return nothing. A. 2014-06-24 14:31 GMT+02:00 Andrea Peri aperi2...@gmail.com: Hi, I'm having some trouble with qgis-server and the output in jpeg format. The request getmap using the jpeg format as not response at all. I try on two distinct debian machine but the result is the same. So I guess the most probable theory is the lack of a library or a library too early on Debian stable distro'. So I like to know what is the used jpeg library and if there is a minimal version for the jpeg library used. Thx -- - Andrea Peri . . . . . . . . . qwerty àèìòù - -- - Andrea Peri . . . . . . . . . qwerty àèìòù - ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- - Andrea Peri . . . . . . . . . qwerty àèìòù - -- - Andrea Peri . . . . . . . . . qwerty àèìòù - ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Plugins sort order in page
Hello all, Sorry if it is not the proper place to post this issue, but I've noticed a minor issue in http://plugins.qgis.org/plugins/ It is just that when it sorts the plugins alphabetically, it is case-sensitive, so first displays the plugin with initial uppercase and then the plugins with initial lowercase letter. While it is a nuance, it could annoy the user a little. If this is not the correct place to post this, please let me know so I can post the issue where appropiate Best regards, Jorge Tornero ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Plugins sort order in page
Il 25/06/2014 11:31, Jorge Tornero - Listas ha scritto: Sorry if it is not the proper place to post this issue, but I've noticed a minor issue in http://plugins.qgis.org/plugins/ It is just that when it sorts the plugins alphabetically, it is case-sensitive, so first displays the plugin with initial uppercase and then the plugins with initial lowercase letter. While it is a nuance, it could annoy the user a little. If this is not the correct place to post this, please let me know so I can post the issue where appropiate Agreed, it is annoying. Please check here: http://hub.qgis.org/projects/qgis-django/issues and open a ticket if not already present. Thanks. -- Paolo Cavallini - www.faunalia.eu Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] 2.2 project keeps crashing after load
Hi, I have a 2.2 project that keeps crashing immediately after load - so not much chance to investigate. The project has some PostgreSQL and a WMS layer. Testing the last nightly on Win 64 bit build. Can qgis-devs read something in the minidump file to give me a hint what may cause the crash? The minidump is available at http://webgis.uster.ch/temp/qgis-20140625-112518-1784-4568-39eaff9.dmp I have no idea what is wrong with this project. It is a rather simple project compared to others. Thank you for your help, Andreas ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] 2.2 project keeps crashing after load
Hi, I have some related questions regarding my crash: * What software are people using to analyze the minidump file? * During the QGIS crash I see that there are 570 messages in the log window - but because QGIS crashes I cannot access these log-messages anymore. Are these log-messages also available somewhere in a file so I can read them? The other thing I found out is that I can open the project if another project was loaded before. But if I open the project from an empty QGIS session it crashes. This behaviour is consistent. It always crashes when it opens as the first project and always works when another project was loaded before. Very strange ... Andreas Am 25.06.2014 09:35, schrieb Andreas Neumann: Hi, I have a 2.2 project that keeps crashing immediately after load - so not much chance to investigate. The project has some PostgreSQL and a WMS layer. Testing the last nightly on Win 64 bit build. Can qgis-devs read something in the minidump file to give me a hint what may cause the crash? The minidump is available at http://webgis.uster.ch/temp/qgis-20140625-112518-1784-4568-39eaff9.dmp I have no idea what is wrong with this project. It is a rather simple project compared to others. Thank you for your help, Andreas ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] 2.2 project keeps crashing after load
Hi again, Just before the crash I see the following messages in the log window: QPixmap: It is not safe to use pixmaps outside the GUI thread same message repeated several times. Does this ring any bell with someone? Thanks, Andreas Am 25.06.2014 09:55, schrieb Andreas Neumann: Hi, I have some related questions regarding my crash: * What software are people using to analyze the minidump file? * During the QGIS crash I see that there are 570 messages in the log window - but because QGIS crashes I cannot access these log-messages anymore. Are these log-messages also available somewhere in a file so I can read them? The other thing I found out is that I can open the project if another project was loaded before. But if I open the project from an empty QGIS session it crashes. This behaviour is consistent. It always crashes when it opens as the first project and always works when another project was loaded before. Very strange ... Andreas Am 25.06.2014 09:35, schrieb Andreas Neumann: Hi, I have a 2.2 project that keeps crashing immediately after load - so not much chance to investigate. The project has some PostgreSQL and a WMS layer. Testing the last nightly on Win 64 bit build. Can qgis-devs read something in the minidump file to give me a hint what may cause the crash? The minidump is available at http://webgis.uster.ch/temp/qgis-20140625-112518-1784-4568-39eaff9.dmp I have no idea what is wrong with this project. It is a rather simple project compared to others. Thank you for your help, Andreas ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] 2.2 project keeps crashing after load
Am 25.06.2014 09:35, schrieb Andreas Neumann: I have a 2.2 project that keeps crashing immediately after load - so not much chance to investigate. The project has some PostgreSQL and a WMS layer. Testing the last nightly on Win 64 bit build. Hi Andreas, Can you share the project? Even without the referenced data this would help. Thanks, Nyall ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Layer Definition file (.qlr) issues?
Hi all. I'm experimenting with this new feature, and I found some possible issues: * the file is saved without default extension * .qlr files are filtered out from the browser, so I do not see an easy way of adding them. Am I missing something, or should I open issues? Thanks. -- Paolo Cavallini - www.faunalia.eu Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Layer Definition file (.qlr) issues?
Both known issues. I will try to address them tonight or tomorrow. - Nathan On Wed, Jun 25, 2014 at 8:25 PM, Paolo Cavallini cavall...@faunalia.it wrote: Hi all. I'm experimenting with this new feature, and I found some possible issues: * the file is saved without default extension * .qlr files are filtered out from the browser, so I do not see an easy way of adding them. Am I missing something, or should I open issues? Thanks. -- Paolo Cavallini - www.faunalia.eu Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Error in MetaSearch
Paolo: I can reproduce this issue. Can you open a ticket on https://github.com/geopython/MetaSearch/issues/new ? Sent from my iPhone On Jun 24, 2014, at 8:16, Paolo Cavallini cavall...@faunalia.it wrote: Il 24/06/2014 14:01, Richard Duivenvoorde ha scritto: @paolo: is it still reproducable by you? yes, got it with current nightly (not recompiled afterwards). Thanks. -- Paolo Cavallini - www.faunalia.eu Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Layer Definition file (.qlr) issues?
Il 25/06/2014 12:26, Nathan Woodrow ha scritto: Both known issues. I will try to address them tonight or tomorrow. so, no need for tickets? thanks. -- Paolo Cavallini - www.faunalia.eu Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Layer Definition file (.qlr) issues?
Nah all good. There is already a ticket for the browser one, and the extension thing is done now just have to push it up. - Nathan On Wed, Jun 25, 2014 at 8:35 PM, Paolo Cavallini cavall...@faunalia.it wrote: Il 25/06/2014 12:26, Nathan Woodrow ha scritto: Both known issues. I will try to address them tonight or tomorrow. so, no need for tickets? thanks. -- Paolo Cavallini - www.faunalia.eu Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Error in MetaSearch
Il 25/06/2014 12:35, Tom Kralidis ha scritto: Paolo: I can reproduce this issue. Can you open a ticket on https://github.com/geopython/MetaSearch/issues/new ? Sure. But, MS being part of core QGIS now, I'd feel more comfortable opening it on http://hub.qgis.org/projects/quantum-gis/issues Please let me know if this is a problem for you. All the best, and thanks! -- Paolo Cavallini - www.faunalia.eu Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Error in MetaSearch
Il 25/06/2014 12:35, Tom Kralidis ha scritto: Paolo: I can reproduce this issue. Can you open a ticket on https://github.com/geopython/MetaSearch/issues/new ? for the record, done here: http://hub.qgis.org/issues/10715 thanks -- Paolo Cavallini - www.faunalia.eu Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] 2.2 project keeps crashing after load
Hi, Yes - the .qgs file is here: http://webgis.uster.ch/temp/administrative_grenzen.zip I changed the credentials of the Postgis connection. The project contains 5 Postgis layers and 1 WMS layer. Thank you for having a look at it. Andreas Am 25.06.2014 10:18, schrieb Nyall Dawson: Am 25.06.2014 09:35, schrieb Andreas Neumann: I have a 2.2 project that keeps crashing immediately after load - so not much chance to investigate. The project has some PostgreSQL and a WMS layer. Testing the last nightly on Win 64 bit build. Hi Andreas, Can you share the project? Even without the referenced data this would help. Thanks, Nyall ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] 2.2 project keeps crashing after load
Hi Andreas On Wed, Jun 25, 2014 at 5:04 PM, Andreas Neumann a.neum...@carto.net wrote: Hi again, Just before the crash I see the following messages in the log window: QPixmap: It is not safe to use pixmaps outside the GUI thread same message repeated several times. Does this ring any bell with someone? It may be somehow linked to MTR, but I would need more info to track down the problem. I haven't really managed to read anything useful from minidump files yet - I would be happy to learn from others if they can. Andreas, could you experiment with the project file (in 2.2) a bit to track down the source of the problem? E.g.: - will it crash if you remove the WMS layer? - will it crash if you remove composers? I have just tried your project file on Linux/64 and I get no crash (the Postgis layers get removed on load due to missing credentials). Regards Martin ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Access count and center point from QgsPointDisplacementRenderer
Hi Martin, I hope you will find some time to do the improvements. :) My wishlist would be: - set the tolerance fixed or in relation to the scale so it can update while zooming - ability to calculate sum(), min(), max(), avg() of numerical values of group members, at least the count of points in each group - using the same renderer (single symbol, categorized, graduated, rule based) for the cluster point Gesendet:Dienstag, 24. Juni 2014 um 19:00 Uhr Von:Martin Dobias wonder...@gmail.com An:Matthias Ludwig kaot...@gmx.de Cc:qgis-dev qgis-developer@lists.osgeo.org Betreff:Re: [Qgis-developer] Access count and center point from QgsPointDisplacementRenderer Hi Matthias On Tue, Jun 24, 2014 at 10:07 PM, Matthias Ludwig kaot...@gmx.de wrote: Hi, for a project (python standalone) I try to display points in clusters (like the Leaflet-marker-Cluster http://leaflet.github.io/Leaflet.markercluster/example/marker-clustering-realworld.388.html, or Openlayers, etc. just a simple distance based solution). As far as I understand the PointDisplacementRenderer more or less it does the same: group all points in a radius into a cluster and show the center point. If the tolerance is set depending on the scale the center points are displayed properly. I looked into the docs and the source code and didnt found a way to access the list of displacementGroups (to get the count and the center point) or just the count of points in each group. After that I tried to modify the source code of the renderer. I made the mDisplacementGroups publicly accessable (or i tried to do so) and moved the: typedef QMapQgsFeatureId, QgsFeature DisplacementGroup; /**Groups of features that have the same position*/ QListDisplacementGroup mDisplacementGroups; /**Mapping from feature ID to its group index*/ above the private section but it didnt worked. Is this completly wrong or do I have to change something else to get access with the python bindings? Is there any way to get the center point of each group and the count from the current implementation? Those members variables are just temporary and not meant to be used publicly. I dont think there is a way to retrieve these groupings. I didnt found something in the mailing list or somewhere else: is someone working on a visual clustering solution? If the time will allow, I would like to do few improvements to the point displacement renderer. It would probably make sense to actually take the clustering out of the renderer and have a class just for the clustering algorithm that will return the groups. Regards Martin ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] 2.2 project keeps crashing after load
The way we used minidump files at my previous workplace was to open them in Visual Studio, but as far as I remember, to do anything useful with it you need a .pdb file (for the particular .exe/.dll version that caused the crash), that contains additional symbol to sourcecode mapping information. Best, Matthias ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] compile qgis in mac notebook
hello everyone I like to compile the source code qgis under my Mac Notebook with qtcreator and I like to know the steps to follow in order to gain time; is that there is someone who happens to do thank you very much -- YAZIDI ALAOUI OTMANE Ingénieur d'état en Géomatique Tel:+212652538743 @ :yazidiotm...@gmail.com http://www.doyoubuzz.com/otmane-yazidi-alaoui // ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] 2.2 project keeps crashing after load
Hi, I believe it has to do with layers that have automated labeling on polygon layers with free or horizontal label placement algorithm. If I turn off these layers the crashes do not appear. I can then later turn on the visibility of these layers and it will work fine. I will try to create a test project with the same labeling settings and the data in an sqlite db for testing. When QGIS crashes, I always get the QPixmap: it is not safe to use pixmaps outside the GUI thread message. Andreas Am 25.06.2014 11:19, schrieb Martin Dobias: Hi Andreas On Wed, Jun 25, 2014 at 5:04 PM, Andreas Neumann a.neum...@carto.net wrote: Hi again, Just before the crash I see the following messages in the log window: QPixmap: It is not safe to use pixmaps outside the GUI thread same message repeated several times. Does this ring any bell with someone? It may be somehow linked to MTR, but I would need more info to track down the problem. I haven't really managed to read anything useful from minidump files yet - I would be happy to learn from others if they can. Andreas, could you experiment with the project file (in 2.2) a bit to track down the source of the problem? E.g.: - will it crash if you remove the WMS layer? - will it crash if you remove composers? I have just tried your project file on Linux/64 and I get no crash (the Postgis layers get removed on load due to missing credentials). Regards Martin ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] compile qgis in mac notebook
Hi You can have a look at the INSTALL file: https://github.com/qgis/QGIS/blob/master/INSTALL Michael 2014-06-25 13:29 GMT+02:00 otmane yazidi alaoui yazidiotm...@gmail.com: hello everyone I like to compile the source code qgis under my Mac Notebook with qtcreator and I like to know the steps to follow in order to gain time; is that there is someone who happens to do thank you very much -- YAZIDI ALAOUI OTMANE Ingénieur d'état en Géomatique Tel:+212652538743 @ :yazidiotm...@gmail.com http://www.doyoubuzz.com/otmane-yazidi-alaoui // ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Access count and center point from QgsPointDisplacementRenderer
On Wed, Jun 25, 2014 at 6:24 PM, Matthias Ludwig kaot...@gmx.de wrote: Hi Martin, I hope you will find some time to do the improvements. :) My wishlist would be: - set the tolerance fixed or in relation to the scale so it can update while zooming Also on my wish list (set tolerance in pixels, not just map units). - ability to calculate sum(), min(), max(), avg() of numerical values of group members, at least the count of points in each group Count of points is also on my wish list. - using the same renderer (single symbol, categorized, graduated, rule based) for the cluster point Not sure what this means... Regards Martin ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] 2.2 project keeps crashing after load
two useful tricks 1) redirect log to file as stated here http://qgis.org/api/classQgsLogger.html#details export QGIS_DEBUG=level e.g. 3 export QGIS_LOG_FILE=./qgis.log in the shell or add them in the settings-otions-system-environments ... log will be produces using unix EndOFLine so under win you need to convert log file using something like unix2dos executable. 2) attach qgis execution inside VisualStudio and it will stop at the crash... but without debug symbols it's only useful to have an idea of the calling sequence. my 2 cents, Luigi Pirelli (luigi.pire...@faunalia.it - lui...@gmail.com) On 25 June 2014 11:55, Andreas Neumann a.neum...@carto.net wrote: Hi, I have some related questions regarding my crash: * What software are people using to analyze the minidump file? * During the QGIS crash I see that there are 570 messages in the log window - but because QGIS crashes I cannot access these log-messages anymore. Are these log-messages also available somewhere in a file so I can read them? The other thing I found out is that I can open the project if another project was loaded before. But if I open the project from an empty QGIS session it crashes. This behaviour is consistent. It always crashes when it opens as the first project and always works when another project was loaded before. Very strange ... Andreas Am 25.06.2014 09:35, schrieb Andreas Neumann: Hi, I have a 2.2 project that keeps crashing immediately after load - so not much chance to investigate. The project has some PostgreSQL and a WMS layer. Testing the last nightly on Win 64 bit build. Can qgis-devs read something in the minidump file to give me a hint what may cause the crash? The minidump is available at http://webgis.uster.ch/temp/qgis-20140625-112518-1784-4568-39eaff9.dmp I have no idea what is wrong with this project. It is a rather simple project compared to others. Thank you for your help, Andreas ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Access count and center point from QgsPointDisplacementRenderer
- using the same renderer (single symbol, categorized, graduated, rule based) for the cluster point Not sure what this means... At the moment you cant use different symbols as center symbol. I like to see this changed and the ability to use categorized or graduated renderer (based on the count, sum/min/max/avg of one group attribute, etc.). Example (i added a screenshot for this): - sample points with nitrat, pH-Value and moisture concentration - show the count of measurements in each cluster vizualized in 3 classes (graduated) (dark green green light green) - show the avg concentration of each value per goup with graduated symbols (the layer could be imported three times and each new information is shifted from the center) I hope its clear now. Regards___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] 2.2 project keeps crashing after load
Hi, I can only reproduce the issue on Windows (Win7 64bit). It does not appear on Linux 64bit. Also on Windows it does not happen always, but often. I have removed all composers, so this is definitely not a composer issue. I also removed the WMS and it still crashes. It happens with both PostgreSQL and SQLite as a datasource. It does not happen with shapefiles as a datasource. My project is here to download with SpatiaLite 4 as a datasource: http://webgis.uster.ch/temp/qgis_crashing_project.zip If someone on Windows could give it a try. It does not crash always, but often. Andreas Am 25.06.2014 11:19, schrieb Martin Dobias: Hi Andreas On Wed, Jun 25, 2014 at 5:04 PM, Andreas Neumann a.neum...@carto.net wrote: Hi again, Just before the crash I see the following messages in the log window: QPixmap: It is not safe to use pixmaps outside the GUI thread same message repeated several times. Does this ring any bell with someone? It may be somehow linked to MTR, but I would need more info to track down the problem. I haven't really managed to read anything useful from minidump files yet - I would be happy to learn from others if they can. Andreas, could you experiment with the project file (in 2.2) a bit to track down the source of the problem? E.g.: - will it crash if you remove the WMS layer? - will it crash if you remove composers? I have just tried your project file on Linux/64 and I get no crash (the Postgis layers get removed on load due to missing credentials). Regards Martin ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] 2.2 project keeps crashing after load
Hi Gino, Thanks for the hints. I will try the thing with the logging. I don't have VisualStudio - will the free express version help? I don't know if the windows nightlies have debug symbols enabled. Thanks, Andreas Am 25.06.2014 13:11, schrieb Gino Pirelli: two useful tricks 1) redirect log to file as stated here http://qgis.org/api/classQgsLogger.html#details export QGIS_DEBUG=level e.g. 3 export QGIS_LOG_FILE=./qgis.log in the shell or add them in the settings-otions-system-environments ... log will be produces using unix EndOFLine so under win you need to convert log file using something like unix2dos executable. 2) attach qgis execution inside VisualStudio and it will stop at the crash... but without debug symbols it's only useful to have an idea of the calling sequence. my 2 cents, Luigi Pirelli (luigi.pire...@faunalia.it - lui...@gmail.com) ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] 2.2 project keeps crashing after load
Hi Andreas, On Wed, 25. Jun 2014 at 09:55:11 +, Andreas Neumann wrote: * What software are people using to analyze the minidump file? The Visual C++ IDE. * During the QGIS crash I see that there are 570 messages in the log window - but because QGIS crashes I cannot access these log-messages anymore. Are these log-messages also available somewhere in a file so I can read them? With the windows nightly build use DbgView. All messages to the log should also show there. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de QGIS PSC member (RM) Germany IRC: jef on FreeNode -- norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] 2.2 project keeps crashing after load
Hi Andreas, On Wed, 25. Jun 2014 at 13:25:07 +, Andreas Neumann wrote: I can only reproduce the issue on Windows (Win7 64bit). It does not appear on Linux 64bit. Also on Windows it does not happen always, but often. [...] My project is here to download with SpatiaLite 4 as a datasource: http://webgis.uster.ch/temp/qgis_crashing_project.zip Hm, anything special to do? I tried to zoom and pan - works fine for me. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de QGIS PSC member (RM) Germany IRC: jef on FreeNode -- norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] 2.2 project keeps crashing after load
Hi Jürgen, It should crash immediately after loading - if it crashes. No user input required for the crash. Here is the output from debug-view up to the crash: http://webgis.uster.ch/temp/project_crash_debug_view_output.zip Andreas Am 25.06.2014 14:20, schrieb Jürgen E. Fischer: Hi Andreas, On Wed, 25. Jun 2014 at 13:25:07 +, Andreas Neumann wrote: I can only reproduce the issue on Windows (Win7 64bit). It does not appear on Linux 64bit. Also on Windows it does not happen always, but often. [...] My project is here to download with SpatiaLite 4 as a datasource: http://webgis.uster.ch/temp/qgis_crashing_project.zip Hm, anything special to do? I tried to zoom and pan - works fine for me. Jürgen ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] 2.2 project keeps crashing after load
For me for the first time, when I double-clicked on the project (qgs file) it opens qgis and immediately crashed (windows 7 64 bit OSGEO latest nightly). I then open the project from within QGIS, it worked fine. And double-clicking on the project also worked subsequently. Cheers, Saber -Original Message- From: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of Jürgen E. Fischer Sent: 25 June 2014 15:21 To: qgis-developer@lists.osgeo.org Subject: Re: [Qgis-developer] 2.2 project keeps crashing after load Hi Andreas, On Wed, 25. Jun 2014 at 13:25:07 +, Andreas Neumann wrote: I can only reproduce the issue on Windows (Win7 64bit). It does not appear on Linux 64bit. Also on Windows it does not happen always, but often. [...] My project is here to download with SpatiaLite 4 as a datasource: http://webgis.uster.ch/temp/qgis_crashing_project.zip Hm, anything special to do? I tried to zoom and pan - works fine for me. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de QGIS PSC member (RM) Germany IRC: jef on FreeNode -- norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Whilst reasonable care has been taken to avoid virus transmission, no responsibility for viruses is taken and it is your responsibility to carry out such checks as you feel appropriate. If this email contains a quote or offer to sell products, carry out work or perform services then our standard terms and conditions (which can be found at http://www.lutraconsulting.co.uk/downloads/Lutra%20Consulting%20Standard%20Terms%20and%20Conditions.pdf shall apply unless explicitly stated otherwise. Saber Razmjooei and Peter Wells trading as Lutra Consulting. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] 2.2 project keeps crashing after load
Thanks for trying. I just had Jürgen with Teamviewer at my machine and it is quite hard to find out what causes the crashes. It does not crash at every load. Maybe every third or fourth time in average. Turning multit-threading off improves the situation a lot - there are few to none crashes if multi-threading is off. When I have layers with free or horizontal polygon labeling on it crashes more often. So the labeling may trigger the crashes more often but may not be the cause of the crash. I'll keep testing ... Andreas Am 25.06.2014 14:29, schrieb Saber Razmjooei: For me for the first time, when I double-clicked on the project (qgs file) it opens qgis and immediately crashed (windows 7 64 bit OSGEO latest nightly). I then open the project from within QGIS, it worked fine. And double-clicking on the project also worked subsequently. Cheers, Saber -Original Message- From: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of Jürgen E. Fischer Sent: 25 June 2014 15:21 To: qgis-developer@lists.osgeo.org Subject: Re: [Qgis-developer] 2.2 project keeps crashing after load Hi Andreas, On Wed, 25. Jun 2014 at 13:25:07 +, Andreas Neumann wrote: I can only reproduce the issue on Windows (Win7 64bit). It does not appear on Linux 64bit. Also on Windows it does not happen always, but often. [...] My project is here to download with SpatiaLite 4 as a datasource: http://webgis.uster.ch/temp/qgis_crashing_project.zip Hm, anything special to do? I tried to zoom and pan - works fine for me. Jürgen ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Regression in border stylization in a 2.0.1 project, both in 2.2.0 and in trunk
Hi all, I've opened a bug regarding a regression in border stylization in a 2.0.1 project https://hub.qgis.org/issues/10723 I've attached a small test case to the bug, in order to easily reproduce the problem, and obtained results in 2.0.1, 2.2.0 and trunk. I had several complex project made with 2.0.1 and this bug is a showstopper to adopt a more recent version, since it would be time consuming to redo the stylization. Can someone have a look at it? Thanks and regards, Gabriele Monfardini ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer