[Qgis-developer] Error QgsRasterLayer Pseudocolor
Hi, I updated my plugin at the new version of Qgis 2.0.1…but when I execute my code the following error occurs…any idea? http://osgeo-org.1560.x6.nabble.com/file/n5099572/Screen_Shot_2014-01-23_at_8.57.51_AM.png Thanks a lot!! Steffy -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Error-QgsRasterLayer-Pseudocolor-tp5099572.html Sent from the Quantum GIS - Developer mailing list archive at Nabble.com. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] [QGIS-UX] option to disable font vectorization in labels
After the discussion with Larry on PR 1096, it apears that font as font (i.e. non vectorized) will be the default soon (when the bugs are fixed). The font vectorization is a nice option though, to create portable pdf/svg. In PR 1092, I added an option to group layers in the svg, this option is a checkbox at the bottom of the Save as svg dialog. I think font vectorization ('Export text as ouline') would fit nicely right next to it. This way it does cluttet the composer tabs, you make the choice at the moment it should be made, and it's not an additional step (specific dialog after you chose your file name). On 22/01/2014 11:27, Vincent Picavet wrote: Hello, Le mardi 21 janvier 2014 21:45:16, Nyall Dawson a écrit : On 22/01/2014 4:56 am, Anita Graser anitagra...@gmx.at wrote: Am 21.01.2014, 10:24 Uhr, schrieb Vincent Mora vincent.m...@oslandia.com - a composer option: you make the choice when you export to svg, in this case you don't see the result until you open the svg Thanks for addressing this issue! For me, the most obvious place to put this option would be in the print composer. Maybe close to the print as raster option? I'm not a huge fan of this option, given that I'd like to keep the composer window as clear of clutter as possible. I think output format specific options like these (and saving svg to layers) should be put into a separate dialog which appears after the save file dialog. Much like how gimp/Photoshop/illustrator etc show a jpg quality dialog after choosing to save a file as jpg. The settings could either be remembered globally or per output filename. -1 for another dialog window. It makes the user have to set another step to export before having a result. If you want to export the same composition work multiple times with different file names you would have to set this every time. If you want QGIS to remember the settings, the user should have set it somewhere specifically. UX simplification is good, magic things happening behind the scene are not. Generally im am more in favor of a configure first, then execute way of working than the opposite. An intermediate solution could be to have an extended save as dialog box, with some options on the side. My ultimate goal (I was going to run this by the ux list) is to move infrequently used settings like resolution, page size/orientation, print as raster, etc and the atlas settings to their own composition properties dialog and then remove the need for the composition and atlas panels. Any thoughts on this? Same, more dialog boxes is a -1 for me, panels are quick and convenient, and give a fast overview of things. An option to hide or reduce them on the side would be preferable imho. Only my personal opinion for what it's worth. Vincent ___ 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] Viewing SpatiaLite views in QGis
Hello all, I noticed a strange behavior in QGis when I am viewing SpatiaLite views. These are my steps: 1) I have some SpatiaLite tables, that have Geometry field. For example: CREATE TABLE Poligoni ( PK_UID INTEGER PRIMARY KEY AUTOINCREMENT, field1 TEXT, Note TEXT, geometry POLYGON) 2) I create a SpatiaLite view, that performs some spatial opetation, i.e. an intersection CREATE VIEW intersecato as SELECT b.field1as field1, b.field2 AS field2, a.field3 AS field3, ST_area (a.Geometry) AS area, b.arec as arec, intersection (a.Geometry, b.Geometry) as Geometry FROM Poligoni a, otherTable b where ST_intersects (a.Geometry, b.Geometry) = 1 order by field1 3) I insert into geometry_columns a record for the view: insert into geometry_columns values ('intersecato','geometry',3,2,3003,0) 4) I execute a query into SpatiaLite_gui to control that some record exists. And... they exist. :) 5) I go to QGis (2.0.1 Dufour, Windows, Linux or MacOSX :) and connect to SpatiaLite DB. 6) I insert my tables and view in Layer list. We, now I see all the layers, as those corresponding to the tables, as that correspond to my SpatiaLite view. But, this one do not display the correct records in the attribute panel: in this case, I only have a list of many NULL, and selecting a record, all records are selected :( Do you have any explanation for this? Also I tried to add a PK_UID in the view definition, but the result remains the same. Thank you for any help Regards Roberto ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Visual changelog for QGIS 2.2
I set also disclaiming about founder of this feature, but I don't know if this is in the entry style... I can erase it to be uniform with other entries. Yes, please erase it. The other entries don't mention the funders as well. Regards, Marco On 23.01.2014 08:56, Gino Pirelli wrote: I tim, just added entry about WMS Legend... I set also disclaiming about founder of this feature, but I don't know if this is in the entry style... I can erase it to be uniform with other entries. On 30 December 2013 05:41, Tim Sutton li...@linfiniti.com mailto:li...@linfiniti.com wrote: Hi All Over the last couple of weeks, I have started compiling a list of interesting new features for the visual changelog for QGIS 2.2. Could I invite others to add entries there too. You can either do it directly on the changelog site [1] (you need to create yourself a login first) or send me an email with the following info: * Category of feature * Title for new features * Feature description in markdown or plain text * A screenshot if possible (it is a *visual* changelog) * Your full name for the image credits. Please take a look at the existing entries to ensure that you are not duplicating work. @Nyall maybe it would be nice to get another entry for composer summarising all the other improvements you have made, I know I haven't done the work you have done justice in the list so far. [1] http://changelog.linfiniti.com/qgis/version/21/ Thanks -- Tim Sutton - QGIS Project Steering Committee Member == Please do not email me off-list with technical support questions. Using the lists will gain more exposure for your issues and the knowledge surrounding your issue will be shared with all. Irc: timlinux on #qgis at freenode.net http://freenode.net == ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org mailto: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 -- Dr. Marco Hugentobler Sourcepole - Linux Open Source Solutions Weberstrasse 5, CH-8004 Zürich, Switzerland marco.hugentob...@sourcepole.ch http://www.sourcepole.ch Technical Advisor QGIS Project Steering Committee ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Multigeom postgis tables display
Hi all. We just noticed that when loading a PostGIS table with 1 geometric column, the one with the loaded geometry is not displayed, whereas the others are (and, apparently, editable). To me this is a bug: any thoughts? All the best. -- Paolo Cavallini - www.faunalia.eu QGIS PostGIS courses: 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] Visual changelog for QGIS 2.2
ok... erased On 23 January 2014 10:53, Marco Hugentobler marco.hugentob...@sourcepole.ch wrote: I set also disclaiming about founder of this feature, but I don't know if this is in the entry style... I can erase it to be uniform with other entries. Yes, please erase it. The other entries don't mention the funders as well. Regards, Marco On 23.01.2014 08:56, Gino Pirelli wrote: I tim, just added entry about WMS Legend... I set also disclaiming about founder of this feature, but I don't know if this is in the entry style... I can erase it to be uniform with other entries. On 30 December 2013 05:41, Tim Sutton li...@linfiniti.com wrote: Hi All Over the last couple of weeks, I have started compiling a list of interesting new features for the visual changelog for QGIS 2.2. Could I invite others to add entries there too. You can either do it directly on the changelog site [1] (you need to create yourself a login first) or send me an email with the following info: * Category of feature * Title for new features * Feature description in markdown or plain text * A screenshot if possible (it is a *visual* changelog) * Your full name for the image credits. Please take a look at the existing entries to ensure that you are not duplicating work. @Nyall maybe it would be nice to get another entry for composer summarising all the other improvements you have made, I know I haven't done the work you have done justice in the list so far. [1] http://changelog.linfiniti.com/qgis/version/21/ Thanks -- Tim Sutton - QGIS Project Steering Committee Member == Please do not email me off-list with technical support questions. Using the lists will gain more exposure for your issues and the knowledge surrounding your issue will be shared with all. Irc: timlinux on #qgis at freenode.net == ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing listQgis-developer@lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/qgis-developer -- Dr. Marco Hugentobler Sourcepole - Linux Open Source Solutions Weberstrasse 5, CH-8004 Zürich, switzerlandmarco.hugentob...@sourcepole.ch http://www.sourcepole.ch Technical Advisor QGIS Project Steering Committee ___ 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] Multigeom postgis tables display
Hi Paolo, On Thu, 23. Jan 2014 at 11:07:42 +0100, Paolo Cavallini wrote: We just noticed that when loading a PostGIS table with 1 geometric column, the one with the loaded geometry is not displayed, whereas the others are (and, apparently, editable). To me this is a bug: any thoughts? What's buggy about it? 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] Viewing SpatiaLite views in QGis
http://www.gaia-gis.it/gaia-sins/spatialite-cookbook/html/sp-view.html recommend to insert spatial view in *views_geometry_columns.* Note: I had problems trying to use OGC_FID instead of ROWID as the PK for the view. On 23/01/2014 09:26, Geo DrinX wrote: Hello all, I noticed a strange behavior in QGis when I am viewing SpatiaLite views. These are my steps: 1) I have some SpatiaLite tables, that have Geometry field. For example: CREATE TABLE Poligoni ( PK_UID INTEGER PRIMARY KEY AUTOINCREMENT, field1 TEXT, Note TEXT, geometry POLYGON) 2) I create a SpatiaLite view, that performs some spatial opetation, i.e. an intersection CREATE VIEW intersecato as SELECT b.field1as field1, b.field2 AS field2, a.field3 AS field3, ST_area (a.Geometry) AS area, b.arec as arec, intersection (a.Geometry, b.Geometry) as Geometry FROM Poligoni a, otherTable b where ST_intersects (a.Geometry, b.Geometry) = 1 order by field1 3) I insert into geometry_columns a record for the view: insert into geometry_columns values ('intersecato','geometry',3,2,3003,0) 4) I execute a query into SpatiaLite_gui to control that some record exists. And... they exist. :) 5) I go to QGis (2.0.1 Dufour, Windows, Linux or MacOSX :) and connect to SpatiaLite DB. 6) I insert my tables and view in Layer list. We, now I see all the layers, as those corresponding to the tables, as that correspond to my SpatiaLite view. But, this one do not display the correct records in the attribute panel: in this case, I only have a list of many NULL, and selecting a record, all records are selected :( Do you have any explanation for this? Also I tried to add a PK_UID in the view definition, but the result remains the same. Thank you for any help Regards Roberto ___ 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] Help in Python QGIS 2 Select Feature
Hello, my name is Lukas. I speak, unfortunately, only bad english, so I wrote the text on German and let it translated by Google. Im still very new in programming and in QGIS and have an important question. It is this. I have an already loaded layer. This has not been loaded on the Python Console. The layer has more than 250,000 objects. A for query based on the attributes, I can select an object. This process however takes up to 30 seconds. Unfortunately, very long time. About the internal query option in QGIS, it takes only 1 to 2 seconds. Can I start such a query using the python console? Without the layer of the Python console to load? Maybe its possible to start a SQL query? The would have to go faster. I really need urgent help Now German: Jetzt Deutsch: Hallo, meine Name ist Lukas. Ich spreche leider nur schlecht englisch, deshalb schriebe ich den Text auch auf deutsch und lasse ihn von Google bersetzen. Ich bin noch sehr neu in der Programmierung und in QGIS und habe eine wichtige Frage. Es geht um folgendes. Ich habe einen bereits geladenen Layer. Dieser wurde nicht ber die Python Console geladen. Der Layer hat ber 25 Objekte. ber eine for-abfrage, bezogen auf die einzelden Attribute, kann ich ein Objekt auswhlen. Dieser Vorgang dauert aber bis zu 30 sekunden. Leider sehr lange. ber die interne Abfrage Mglichkeit in QGIS dauert es nur 1 bis 2 Sekunden. Kann ich eine solche Abfrage auch ber die Python-Konsole starten? Ohne den Layer ber die Python-Konsolen zu laden? Vielleicht ist es mgliche eine SQL-Abfrage zu starten? Die msste schneller gehen. Ich brauche wirklich dringend Hilfe Gru Lukas ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] data provider in a custom app
Hi all, I am trying to do a custom application using QGIS libs and I have trouble to use data providers (i.e. spatialite). In my application doing, QgsProviderRegistry::instance()-pluginList() returns No data provider plugins are available. No vector layers can be loaded. Then of course, trying to create a new db as it is done on QgsNewSpatialiteLayerDialog is impossible ( QgsProviderRegistry::instance()-library( spatialite ); ) and loading layers with QgsVectorLayer* vl = new QgsVectorLayer( dbname='path_to_sqlite_file' table='mytable'' (geometry) sql=, layername, spatialite ); fails. I believe I am missing something fundamental here, but I have no idea what. If anybody has a lead, thanks a lot. Cheers, Denis ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Data defined labels not working with if X, Y values are NULL
Hello all, In 2.0.1, NULL values in X and Y fields for data defined labels were ignored and the label would print in the default place. Testing QGIS 2.1.0, I have noticed that label would not print in the same conditions. Is this the expected behavior? This issue might be related: http://hub.qgis.org/issues/9148 but the proposed workaround does not seem very logic to me. Thanks, Alex ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] (no subject)
Hi dev, now I have updated my master repository, I can not build QGIS in visual studio. May be this commit ? https://github.com/qgis/QGIS/commit/e8205c98c938b60569c30d5c0bbec3acab1f441a I get these errors... 2 qgssinglesymbolrendererv2.cpp 2c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(102): error C2248: 'QScopedPointerT::QScopedPointer' : cannot access private member declared in class 'QScopedPointerT' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2 D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointerT::QScopedPointer' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2 ..\..\..\QGIS\src\core\symbology-ng\qgssinglesymbolrendererv2.cpp(59) : see reference to function template instantiation 'void std::swapQScopedPointerT(_Ty ,_Ty )' being compiled 2 with 2 [ 2 T=QgsSymbolV2, 2 _Ty=QScopedPointerQgsSymbolV2 2 ] 2c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(103): error C2248: 'QScopedPointerT::operator =' : cannot access private member declared in class 'QScopedPointerT' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2 D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointerT::operator =' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(104): error C2248: 'QScopedPointerT::operator =' : cannot access private member declared in class 'QScopedPointerT' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2 D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointerT::operator =' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(102): error C2248: 'QScopedPointerT::QScopedPointer' : cannot access private member declared in class 'QScopedPointerT' 2 with 2 [ 2 T=QgsExpression 2 ] 2 D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointerT::QScopedPointer' 2 with 2 [ 2 T=QgsExpression 2 ] 2 ..\..\..\QGIS\src\core\symbology-ng\qgssinglesymbolrendererv2.cpp(60) : see reference to function template instantiation 'void std::swapQScopedPointerT(_Ty ,_Ty )' being compiled 2 with 2 [ 2 T=QgsExpression, 2 _Ty=QScopedPointerQgsExpression 2 ] 2c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(103): error C2248: 'QScopedPointerT::operator =' : cannot access private member declared in class 'QScopedPointerT' 2 with 2 [ 2 T=QgsExpression 2 ] 2 D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointerT::operator =' 2 with 2 [ 2 T=QgsExpression 2 ] 2c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(104): error C2248: 'QScopedPointerT::operator =' : cannot access private member declared in class 'QScopedPointerT' 2 with 2 [ 2 T=QgsExpression 2 ] 2 D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointerT::operator =' 2 with 2 [ 2 T=QgsExpression 2 ] 2 qgscategorizedsymbolrendererv2.cpp 2c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(102): error C2248: 'QScopedPointerT::QScopedPointer' : cannot access private member declared in class 'QScopedPointerT' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2 D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointerT::QScopedPointer' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2 ..\..\..\QGIS\src\core\symbology-ng\qgscategorizedsymbolrendererv2.cpp(59) : see reference to function template instantiation 'void std::swapQScopedPointerT(_Ty ,_Ty )' being compiled 2 with 2 [ 2 T=QgsSymbolV2, 2 _Ty=QScopedPointerQgsSymbolV2 2 ] 2c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(103): error C2248: 'QScopedPointerT::operator =' : cannot access private member declared in class 'QScopedPointerT' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2 D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of
[Qgis-developer] QGIS build error in visual studio
Hi dev, now I have updated my master repository, I can not build QGIS in visual studio. May be this commit ? https://github.com/qgis/QGIS/commit/e8205c98c938b60569c30d5c0bbec3acab1f441a I get these errors... 2 qgssinglesymbolrendererv2.cpp 2c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(102): error C2248: 'QScopedPointerT::QScopedPointer' : cannot access private member declared in class 'QScopedPointerT' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2 D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointerT::QScopedPointer' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2 ..\..\..\QGIS\src\core\symbology-ng\qgssinglesymbolrendererv2.cpp(59) : see reference to function template instantiation 'void std::swapQScopedPointerT(_Ty ,_Ty )' being compiled 2 with 2 [ 2 T=QgsSymbolV2, 2 _Ty=QScopedPointerQgsSymbolV2 2 ] 2c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(103): error C2248: 'QScopedPointerT::operator =' : cannot access private member declared in class 'QScopedPointerT' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2 D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointerT::operator =' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(104): error C2248: 'QScopedPointerT::operator =' : cannot access private member declared in class 'QScopedPointerT' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2 D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointerT::operator =' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(102): error C2248: 'QScopedPointerT::QScopedPointer' : cannot access private member declared in class 'QScopedPointerT' 2 with 2 [ 2 T=QgsExpression 2 ] 2 D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointerT::QScopedPointer' 2 with 2 [ 2 T=QgsExpression 2 ] 2 ..\..\..\QGIS\src\core\symbology-ng\qgssinglesymbolrendererv2.cpp(60) : see reference to function template instantiation 'void std::swapQScopedPointerT(_Ty ,_Ty )' being compiled 2 with 2 [ 2 T=QgsExpression, 2 _Ty=QScopedPointerQgsExpression 2 ] 2c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(103): error C2248: 'QScopedPointerT::operator =' : cannot access private member declared in class 'QScopedPointerT' 2 with 2 [ 2 T=QgsExpression 2 ] 2 D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointerT::operator =' 2 with 2 [ 2 T=QgsExpression 2 ] 2c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(104): error C2248: 'QScopedPointerT::operator =' : cannot access private member declared in class 'QScopedPointerT' 2 with 2 [ 2 T=QgsExpression 2 ] 2 D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointerT::operator =' 2 with 2 [ 2 T=QgsExpression 2 ] 2 qgscategorizedsymbolrendererv2.cpp 2c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(102): error C2248: 'QScopedPointerT::QScopedPointer' : cannot access private member declared in class 'QScopedPointerT' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2 D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointerT::QScopedPointer' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2 ..\..\..\QGIS\src\core\symbology-ng\qgscategorizedsymbolrendererv2.cpp(59) : see reference to function template instantiation 'void std::swapQScopedPointerT(_Ty ,_Ty )' being compiled 2 with 2 [ 2 T=QgsSymbolV2, 2 _Ty=QScopedPointerQgsSymbolV2 2 ] 2c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(103): error C2248: 'QScopedPointerT::operator =' : cannot access private member declared in class 'QScopedPointerT' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2 D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointerT::operator
Re: [Qgis-developer] QGIS build error in visual studio
Hi dev the errors come from std::swap calls void QgsSingleSymbolRendererV2::swap( QgsSingleSymbolRendererV2 other ) { std::swap( mSymbol, other.mSymbol ); std::swap( mRotation, other.mRotation ); ... } am I missing something?, or there is an error chaing std::auto_ptr for QScopedPointer ? Can someone help me ? Thanks! Alvaro De: A Huarte ahuart...@yahoo.es Para: qgis-developer@lists.osgeo.org qgis-developer@lists.osgeo.org Enviado: Jueves 23 de enero de 2014 18:42 Asunto: [Qgis-developer] QGIS build error in visual studio Hi dev, now I have updated my master repository, I can not build QGIS in visual studio. May be this commit ? https://github.com/qgis/QGIS/commit/e8205c98c938b60569c30d5c0bbec3acab1f441a I get these errors... 2 qgssinglesymbolrendererv2.cpp 2c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(102): error C2248: 'QScopedPointerT::QScopedPointer' : cannot access private member declared in class 'QScopedPointerT' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2 D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointerT::QScopedPointer' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2 ..\..\..\QGIS\src\core\symbology-ng\qgssinglesymbolrendererv2.cpp(59) : see reference to function template instantiation 'void std::swapQScopedPointerT(_Ty ,_Ty )' being compiled 2 with 2 [ 2 T=QgsSymbolV2, 2 _Ty=QScopedPointerQgsSymbolV2 2 ] 2c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(103): error C2248: 'QScopedPointerT::operator =' : cannot access private member declared in class 'QScopedPointerT' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2 Thanks in advance ___ 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] QGis Dufour crashes when using QgsMarkerLineSymbolLayerV2.setSubSymbol()
Hello, QgsSVGFillSymbolLayer.setSubSymbol() (to put the outline symbol of a polygon) also makes crash QGis. I tested this with linux and windows 7. I've found a workaround with QgsMarkerLineSymbolLayer.createFromSld(). This does work from within a python plugin. QgsMarkerLineSymbolLayer.createFromSld() call setSubSymbol method from the C++ part. So maybe the problem comes from the python bindings, but I don't know sip. Shall I report this as a bug? Alain Le 20/01/2014 22:31, alain a écrit : Hello, I'm working on a python plugin to render S57 nautical charts using the ogr provider and QGis symbology. For now, I'm just testing how to use Symbology, as I'm not familiar with it, so I think I do something wrong, but can't find examples on Google. I need to compose symbols for lines, using Svg files. This seems to be done using one or more QgsSvgMarkerSymbolLayerV2 in a QgsMarkerSymbol wrapped in a QgsMarkerLineSymbolLayerV2 using setSubSymbol(...) method. Following this idea, I get QGis crashes. I post some code at http://gis.stackexchange.com/questions/83517/qgis-dufour-crashes-when-using-qgsmarkerlinesymbollayer-from-a-python-plugin When I comment the line calling setSubSymbol(), the layer is rendered correctly with a default symbol. Thanks for help. Alain ___ 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] Multigeom postgis tables display
Hi, it's not a bug, but it has some drawback in every day's use. The 'others' geometry columns are translated to WKT, and are sometimes huge geometries. This makes attribute table very slow at last, more often unusable. I don't remember well when, but in 1.9, thoses extra columns where hidden for some times, and it was really faster. Another matter is that the database administrator is forced to creates views without those columns. And I am the lazy DBA ;-) that wishes he could avoid that ... Until now, I haven't had a use case on QGIS side of seeing thoses columns? Anyone does? Régis -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Multigeom-postgis-tables-display-tp5099614p5099731.html Sent from the Quantum GIS - Developer mailing list archive at Nabble.com. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] master - opening layer properties crashes QGIS
Hi Régis, On Tue, Jan 21, 2014 at 9:55 AM, Régis Haubourg regis.haubo...@eau-adour-garonne.fr wrote: HI Larry, well, no minidump on Windows 7 here. I have a 255Mb windows dump (name WERFE47.tmp.hdmp) here : https://dl.dropboxusercontent.com/u/72368800/WERFE47.tmp.hdmp.zip This is definitly related to raster / wms datasources. I could not reproduce this under Windows 7 with latest master build, nor was I able to determine the cause by debugging your dump file (though I don't have much experience using those files). Could you create a ticket with an example project with similar data file and wms link? Then I think I can use Qt Creator on Win 7 to debug or postmortem-debug the crash. Thanks, Larry -- View this message in context: http://osgeo-org.1560.x6.nabble.com/master-opening-layer-properties-crashes-QGIS-tp5099258p5099293.html Sent from the Quantum GIS - Developer mailing list archive at Nabble.com. ___ 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] [QGIS-UX] Revisiting behavior of composer guides
Am 23.01.2014, 02:30 Uhr, schrieb Nyall Dawson nyall.daw...@gmail.com: - The alternative behavior is much more standard. A quick test shows me that Illustrator, Inkscape, Publisher, Scribus, Gimp, Photoshop and Indesign all use the drag a horizontal ruler to create a horizontal guide approach. Definite +1 from me. There is no reason for QGIS do behave differently from all these standard softwares. Please get the change in for 2.2 Thanks and best wishes, Anita -- anitagraser.com ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] data provider in a custom app
Hi On Thu, Jan 23, 2014 at 3:58 PM, Denis Rouzaud denis.rouz...@gmail.comwrote: Hi all, I am trying to do a custom application using QGIS libs and I have trouble to use data providers (i.e. spatialite). In my application doing, QgsProviderRegistry::instance()-pluginList() returns No data provider plugins are available. No vector layers can be loaded. Then of course, trying to create a new db as it is done on QgsNewSpatialiteLayerDialog is impossible ( QgsProviderRegistry::instance()-library( spatialite ); ) and loading layers with QgsVectorLayer* vl = new QgsVectorLayer( dbname='path_to_sqlite_file' table='mytable'' (geometry) sql=, layername, spatialite ); fails. I believe I am missing something fundamental here, but I have no idea what. If anybody has a lead, thanks a lot. Did you ensure the QGIS_PREFIX_PATH is set and call initQgis? See [1] for an example. [1] https://github.com/AIFDR/inasafe/blob/master/safe/common/testing.py#L692 Regards Tim Cheers, Denis ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Tim Sutton - QGIS Project Steering Committee Member == Please do not email me off-list with technical support questions. Using the lists will gain more exposure for your issues and the knowledge surrounding your issue will be shared with all. Irc: timlinux on #qgis at freenode.net == ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Visual changelog for QGIS 2.2
Thanks Gino - I will make sure it is included, I just need to edit the english a little. Regards Tim On Thu, Jan 23, 2014 at 12:48 PM, Gino Pirelli lui...@gmail.com wrote: ok... erased On 23 January 2014 10:53, Marco Hugentobler marco.hugentob...@sourcepole.ch wrote: I set also disclaiming about founder of this feature, but I don't know if this is in the entry style... I can erase it to be uniform with other entries. Yes, please erase it. The other entries don't mention the funders as well. Regards, Marco On 23.01.2014 08:56, Gino Pirelli wrote: I tim, just added entry about WMS Legend... I set also disclaiming about founder of this feature, but I don't know if this is in the entry style... I can erase it to be uniform with other entries. On 30 December 2013 05:41, Tim Sutton li...@linfiniti.com wrote: Hi All Over the last couple of weeks, I have started compiling a list of interesting new features for the visual changelog for QGIS 2.2. Could I invite others to add entries there too. You can either do it directly on the changelog site [1] (you need to create yourself a login first) or send me an email with the following info: * Category of feature * Title for new features * Feature description in markdown or plain text * A screenshot if possible (it is a *visual* changelog) * Your full name for the image credits. Please take a look at the existing entries to ensure that you are not duplicating work. @Nyall maybe it would be nice to get another entry for composer summarising all the other improvements you have made, I know I haven't done the work you have done justice in the list so far. [1] http://changelog.linfiniti.com/qgis/version/21/ Thanks -- Tim Sutton - QGIS Project Steering Committee Member == Please do not email me off-list with technical support questions. Using the lists will gain more exposure for your issues and the knowledge surrounding your issue will be shared with all. Irc: timlinux on #qgis at freenode.net == ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing listQgis-developer@lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/qgis-developer -- Dr. Marco Hugentobler Sourcepole - Linux Open Source Solutions Weberstrasse 5, CH-8004 Zürich, switzerlandmarco.hugentob...@sourcepole.ch http://www.sourcepole.ch Technical Advisor QGIS Project Steering Committee ___ 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 -- Tim Sutton - QGIS Project Steering Committee Member == Please do not email me off-list with technical support questions. Using the lists will gain more exposure for your issues and the knowledge surrounding your issue will be shared with all. Irc: timlinux on #qgis at freenode.net == ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] On the fly simplication of point layers
Hi On Wed, Jan 22, 2014 at 2:47 PM, Tim Sutton li...@linfiniti.com wrote: Hi On Wed, Jan 22, 2014 at 1:23 PM, Martin Dobias wonder...@gmail.comwrote: On Wed, Jan 22, 2014 at 4:33 PM, Tim Sutton li...@linfiniti.com wrote: Actually the point displacement renderer already does clustering, though it lacks more options to customize how the clustered symbol would look like. Doesnt it do the reverse? i.e. when more than one point falls in the same place, it shifts them aside so they are all visible. If it can be made to produce a scaled symbol based on the number of underlying points that would be cool.That would also be a good time to change its name to 'Custer or displace' or something. I think that was what the renderer did originally, but nowadays it also groups points within configured distance. Unfortunately it always tries to draw a circle around the clustered point with original symbols. If we introduced few rendering options, it would be more useful: - draw just the clustered symbol for the whole group - scale the clustered symbol depending on the number of points inside Yeah that should do it! I tested with a large point dataset (geonames ~3.5 million records). Basically enabling the point displacement renderer on that layer kills (or takes so long I killed it) QGIS. Since the essence of clustering is to speed up rendering times and reduce visual clutter, I suspect simple tweaks to the renderer would not be enough. Regards Tim Regards Tim Cheers Martin -- Tim Sutton - QGIS Project Steering Committee Member == Please do not email me off-list with technical support questions. Using the lists will gain more exposure for your issues and the knowledge surrounding your issue will be shared with all. Irc: timlinux on #qgis at freenode.net == -- Tim Sutton - QGIS Project Steering Committee Member == Please do not email me off-list with technical support questions. Using the lists will gain more exposure for your issues and the knowledge surrounding your issue will be shared with all. Irc: timlinux on #qgis at freenode.net == ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] On the fly simplication of point layers
Hi! About simplification (no clustering), I think that the If we discard points based on the distance to the last fetched and rendered point (https://github.com/qgis/QGIS/blob/master/src/core/qgsfeatureiterator.cpp#L36) it will be very effective to render big dense points layers. I have a GIS application using this technique and it draws LAS files ( 30mb) fast. I would like write a point simplifier in QGIS to validate results. Do you agree ? Alvaro De: Tim Sutton li...@linfiniti.com Para: Martin Dobias wonder...@gmail.com CC: qgis-developer qgis-developer@lists.osgeo.org; t...@wildintellect.com t...@wildintellect.com Enviado: Jueves 23 de enero de 2014 23:16 Asunto: Re: [Qgis-developer] On the fly simplication of point layers Hi On Wed, Jan 22, 2014 at 2:47 PM, Tim Sutton li...@linfiniti.com wrote: Hi On Wed, Jan 22, 2014 at 1:23 PM, Martin Dobias wonder...@gmail.com wrote: On Wed, Jan 22, 2014 at 4:33 PM, Tim Sutton li...@linfiniti.com wrote: Actually the point displacement renderer already does clustering, though it lacks more options to customize how the clustered symbol would look like. Doesnt it do the reverse? i.e. when more than one point falls in the same place, it shifts them aside so they are all visible. If it can be made to produce a scaled symbol based on the number of underlying points that would be cool.That would also be a good time to change its name to 'Custer or displace' or something. I think that was what the renderer did originally, but nowadays it also groups points within configured distance. Unfortunately it always tries to draw a circle around the clustered point with original symbols. If we introduced few rendering options, it would be more useful: - draw just the clustered symbol for the whole group - scale the clustered symbol depending on the number of points inside Yeah that should do it! I tested with a large point dataset (geonames ~3.5 million records). Basically enabling the point displacement renderer on that layer kills (or takes so long I killed it) QGIS. Since the essence of clustering is to speed up rendering times and reduce visual clutter, I suspect simple tweaks to the renderer would not be enough. Regards Tim Regards Tim Cheers Martin -- Tim Sutton - QGIS Project Steering Committee Member == Please do not email me off-list with technical support questions. Using the lists will gain more exposure for your issues and the knowledge surrounding your issue will be shared with all. Irc: timlinux on #qgis at freenode.net == -- Tim Sutton - QGIS Project Steering Committee Member == Please do not email me off-list with technical support questions. Using the lists will gain more exposure for your issues and the knowledge surrounding your issue will be shared with all. Irc: timlinux on #qgis at freenode.net == ___ 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] QGIS build error in visual studio
This is apparently due to a difference in implementation of std::swap. Sorry for that. This should fix the problem: https://github.com/qgis/QGIS/pull/1106 On 23/01/2014 18:42, A Huarte wrote: Hi dev, now I have updated my master repository, I can not build QGIS in visual studio. May be this commit ? https://github.com/qgis/QGIS/commit/e8205c98c938b60569c30d5c0bbec3acab1f441a I get these errors... 2 qgssinglesymbolrendererv2.cpp 2c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(102): error C2248: 'QScopedPointerT::QScopedPointer' : cannot access private member declared in class 'QScopedPointerT' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2 D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointerT::QScopedPointer' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2 ..\..\..\QGIS\src\core\symbology-ng\qgssinglesymbolrendererv2.cpp(59) : see reference to function template instantiation 'void std::swapQScopedPointerT(_Ty ,_Ty )' being compiled 2 with 2 [ 2 T=QgsSymbolV2, 2 _Ty=QScopedPointerQgsSymbolV2 2 ] 2c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(103): error C2248: 'QScopedPointerT::operator =' : cannot access private member declared in class 'QScopedPointerT' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2 D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointerT::operator =' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(104): error C2248: 'QScopedPointerT::operator =' : cannot access private member declared in class 'QScopedPointerT' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2 D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointerT::operator =' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(102): error C2248: 'QScopedPointerT::QScopedPointer' : cannot access private member declared in class 'QScopedPointerT' 2 with 2 [ 2 T=QgsExpression 2 ] 2 D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointerT::QScopedPointer' 2 with 2 [ 2 T=QgsExpression 2 ] 2 ..\..\..\QGIS\src\core\symbology-ng\qgssinglesymbolrendererv2.cpp(60) : see reference to function template instantiation 'void std::swapQScopedPointerT(_Ty ,_Ty )' being compiled 2 with 2 [ 2 T=QgsExpression, 2 _Ty=QScopedPointerQgsExpression 2 ] 2c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(103): error C2248: 'QScopedPointerT::operator =' : cannot access private member declared in class 'QScopedPointerT' 2 with 2 [ 2 T=QgsExpression 2 ] 2 D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointerT::operator =' 2 with 2 [ 2 T=QgsExpression 2 ] 2c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(104): error C2248: 'QScopedPointerT::operator =' : cannot access private member declared in class 'QScopedPointerT' 2 with 2 [ 2 T=QgsExpression 2 ] 2 D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointerT::operator =' 2 with 2 [ 2 T=QgsExpression 2 ] 2 qgscategorizedsymbolrendererv2.cpp 2c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(102): error C2248: 'QScopedPointerT::QScopedPointer' : cannot access private member declared in class 'QScopedPointerT' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2 D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointerT::QScopedPointer' 2 with 2 [ 2 T=QgsSymbolV2 2 ] 2 ..\..\..\QGIS\src\core\symbology-ng\qgscategorizedsymbolrendererv2.cpp(59) : see reference to function template instantiation 'void std::swapQScopedPointerT(_Ty ,_Ty )' being compiled 2 with 2 [ 2 T=QgsSymbolV2, 2 _Ty=QScopedPointerQgsSymbolV2 2 ] 2c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(103): error C2248: 'QScopedPointerT::operator =' : cannot access private member declared in class 'QScopedPointerT' 2 with
Re: [Qgis-developer] Multigeom postgis tables display
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 24/01/2014 07:39, Sandro Santilli ha scritto: I haven't had an use either (while I'm full of those tables). Geometries are usually not something that you want to edit manually, especially using a desktop GIS... But it could be interesting to see if simply displaying less of it (limit on size, click to expand?) would get the speed back. There would be the same problem with big values of other data types (think text). Hi all. The speed issue could be solved by using the same approach of DB Manager (reading and displaying only the geometry type). This could also avoid the problem with editing. However, I do not see any reason to show an user geometry columns, and in case there is a reason, why showing only non-loaded geometries? All the best. - -- Paolo Cavallini - www.faunalia.eu Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iEYEARECAAYFAlLiDqUACgkQ/NedwLUzIr791gCeLaDWMcGgbMgtDTCrTAvYcAeS MlYAn29LKoa9/3bOMicIigvfyI/iv1qY =eymt -END PGP SIGNATURE- ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] On the fly simplication of point layers
Hi On Fri, Jan 24, 2014 at 1:12 AM, A Huarte ahuart...@yahoo.es wrote: Hi! About simplification (no clustering), I think that the If we discard points based on the distance to the last fetched and rendered point ( https://github.com/qgis/QGIS/blob/master/src/core/qgsfeatureiterator.cpp#L36) it will be very effective to render big dense points layers. I have a GIS application using this technique and it draws LAS files ( 30mb) fast. I would like write a point simplifier in QGIS to validate results. Do you agree ? I think this would be great. Since you are doing a full scan of the dataset, you should be able to count how many points each aggregate point represents right? I was thinking we could pass that the the renderer as a 'virtual' attribute so that we can use it to e.g. scale the symbol size. +1 from me to implement this anyway as a new cluster renderer (or a patch the point displacement renderer if that seems workable). Regards Tim Alvaro -- *De:* Tim Sutton li...@linfiniti.com *Para:* Martin Dobias wonder...@gmail.com *CC:* qgis-developer qgis-developer@lists.osgeo.org; t...@wildintellect.com t...@wildintellect.com *Enviado:* Jueves 23 de enero de 2014 23:16 *Asunto:* Re: [Qgis-developer] On the fly simplication of point layers Hi On Wed, Jan 22, 2014 at 2:47 PM, Tim Sutton li...@linfiniti.com wrote: Hi On Wed, Jan 22, 2014 at 1:23 PM, Martin Dobias wonder...@gmail.comwrote: On Wed, Jan 22, 2014 at 4:33 PM, Tim Sutton li...@linfiniti.com wrote: Actually the point displacement renderer already does clustering, though it lacks more options to customize how the clustered symbol would look like. Doesnt it do the reverse? i.e. when more than one point falls in the same place, it shifts them aside so they are all visible. If it can be made to produce a scaled symbol based on the number of underlying points that would be cool.That would also be a good time to change its name to 'Custer or displace' or something. I think that was what the renderer did originally, but nowadays it also groups points within configured distance. Unfortunately it always tries to draw a circle around the clustered point with original symbols. If we introduced few rendering options, it would be more useful: - draw just the clustered symbol for the whole group - scale the clustered symbol depending on the number of points inside Yeah that should do it! I tested with a large point dataset (geonames ~3.5 million records). Basically enabling the point displacement renderer on that layer kills (or takes so long I killed it) QGIS. Since the essence of clustering is to speed up rendering times and reduce visual clutter, I suspect simple tweaks to the renderer would not be enough. Regards Tim Regards Tim Cheers Martin -- Tim Sutton - QGIS Project Steering Committee Member == Please do not email me off-list with technical support questions. Using the lists will gain more exposure for your issues and the knowledge surrounding your issue will be shared with all. Irc: timlinux on #qgis at freenode.net == -- Tim Sutton - QGIS Project Steering Committee Member == Please do not email me off-list with technical support questions. Using the lists will gain more exposure for your issues and the knowledge surrounding your issue will be shared with all. Irc: timlinux on #qgis at freenode.net == ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -- Tim Sutton - QGIS Project Steering Committee Member == Please do not email me off-list with technical support questions. Using the lists will gain more exposure for your issues and the knowledge surrounding your issue will be shared with all. Irc: timlinux on #qgis at freenode.net == ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer