[Qgis-developer] Status of 2.8.1 offering on QGIS website
Greetings, I got contacted by a student yesterday asking whether 2.8 was out. He knew of release date and visited website but only saw 2.6.1. Would be good to update website ASAP. Cheers Math ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Strange behaviour in feature ids when editing PostGIS layer
On Fri, Feb 27, 2015 at 08:37:11PM +0100, Jürgen E. Fischer wrote: > Hi Sandro, > > On Fri, 27. Feb 2015 at 17:35:37 +0100, Sandro Santilli wrote: > > In any case the reported behavior does sound like a bug to me, so > > I still think it should get a ticket, don't you ? > > Well, ctid is not a reliable key. The ctid will also change if something > else > modifies the row. Maybe postgis layers without any key should be readonly. Agreed, least surprise. --strk; ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Get starting point during add feature
derivate or use directly an instance of: http://qgis.org/api/classQgsMapToolEmitPoint.html every mapTool has methods to convert pixel coordinates in map (OTF) or layer coordinates. or if you want to piggyback qgis editing, attach the editing signal of the QgsVectorLayer or that of the QgsVectorLayerEditBuffer. avoid using editing with dataProvider otherwise no event will be emitted. regards, Luigi Pirelli On 27 February 2015 at 16:20, francescobocca...@libero.it wrote: > Hi all, > I'm writing a plugin and i would like to get the first (starting point) > vertex of a line vector feature during editing. > The steps are: > 1) enable a line vector to be editable > 2)click on add feature button > 3)When i click on mapcanvas to draw my first point, i would like to get the > point and convert it into mapcoordinate > > The scope of it is to add a feature (point feature - starting point) to a > test point layer so i can 'Autosnap' my drawing feature to the starting > point. > Anyone can help me? > > Thanks > > Francesco > > > > ___ > 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] Print composer font pickers are broken
Pedro Venâncio-2 wrote > Fixed! > > Thanks Jurgen! wow, three hours since my observation: fast ticket... thank you pedro, thank you jurgen s. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Print-composer-font-pickers-are-broken-tp5189118p5190563.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] Print composer font pickers are broken
Fixed! Thanks Jurgen! 2015-02-27 19:23 GMT+00:00 Pedro Venâncio : > I confirm here, also in master. > > This only occurs in "Table heading" font. With "Table contents" everything > seems ok. > > I will reopen the ticket. > > Pedro > > > > > 2015-02-27 17:16 GMT+00:00 skampus : > >> ciao, >> i heve just updated to 2.8.1 but it seems that problem still exists. >> >> it seems it is not possible to change the style of fonts (bold, italics) >> in >> the column header of tables inserted into composer. >> >> is this only a problem of mine? >> >> s. >> >> >> >> -- >> View this message in context: >> http://osgeo-org.1560.x6.nabble.com/Print-composer-font-pickers-are-broken-tp5189118p5190526.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] Possible regression with QGIS v2.8.1 with rasters rotated/skew via worldfile
Hi Jesse, Can you see if Nyall commit https://github.com/qgis/QGIS/commit/f106a2ef999224f1f1b7f214d08b039749d6111b solves the problem you reported, and/or share some sample data? Thanks! Best regards, Pedro 2015-02-27 19:41 GMT+00:00 Jesse McGraw : > Thanks Even. Do you ever sleep? :) > > On Fri, Feb 27, 2015 at 2:32 PM, Even Rouault > wrote: > >> Le vendredi 27 février 2015 20:23:49, Jesse McGraw a écrit : >> > I'm seeing a potential regression with QGIS v2.8.1 on under Xubuntu >> v14.10 >> > >> > I'm loading some .PNGs that have .wld files associated with them. Ones >> > that have rotation/skew values other than 0 are no longer displaying >> where >> > they had been working fine under v2.6.1. Rasters that have 0 >> rotation/skew >> > values show up fine and are georeferenced properly >> > >> >> You likely hit http://hub.qgis.org/issues/12264 / >> >> https://github.com/qgis/QGIS/commit/f106a2ef999224f1f1b7f214d08b039749d6111b >> >> Has been fixed in master, but not backported yet in 2.8 branch AFAICS >> >> Possible workaround if you're stuck. Use output of "gdalwarp your.png >> out.tif" >> or "gdalwarp your.png out.vrt -of VRT" >> >> > I tried toggling off the experimental canvas rotation option but that >> > didn't help >> > >> > I can send the raster and world files if it will help any >> troubleshooting. >> > >> > Thanks, >> > Jesse >> > >> > >> > About QGIS: >> > QGIS version2.8.1-WienQGIS code revisionexported >> > Compiled against Qt4.8.6Running against Qt4.8.6 >> > Compiled against GDAL/OGR1.10.1Running against GDAL/OGR >> 1.10.1 >> > Compiled against GEOS3.4.2-CAPI-1.8.2Running against GEOS >> > 3.4.2-CAPI-1.8.2 r3921 >> > PostgreSQL Client Version9.4beta3SpatiaLite Version4.1.1 >> > QWT Version5.2.3PROJ.4 Version480 >> > QScintilla2 Version 2.8.3 >> >> -- >> Spatialys - Geospatial professional services >> http://www.spatialys.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] Possible regression with QGIS v2.8.1 with rasters rotated/skew via worldfile
Thanks Even. Do you ever sleep? :) On Fri, Feb 27, 2015 at 2:32 PM, Even Rouault wrote: > Le vendredi 27 février 2015 20:23:49, Jesse McGraw a écrit : > > I'm seeing a potential regression with QGIS v2.8.1 on under Xubuntu > v14.10 > > > > I'm loading some .PNGs that have .wld files associated with them. Ones > > that have rotation/skew values other than 0 are no longer displaying > where > > they had been working fine under v2.6.1. Rasters that have 0 > rotation/skew > > values show up fine and are georeferenced properly > > > > You likely hit http://hub.qgis.org/issues/12264 / > > https://github.com/qgis/QGIS/commit/f106a2ef999224f1f1b7f214d08b039749d6111b > > Has been fixed in master, but not backported yet in 2.8 branch AFAICS > > Possible workaround if you're stuck. Use output of "gdalwarp your.png > out.tif" > or "gdalwarp your.png out.vrt -of VRT" > > > I tried toggling off the experimental canvas rotation option but that > > didn't help > > > > I can send the raster and world files if it will help any > troubleshooting. > > > > Thanks, > > Jesse > > > > > > About QGIS: > > QGIS version2.8.1-WienQGIS code revisionexported > > Compiled against Qt4.8.6Running against Qt4.8.6 > > Compiled against GDAL/OGR1.10.1Running against GDAL/OGR1.10.1 > > Compiled against GEOS3.4.2-CAPI-1.8.2Running against GEOS > > 3.4.2-CAPI-1.8.2 r3921 > > PostgreSQL Client Version9.4beta3SpatiaLite Version4.1.1 > > QWT Version5.2.3PROJ.4 Version480 > > QScintilla2 Version 2.8.3 > > -- > Spatialys - Geospatial professional services > http://www.spatialys.com > ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Strange behaviour in feature ids when editing PostGIS layer
Hi Sandro, On Fri, 27. Feb 2015 at 17:35:37 +0100, Sandro Santilli wrote: > In any case the reported behavior does sound like a bug to me, so > I still think it should get a ticket, don't you ? Well, ctid is not a reliable key. The ctid will also change if something else modifies the row. Maybe postgis layers without any key should be readonly. That would also help with Victor's problem, but probably not in a desired way ;) Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de QGIS release manager (PSC) GermanyIRC: jef on FreeNode signature.asc Description: Digital signature ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Possible regression with QGIS v2.8.1 with rasters rotated/skew via worldfile
Le vendredi 27 février 2015 20:23:49, Jesse McGraw a écrit : > I'm seeing a potential regression with QGIS v2.8.1 on under Xubuntu v14.10 > > I'm loading some .PNGs that have .wld files associated with them. Ones > that have rotation/skew values other than 0 are no longer displaying where > they had been working fine under v2.6.1. Rasters that have 0 rotation/skew > values show up fine and are georeferenced properly > You likely hit http://hub.qgis.org/issues/12264 / https://github.com/qgis/QGIS/commit/f106a2ef999224f1f1b7f214d08b039749d6111b Has been fixed in master, but not backported yet in 2.8 branch AFAICS Possible workaround if you're stuck. Use output of "gdalwarp your.png out.tif" or "gdalwarp your.png out.vrt -of VRT" > I tried toggling off the experimental canvas rotation option but that > didn't help > > I can send the raster and world files if it will help any troubleshooting. > > Thanks, > Jesse > > > About QGIS: > QGIS version2.8.1-WienQGIS code revisionexported > Compiled against Qt4.8.6Running against Qt4.8.6 > Compiled against GDAL/OGR1.10.1Running against GDAL/OGR1.10.1 > Compiled against GEOS3.4.2-CAPI-1.8.2Running against GEOS > 3.4.2-CAPI-1.8.2 r3921 > PostgreSQL Client Version9.4beta3SpatiaLite Version4.1.1 > QWT Version5.2.3PROJ.4 Version480 > QScintilla2 Version 2.8.3 -- Spatialys - Geospatial professional services http://www.spatialys.com ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Print composer font pickers are broken
I confirm here, also in master. This only occurs in "Table heading" font. With "Table contents" everything seems ok. I will reopen the ticket. Pedro 2015-02-27 17:16 GMT+00:00 skampus : > ciao, > i heve just updated to 2.8.1 but it seems that problem still exists. > > it seems it is not possible to change the style of fonts (bold, italics) in > the column header of tables inserted into composer. > > is this only a problem of mine? > > s. > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/Print-composer-font-pickers-are-broken-tp5189118p5190526.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
[Qgis-developer] Possible regression with QGIS v2.8.1 with rasters rotated/skew via worldfile
I'm seeing a potential regression with QGIS v2.8.1 on under Xubuntu v14.10 I'm loading some .PNGs that have .wld files associated with them. Ones that have rotation/skew values other than 0 are no longer displaying where they had been working fine under v2.6.1. Rasters that have 0 rotation/skew values show up fine and are georeferenced properly I tried toggling off the experimental canvas rotation option but that didn't help I can send the raster and world files if it will help any troubleshooting. Thanks, Jesse About QGIS: QGIS version2.8.1-WienQGIS code revisionexported Compiled against Qt4.8.6Running against Qt4.8.6 Compiled against GDAL/OGR1.10.1Running against GDAL/OGR1.10.1 Compiled against GEOS3.4.2-CAPI-1.8.2Running against GEOS 3.4.2-CAPI-1.8.2 r3921 PostgreSQL Client Version9.4beta3SpatiaLite Version4.1.1 QWT Version5.2.3PROJ.4 Version480 QScintilla2 Version 2.8.3 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Print composer font pickers are broken
ciao, i heve just updated to 2.8.1 but it seems that problem still exists. it seems it is not possible to change the style of fonts (bold, italics) in the column header of tables inserted into composer. is this only a problem of mine? s. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Print-composer-font-pickers-are-broken-tp5189118p5190526.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] Strange behaviour in feature ids when editing PostGIS layer
On Fri, Feb 27, 2015 at 04:57:39PM +0100, Jürgen E. Fischer wrote: > Hi Sandro, > > On Fri, 27. Feb 2015 at 16:43:23 +0100, Sandro Santilli wrote: > > Victor, I've been thinking of this problem overnight and thought > > that maybe it could be fixed by having QGIS use UPDATE..RETURNING > > to update the associated key. > > And return it where? In the current vector provider interface only > ::addFeatures gets QgsFeature (and already updates their id), but > changeAttributeValues and changeGeometryValues only get attributes or geometry > along with the original feature id. Sorry, I hadn't looked at the actual code, was just an idea. Didn't know there was support for auto-updating IDs already (great!). In any case the reported behavior does sound like a bug to me, so I still think it should get a ticket, don't you ? --strk; ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Strange behaviour in feature ids when editing PostGIS layer
Hi Sandro, On Fri, 27. Feb 2015 at 16:43:23 +0100, Sandro Santilli wrote: > Victor, I've been thinking of this problem overnight and thought > that maybe it could be fixed by having QGIS use UPDATE..RETURNING > to update the associated key. And return it where? In the current vector provider interface only ::addFeatures gets QgsFeature (and already updates their id), but changeAttributeValues and changeGeometryValues only get attributes or geometry along with the original feature id. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de QGIS release manager (PSC) GermanyIRC: jef on FreeNode signature.asc Description: Digital signature ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Strange behaviour in feature ids when editing PostGIS layer
On Fri, Feb 06, 2015 at 12:54:20PM +0100, Victor Olaya wrote: > Correct, no PK in my table. What you say sounds feasible. I will try > with another table that has a PK, and see if I can reproduce the error > or not. > > I cannot expect to have a PK in the user's table, but this is at least > a clue :-) Victor, I've been thinking of this problem overnight and thought that maybe it could be fixed by having QGIS use UPDATE..RETURNING to update the associated key. Actually, the same approach could be used for keys that are subject to change due to triggers. If you file a ticket for the problem it will be easier to deal with it, or did you already ? --strk; > 2015-02-06 12:48 GMT+01:00 Martin Dobias : > > Hi Victor > > > > On Fri, Feb 6, 2015 at 5:39 PM, Victor Olaya wrote: > >> > >> > >> In the case of a PostGIS layer, when the editingStopped signal is > >> emitted, the query will return no features. The feature with id 1 is > >> no longer there, and instead there will be a feature with id equal to > >> 4. So basically it seems that a modification of a feature is really a > >> removal and then an addition, and the added feature has a different id > >> than the removed one, > > > > > > Does you table have a primary key? What is the table definition? > > > > If the postgres provider can't find a primary key, it will try to use ctid > > as the ID. Then I think what you say can happen - when updating a row, > > postgres removes the old row and appends a new one and the ctid will change. > > > > Cheers > > Martin > > > ___ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer -- () Free GIS & Flash consultant/developer /\ http://strk.keybit.net/services.html ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Get starting point during add feature
Hi all, I'm writing a plugin and i would like to get the first (starting point) vertex of a line vector feature during editing. The steps are: 1) enable a line vector to be editable 2)click on add feature button 3)When i click on mapcanvas to draw my first point, i would like to get the point and convert it into mapcoordinate The scope of it is to add a feature (point feature - starting point) to a test point layer so i can 'Autosnap' my drawing feature to the starting point. Anyone can help me? Thanks Francesco ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] login to postgres/postgis from QGIS
On Friday, February 27, 2015 8:08:13 Otto Dassau wrote: > Hi, > > I cannot login to a postgis database with QGIS as a normal user 'testuser'. > But I can login with psql and using pgadmin3. > > CREATE ROLE testuser LOGIN > NOSUPERUSER INHERIT NOCREATEDB NOCREATEROLE NOREPLICATION; > > I get following error in QGIS: > > CET ERROR: function postgis_version() does not exist at character 8 > CET HINT: No function matches the given name and argument types. You might > need to add explicit type casts. > CET STATEMENT: SELECT postgis_version() > > If I create another user as SUPERUSER I can login without problems. What > could be the reason for this? > > Thanks a lot Otto, Some tips: Check testuser can access to the public schema and geometry_column, geography_column. Something like: GRANT ALL TO SCHEMA public to public; GRANT ALL ON ALL TABLES IN SCHEMA public TO public; public role is a specific role which contains all user. Y. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer