Re: [Qgis-developer] Label backgrounds (shape, SVG, drop shadow)

2013-04-09 Thread Werner Macho
Hi! Well I'd still vote +1 for integrating To me it does make a lot more sense to break the API NOW with 2.0 than introducing some small glitches afterwards again with 2.1 or 2.2 It's just that the Hackfest starts on Thursday and .. it should be good to have all API changes pulled in by then ..

Re: [Qgis-developer] Mac enviromental variable problem

2013-04-09 Thread Larry Shaffer
Hi Francesco, On Tue, Apr 9, 2013 at 2:06 AM, francescobocca...@libero.it francescobocca...@libero.it wrote: Hi all, i have a question about enviromental variable on Mac. From python shell i can import psycopg2 module. If i use Python console from QGIS this module it can found. I have to

[Qgis-developer] Postgis Multipolygon :: cannot create a feature

2013-04-09 Thread Denis Rouzaud
Hi all, I have a postgis layer of multipolygon. If I create a new feature in QGIS with a single polygon in it, I have the error: PostGIS error while adding features: ERROR: Geometry type (Polygon) does not match column type (MultiPolygon) Did I missed something? Because to me, a

Re: [Qgis-developer] Postgis Multipolygon :: cannot create a feature

2013-04-09 Thread Régis Haubourg
+1 with you Denis. This restriction also implies severe known bugs when using merge or clip tools that creates POLYGON and not MULTIPOLYGON. Currently, I solve this by modifying postgis constraint so that it accepts POLYGON or MULTIPOLYGON. Bu this is a bad practice. I would really prefer that

Re: [Qgis-developer] Postgis Multipolygon :: cannot create a feature

2013-04-09 Thread Denis Rouzaud
Shall I fill an issue? On 04/09/2013 02:10 PM, Régis Haubourg wrote: +1 with you Denis. This restriction also implies severe known bugs when using merge or clip tools that creates POLYGON and not MULTIPOLYGON. Currently, I solve this by modifying postgis constraint so that it accepts POLYGON

Re: [Qgis-developer] Postgis Multipolygon :: cannot create a feature

2013-04-09 Thread HAUBOURG
That would be a good idea, and I really think it could be a blocker because it leads to dead-end when editing, and sometimes leads to data loss. ( Joeren already solved that critical issue, because postgres provider dropped rows before inserting new rows, and all was lost if a constraint error

Re: [Qgis-developer] Postgis Multipolygon :: cannot create a feature

2013-04-09 Thread Denis Rouzaud
http://hub.qgis.org/issues/7555 On 04/09/2013 02:18 PM, Régis Haubourg wrote: That would be a good idea, and I really think it could be a blocker because it leads to dead-end when editing, and sometimes leads to data loss. ( Joeren already solved that critical issue, because postgres

[Qgis-developer] [Python] QgsFeatureIterator for geometryless PostgreSQL-Layer

2013-04-09 Thread Bernhard Ströbl
of virus signature database 8209 (20130409) __ 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] [Python] QgsFeatureIterator for geometryless PostgreSQL-Layer

2013-04-09 Thread Bernhard Ströbl
( QgsFeatureRequest.NoGeometry ) ) should work. Not really a bug, but inconvienent. Jürgen __ Information from ESET Mail Security, version of virus signature database 8211 (20130409) __ The message was checked by ESET Mail Security. http://www.eset.com