Re: [Qgis-developer] QgisLogger can be a serious bottleneck

2014-07-05 Thread G. Allegri
. If the difference of two polygons is a collection with some polygons, some lines and some points. What happened to this collection in QGIS ? Thx, A. 2014-07-05 16:03 GMT+02:00 G. Allegri gioha...@gmail.com: Hi Andrea, as I said above I'm not considering it an error. The topic of this post

[Qgis-developer] RasterFileWriter creates 5 times bigger geotiff then gdal_translate

2014-07-05 Thread G. Allegri
Causally I hit the save as raster dialog, and I tried to export a raster to layer (coming from an ASCII Grid source) to Geotiff, with no creation options set. The result was a file 3 times bigger then the original ASCII, and 5 times bigger then the Geotiff created by gdal_translate. gdalinfo on

Re: [Qgis-developer] Geom collection and QGIS (was QgisLogger can be a serious bottleneck)

2014-07-05 Thread G. Allegri
, Andrea. 2014-07-05 16:47 GMT+02:00 G. Allegri gioha...@gmail.com: AFAICS whenever a new feature needs to be created, geom collections are discarded, because QGIS cannot manage them. giovanni 2014-07-05 16:40 GMT+02:00 Andrea Peri aperi2...@gmail.com: Ok, sorry. Just a my

Re: [Qgis-developer] RasterFileWriter creates 5 times bigger geotiff then gdal_translate

2014-07-05 Thread G. Allegri
I haven't spot tha exact point where this happens but QGIS exports Float64, even if the origin was Float32. giovanni 2014-07-05 16:54 GMT+02:00 G. Allegri gioha...@gmail.com: Causally I hit the save as raster dialog, and I tried to export a raster to layer (coming from an ASCII Grid source

Re: [Qgis-developer] Geom collection and QGIS (was QgisLogger can be a serious bottleneck)

2014-07-05 Thread G. Allegri
-05 17:23 GMT+02:00 G. Allegri gioha...@gmail.com: (I changed the topic) Geometry collections in QGIS must be treated at the GEOS level. There isnt a QGIS::wkbType for geometry collections, so if GEOS return a collection they must be managed as GEOS geometries, before moving them up

Re: [Qgis-developer] RasterFileWriter creates 5 times bigger geotiff then gdal_translate

2014-07-05 Thread G. Allegri
Sorry for the buzz. It's not QGIS fault, it's GDAL itself which reads the ASCII Grid as Float64, but I wonder why contrarily gdalinfo and gdal_translate treats it as Float32... 2014-07-05 18:56 GMT+02:00 G. Allegri gioha...@gmail.com: I haven't spot tha exact point where this happens but QGIS

Re: [Qgis-developer] Geom collection and QGIS (was QgisLogger can be a serious bottleneck)

2014-07-05 Thread G. Allegri
). Regards, Larry If this capability is not available in qgis is a problem of qgis not of geos. :) A. 2014-07-05 17:23 GMT+02:00 G. Allegri gioha...@gmail.com: (I changed the topic) Geometry collections in QGIS must be treated at the GEOS level. There isnt a QGIS

Re: [Qgis-developer] RasterFileWriter creates 5 times bigger geotiff then gdal_translate

2014-07-08 Thread G. Allegri
on the same file? Radim 2014-07-05 18:56 GMT+02:00 G. Allegri gioha...@gmail.com: I haven't spot tha exact point where this happens but QGIS exports Float64, even if the origin was Float32. giovanni 2014-07-05 16:54 GMT+02:00 G. Allegri gioha...@gmail.com: Causally I hit

Re: [Qgis-developer] Reverse order in PostGIS commit?

2014-07-10 Thread G. Allegri
Jurgen, I agree with Paolo. It is sensitive for any other data workflow which relies on this information. Edited data is not only reused within QGIS (where it may get loaded in a different order). giovanni 2014-07-10 17:03 GMT+02:00 Jürgen E. j...@norbit.de: Hi George, On Thu, 10. Jul 2014

Re: [Qgis-developer] Is fastest (not shortest) path routing possible in PyQGIS

2014-07-17 Thread G. Allegri
AFAICS onli the distance properter is exposed: https://github.com/qgis/QGIS/tree/master/python/analysis/network giovanni Il 17/lug/2014 18:53 Anita Graser anitagra...@gmx.at ha scritto: Hi, The network analysis lib allows shortest path routing as documented in the PyQGIS Cookbook and the API

Re: [Qgis-developer] Is fastest (not shortest) path routing possible in PyQGIS

2014-07-20 Thread G. Allegri
PM, G. Allegri gioha...@gmail.com wrote: AFAICS onli the distance properter is exposed: https://github.com/qgis/QGIS/tree/master/python/analysis/network giovanni Il 17/lug/2014 18:53 Anita Graser anitagra...@gmx.at ha scritto: Hi, The network analysis lib allows shortest path

[Qgis-developer] tracking main development efforts

2014-07-26 Thread G. Allegri
Recently two topics were discussed on this list: - development of SQL abstraction to support more advanced expressions - reporting engine (scheduled for 2.8) I imagine there are other ongoing big efforts to improve QGIS. Shouldn't we have a wiki page (or else) where each main dev topic can be

Re: [Qgis-developer] QEP: QGIS Mapserver Python Plugins

2014-08-29 Thread G. Allegri
2014-08-29 12:23 GMT+02:00 Andrea Peri aperi2...@gmail.com: The startuptime increase if iT should lo ad the python environment. All the best. The startup will happen only the first time, unless you use CGI and not FCGI. Anyway, I proposed it a couple of years ago, but many told it was

[Qgis-developer] [Processing] v.voronoi test shouldn't be logged

2014-09-26 Thread G. Allegri
Every time a GRASS alorithm is run the following log appears: processing.runalg(grass:v.voronoi,C:/OSGeo4W/apps/qgis/./python/plugins\\processing\\tests\\data\\points.shp,False,False,270778.60198,270855.745301,4458921.97814,4458983.8488,-1,0.0001,0,None) I suppose it depends on the test at line

Re: [Qgis-developer] [Processing] v.voronoi test shouldn't be logged

2014-10-02 Thread G. Allegri
well done ;) 2014-10-02 18:16 GMT+02:00 Victor Olaya vola...@gmail.com: fixed! 2014-09-26 14:13 GMT+02:00 Victor Olaya vola...@gmail.com: good idea. Let's put it in my TODO list for the HF ;-) Thanks! 2014-09-26 13:31 GMT+02:00 G. Allegri gioha...@gmail.com: Every time a GRASS

Re: [Qgis-developer] RFC for python server plugins ready for voting

2014-10-04 Thread G. Allegri
+1 for the observer pattern. Having the ability to install middlewares within the flow would be great. In this case I would suggest to consider the opportunity to choose the plugin execution order (i.e. plugin1 request processing should happen before plugin2, etc.). +0 in case of the 404 method

[Qgis-developer] missing qscimod4.sip is stille there

2014-10-07 Thread G. Allegri
The problem with missing qscimod4.sip from some Debian/Ubuntu packages seems to be still an issue. Recently I upgraded to Ubuntu 14.04 and I cannot sompile the sip parts of Python yet. Nathan suggested [1] to disable the sip parts related to the code editors for the moment, but it seems it hasn't

Re: [Qgis-developer] missing qscimod4.sip is stille there

2014-10-07 Thread G. Allegri
bindings on Ubuntu 14.04. Regards Stefan *Von:* qgis-developer-boun...@lists.osgeo.org [mailto: qgis-developer-boun...@lists.osgeo.org] *Im Auftrag von *G. Allegri *Gesendet:* Dienstag, 7. Oktober 2014 09:54 *An:* qgis-developer *Betreff:* [Qgis-developer] missing qscimod4.sip is stille

Re: [Qgis-developer] missing qscimod4.sip is stille there

2014-10-07 Thread G. Allegri
I’m on a fresh installed 14.04. Regards Stefan *Von:* G. Allegri [mailto:gioha...@gmail.com] *Gesendet:* Dienstag, 7. Oktober 2014 10:12 *An:* Ziegler Stefan *Cc:* qgis-developer *Betreff:* Re: [Qgis-developer] missing qscimod4.sip is stille there Can you find that file

Re: [Qgis-developer] missing qscimod4.sip is stille there

2014-10-07 Thread G. Allegri
is „set“ to QSCI_SIP_DIR-NOTFOUND. What is this good for btw ? Regards Stefan *Von:* G. Allegri [mailto:gioha...@gmail.com] *Gesendet:* Dienstag, 7. Oktober 2014 10:28 *An:* Ziegler Stefan *Cc:* qgis-developer *Betreff:* Re: [Qgis-developer] missing qscimod4.sip is stille

[Qgis-developer] How to manage Negotiate proxy authentication?

2014-10-08 Thread G. Allegri
This is a question I should ask to Qt lists but I would like to know if anyone had the need to make QGIS work behind a proxy requiring Negotiate authentication. AFAICS the only authentication scheme supported by QtNetworkProxy is Basic, right? giovanni -- Giovanni Allegri

Re: [Qgis-developer] How to manage Negotiate proxy authentication?

2014-10-10 Thread G. Allegri
GMT+02:00 Jürgen E. j...@norbit.de: Hi Giovanni, On Wed, 08. Oct 2014 at 11:08:15 +0200, G. Allegri wrote: This is a question I should ask to Qt lists but I would like to know if anyone had the need to make QGIS work behind a proxy requiring Negotiate authentication. AFAICS the only

[Qgis-developer] QgsFeatureRequest.NoGeometry flag makes iterator return no features

2014-10-16 Thread G. Allegri
I need to iterate over a layer without the need of geometries. I rembember I used this flag time ago and it worked fine. Now, if I set this on the feature request, I get an empty set of features from the iterator. Am I doing something wrong? req = QgsFeatureRequest(QgsExpression('$area1000,00'))

Re: [Qgis-developer] QgsFeatureRequest.NoGeometry flag makes iterator return no features

2014-10-16 Thread G. Allegri
Great Salvatore, you're right. I thought the geometry wasn't passed by the iterator but it could be used during the request expression evaulation. That was wrong ;) giovanni 2014-10-16 20:44 GMT+02:00 Salvatore Larosa lrssv...@gmail.com: Hi Giovanni, On Thu, Oct 16, 2014 at 7:45 PM, G

[Qgis-developer] [qgis-web-client] New framework for QWC?

2014-10-20 Thread G. Allegri
If I'm not wrong this was a topic for the Hackfest. Did you talk it? giovanni -- Giovanni Allegri http://about.me/giovanniallegri Twitter: https://twitter.com/_giohappy_ blog: http://blog.spaziogis.it GEO+ geomatica in Italia http://bit.ly/GEOplus ___

Re: [Qgis-developer] QGIS Server Python Plugins API

2014-10-23 Thread G. Allegri
Hi Alessandro, I've read the latest version of the QEP and had a look to your repo. If I'm not wrong the current implementation doesn't provide custom services as in the initial proof of concept, but gives the opportunity to define middlewares before and after the requests have been processed by

Re: [Qgis-developer] QGIS Server Python Plugins API

2014-10-24 Thread G. Allegri
/qgis_map_serv.cpp#L423 2014-10-24 8:31 GMT+02:00 Alessandro Pasotti apaso...@gmail.com: 2014-10-23 20:20 GMT+02:00 G. Allegri gioha...@gmail.com: Hi Alessandro, I've read the latest version of the QEP and had a look to your repo. If I'm not wrong the current implementation doesn't provide custom

Re: [Qgis-developer] Changes in API documentation?

2014-11-03 Thread G. Allegri
I noticed that too. In previous API docs you could explore the code where a method, constant, etc is defined. Look at QgsLabel.renderLabel(): API master: http://qgis.org/api/classQgsLabel.html#a023a9722f96e7afd0a90788e0860a62d API 2.2:

Re: [Qgis-developer] Changes in API documentation?

2014-11-03 Thread G. Allegri
Thanks Jurger. Did you do it to keep the API docs cleaner? Anyway I was just explaining what I suppose Luigi meant. giovanni 2014-11-03 10:50 GMT+01:00 Jürgen E. j...@norbit.de: Hi Giovanni, On Mon, 03. Nov 2014 at 10:37:15 +0100, G. Allegri wrote: I noticed that too. In previous API

[Qgis-developer] Documentation roadmap?

2014-11-05 Thread G. Allegri
I know, I know, this is a delicate topic :) We need sponsors, volunteers, etc., as usual. Is there a roadmap for the update of the documentation? Since 2.2 a lot of (great) features have populated QGIS, and they worth an update to the docs. Who is coordinating the docs now? giovanni --

Re: [Qgis-developer] Composer... current status and the way forward?

2014-11-07 Thread G. Allegri
Hi Nyall, as I already told you privately, I agree with the second approach: remove the current Composer and guarantee transparent auto-upgrade of existing layouts in projects. The improvements to the composer worth the effort, and the consequent visual impact for users. The important thing is to

Re: [Qgis-developer] QGIS 3.0?

2014-11-08 Thread G. Allegri
+1 for LTS (2.6 or 2.8?). A new API break risks to make users (and plugin developers) quite nervous! E.G. the coming QEP from Nyall (about Composer refactoring) breaks Composer gui API, while it should mantain core. This could be included in an LTS release, while in QGIS 3.0 back compatibility

Re: [Qgis-developer] Composer... current status and the way forward?

2014-11-12 Thread G. Allegri
a.neum...@carto.net: Hi Nyall, I also think that option 2 would work best. Option one would be very confusing (I remember the days when we had two labeling versions, 2 symbology versions, etc. - awful!). Thanks, Andreas On 07.11.2014 16:16, G. Allegri wrote: Hi Nyall, as I already

Re: [Qgis-developer] Composer... current status and the way forward?

2014-11-12 Thread G. Allegri
PS: assuming the QEP will be accepted... Il 13/nov/2014 00:05 G. Allegri gioha...@gmail.com ha scritto: I'm not sure about the final scheduling for the composer refactoring. Following the discussions about LTS and QGIS 3.0 will it be shifted to 3.0? giovanni Il 11/nov/2014 21:20 Olivier

Re: [Qgis-developer] Processing with raster files 4GB

2014-11-19 Thread G. Allegri
From my grayscale tiff images I want to replace one pixel value (249) with white (255). All other pixels should stay at the value they have. I came across https://github.com/chiatt/gdal_reclassify - but this reclassifies all pixels, not only selected ones. Maybe I could use

Re: [Qgis-developer] Processing with raster files 4GB

2014-11-19 Thread G. Allegri
... giovanni 2014-11-19 10:44 GMT+01:00 Andreas Neumann a.neum...@carto.net: Hi Giovanni, I need to change all pixels that have the value of 249 to a value of 255. All other pixels should stay at their value. Andreas Am 2014-11-19 10:21, schrieb G. Allegri: From my grayscale tiff images I want

Re: [Qgis-developer] Processing with raster files 4GB

2014-11-19 Thread G. Allegri
not work too well. It probably works better on Linux. The gdal_calc.py solution works very fast though - glad that we came to this solution! Andreas On 19.11.2014 11:25, G. Allegri wrote: And do you have problems with GRASS (directly, not through Processing)? In GRASS7 you can even

Re: [Qgis-developer] QtXml is no longer maintained in Qt5

2014-12-04 Thread G. Allegri
QtXml is really, damn slow. PyQt with QtXml is worst then lxml, just to make a comparison. Switching to a streamlined xml parser would be advisable, but I know it would a deep refactoring for a lot of QGIS's code. Maybe it should be considered within the next big refactorings (geometry, composer,

Re: [Qgis-developer] Documentation for QGIS server

2014-12-11 Thread G. Allegri
Hi, as far as I know there'n no more yhen what you already found. The API are the WMS/WFS http requests (+ vendor params). It doesn't have an API like UMN Mapserver. What's going wrong with your setup? giovanni ___ Qgis-developer mailing list

Re: [Qgis-developer] Ugly jumping maps while zooming

2014-12-22 Thread G. Allegri
I agree with Nyall. I think putting hidden proof of concepts within an official release doesn't put QGIS in a good light. It could be ok some time ago, when QGIS was a niche, but not today. If a sponsorship campagin is required to complete the development we should pursue different marketing

Re: [Qgis-developer] QGIS for Windows with Qt 4.8?

2015-02-06 Thread G. Allegri
Thanks a lot Jurgen. Il 06/feb/2015 15:40 Jürgen E. j...@norbit.de ha scritto: Hi Giovanni, On Fri, 06. Feb 2015 at 13:11:04 +0100, G. Allegri wrote: At the moment QGIS for Windows is built against Qt 4.7. Only 32bit was still built against 4.7. OSGeo4W 32bit was meanwhile updated to Qt

Re: [Qgis-developer] QGIS Certification IRC meeting, Thrus 12 Feb, 2015

2015-02-06 Thread G. Allegri
Thanks Tim, I'll try to be there. giovanni 2015-02-06 16:34 GMT+01:00 Tim Sutton t...@kartoza.com: Hi All We will be holding a meeting on IRC to discuss QGIS training and certification on Thursday 12 Feb 2015 and 14h00 GMT in the channel #qgis-certification. If you have ideas about a

[Qgis-developer] QGIS for Windows with Qt 4.8?

2015-02-06 Thread G. Allegri
At the moment QGIS for Windows is built against Qt 4.7. Qt 4.8 has solved various minor issues, like with SVG rendering inside a QWebPage, which still affects QGIS 2.6. Will QGIS 2.8 be built with Qt 4.8? giovanni ___ Qgis-developer mailing list

Re: [Qgis-developer] QGIS for Windows with Qt 4.8?

2015-02-06 Thread G. Allegri
Maybe this is the answer: http://trac.osgeo.org/osgeo4w/wiki/pkg-qt4-libs Il 06/feb/2015 13:11 G. Allegri gioha...@gmail.com ha scritto: At the moment QGIS for Windows is built against Qt 4.7. Qt 4.8 has solved various minor issues, like with SVG rendering inside a QWebPage, which still

[Qgis-developer] QgsComposition itemRemoved signal in Python passes a QObject parameter

2015-02-06 Thread G. Allegri
I haven't enough experience with SIP to spot the problem. Connecting to QgsCompisition itemRemoved signal I obtain a QObject parameter intead of QgsComposerItem. E.g. def something(self): self.composition.itemRemoved.connect(self.itemRemovedFromComposer) def

[Qgis-developer] Creating a new QgsComposerHtml from Python causes segmentation fault

2015-01-19 Thread G. Allegri
The QgsComposerHtml class behaves bad from Python. When a new QgsComposerHtml is instantiated I get a segmentation fault and QGIS crashes. Something wrong happens even when one tries to obtain an existing object from a composition: mycomp.getComposerItemById('myhtml') - QgsComposerFrame instance

Re: [Qgis-developer] What's the purpose of an LTR?

2015-01-21 Thread G. Allegri
. Andreas On 21.01.2015 09:24, G. Allegri wrote: Could you help me to understand what distinguishes a normal QGIS release and an LTR? In other sw the LTR (LTS) guarantees long term maintanance, backporting fixes, etc. but in the QGIS lifecycle a release is fixed, so what's the difference for the end

[Qgis-developer] What's the purpose of an LTR?

2015-01-21 Thread G. Allegri
Could you help me to understand what distinguishes a normal QGIS release and an LTR? In other sw the LTR (LTS) guarantees long term maintanance, backporting fixes, etc. but in the QGIS lifecycle a release is fixed, so what's the difference for the end user between 2.6 and 2.8? Maybe that it's

Re: [Qgis-developer] calculate distance from two points along line in pyqgis

2015-01-13 Thread G. Allegri
Hi Pierluigi, I don't know of such a function available from Python. I've translated a function from GEOS (C++) to Python some time ago. If you wish I can share it. giovanni 2015-01-13 18:16 GMT+01:00 Ing. Pierluigi De Rosa pierluigi.der...@gfosservices.it: Hi all, I have a line geometry

Re: [Qgis-developer] calculate distance from two points along line in pyqgis

2015-01-14 Thread G. Allegri
https://gist.github.com/giohappy/f2abde1549aa2775b5aa 2015-01-14 10:40 GMT+01:00 gene martin.lal...@gmail.com: I don't have the code posted by Giovanni but this is very easy to do with Shapely http://toblerity.org/shapely/manual.html (a Python wrapper of GEOS). With PyQGIS, I do it in

Re: [Qgis-developer] calculate distance from two points along line in pyqgis

2015-01-14 Thread G. Allegri
Yes gene. Plus, this script considers a point not intersecting the line. 2015-01-14 10:49 GMT+01:00 gene martin.lal...@gmail.com: = sum of segments length before the one where the intersecting point lies + the length between the first point of this segment and the intersection point --

Re: [Qgis-developer] QGIS and Coverity scans

2015-02-11 Thread G. Allegri
That's a great thing Nyall. It proves QGIS is an industry level product from the side of code quality! Thanks from me and Gis3W. giovanni 2015-02-11 12:29 GMT+01:00 Nathan Woodrow madman...@gmail.com: Thanks to Jürgen and Martin's assistance And yours of course. This is some great

Re: [Qgis-developer] Multiple styles per layer

2015-01-08 Thread G. Allegri
I see that Lock layers for map item inside the composer doesn't blocks a style switch. I think it would be a useful feature. giovanni 2015-01-08 7:47 GMT+01:00 Martin Dobias wonder...@gmail.com: On Wed, Jan 7, 2015 at 11:54 PM, Martin Dobias wonder...@gmail.com wrote: And could this style

Re: [Qgis-developer] Multiple styles per layer

2015-01-07 Thread G. Allegri
BTW: cool feature - would be cool to also expose the multiple styles in QGIS server (e.g. to support color and black/white styles) for the same layer. This commit is part of a sponsored project which includes the server side too (WMS STYLES parameter). It will be there ;) giovanni

Re: [Qgis-developer] WFS still fetches everything

2015-03-26 Thread G. Allegri
I've just seen the related issue: http://hub.qgis.org/issues/11968 2015-03-26 18:24 GMT+01:00 G. Allegri gioha...@gmail.com: Ok, thanks Marco, I'll write your answer to the qgis-user thread. 2015-03-26 18:17 GMT+01:00 Marco Hugentobler marco.hugentob...@sourcepole.ch: Hi Giovanni

Re: [Qgis-developer] WFS still fetches everything

2015-03-26 Thread G. Allegri
panning). This seems broken now (maybe since the multithreaded rendering?). Another (not so convenient) method is to create an ogc filter by double clicking on the 'filter' column (enter ogc filter xml as a string in the expression editor). Regards, Marco On 26.03.2015 16:11, G. Allegri

Re: [Qgis-developer] How to set the View rotation in pyQGIS ?

2015-03-04 Thread G. Allegri
You can set it through the QgsMapCanvas.setRotation method: http://qgis.org/api/classQgsMapCanvas.html#aede658d1a978b99cfeb05eef3d392caa (which will set it through the QgsMapSettings class: http://qgis.org/api/classQgsMapSettings.html#aa0af1bbdc4b77e67cf02b89a9bf0ae77 ) giovanni 2015-03-04 14:12

Re: [Qgis-developer] How to set the View rotation in pyQGIS ?

2015-03-04 Thread G. Allegri
Nice Roberto ;) 2015-03-04 14:55 GMT+01:00 Geo DrinX geodr...@gmail.com: Hi Giovanni, In fact, in the meantime I solved. So, I updated GEarthView plugin :) Now, it is funny to see also QGIS view rotating with GoogleEarth Thank you Roberto 2015-03-04 14:23 GMT+01:00 G. Allegri

[Qgis-developer] [PyQGIS] QgsComposerItem.dataDefinedProperty doesn't return anything

2015-02-23 Thread G. Allegri
I'm trying to obtain the data defined expression for an HTML item but myitem.dataDefinedProperty(QgsComposerObject.SourceUrl) doesn't return anything. What's wrong? I'm working on latest master (built half an hour ago). giovanni -- Giovanni Allegri http://about.me/giovanniallegri Twitter:

Re: [Qgis-developer] [PyQGIS] QgsComposerItem.dataDefinedProperty doesn't return anything

2015-02-23 Thread G. Allegri
Solved. It must be called on QgsCompomerHtml instead of (a child) QgsComposerFrame. giovanni 2015-02-23 13:40 GMT+01:00 G. Allegri gioha...@gmail.com: I'm trying to obtain the data defined expression for an HTML item but myitem.dataDefinedProperty(QgsComposerObject.SourceUrl) doesn't return

[Qgis-developer] WFS still fetches everything

2015-03-26 Thread G. Allegri
Hi, you probably read the question from Peter on qgis-user [1]. Five years ago Marco said that this behaviour should have been changed (first fetch based on current view extent) but AFAICS the WFS provider still behaves the old way. Was this proposal discarded for some reason? Giovanni

[Qgis-developer] Remove join field from join fields subset list

2015-04-20 Thread G. Allegri
I'm suggesting a patch [1] from the fields list within the Join dialog to remove the join field from the list (avoiding wrong header/column indexing reported here [2]). giovanni [1] https://github.com/giohappy/QGIS/commit/2f3f41074371208dc62d0696cf861acd6012a4b2 [2]

[Qgis-developer] Composer's legend should be consistent with store layers styles option of related map

2015-04-20 Thread G. Allegri
At the moment a composer's legend item is constructed from the project's layer root [1]. If the legend's related map is set to lock layers this isn't reflacted into the legend. Legend's model should use the layer styles overrides set for the map. What's your opinion? giovanni [1]

Re: [Qgis-developer] [Qgis-user] QGIS on rollApp

2015-04-21 Thread G. Allegri
It can be implemented with VNC-like tools, as noVNC and a VNC server. giovanni 2015-04-21 22:44 GMT+02:00 Luigi Pirelli lui...@gmail.com: Who did this awesome port? Was it rollApp folks themselves? from twitter yesterday spara ‏@spara 20 de abr. .@rollapp consider adding @qgis to the

Re: [Qgis-developer] Automate snapping after insert of a new feature

2015-04-22 Thread G. Allegri
Can't you use the the snapped point (QgsSnappingResult.snappedVertex) to replace the original vertex position? giovanni 2015-04-22 11:01 GMT+02:00 francescobocca...@libero.it francescobocca...@libero.it: Hi all, i have a question for you. I'd like to have a new function in my plugin that

Re: [Qgis-developer] [Gfoss] [Qgis-user] QGIS on rollApp

2015-04-22 Thread G. Allegri
noVNC could be a way to implement it. It works on websockets. giovanni Il 22/apr/2015 10:19 Luigi Pirelli lui...@gmail.com ha scritto: And webRTC i suppose... This could open to collaborative qgis, but this service seems closed source. Regards, Luigi Pirelli

Re: [Qgis-developer] Problems building for QT5

2015-05-04 Thread G. Allegri
Hi Jurgen, will the switch to Qt5 require adapting the Python bindings? giovanni 2015-05-04 9:12 GMT+02:00 Jürgen E. j...@norbit.de: Hi Alessandro, On Mon, 04. May 2015 at 09:02:39 +0200, Alessandro Pasotti wrote: I set QT5 ON and I think I've installed all requirements (I'm on Ubuntu

Re: [Qgis-developer] Problems building for QT5

2015-05-04 Thread G. Allegri
will be to update plugins themselves. Matthias On 05/04/2015 09:15 AM, G. Allegri wrote: Hi Jurgen, will the switch to Qt5 require adapting the Python bindings? giovanni 2015-05-04 9:12 GMT+02:00 Jürgen E. j...@norbit.de: Hi Alessandro, On Mon, 04. May 2015 at 09:02:39 +0200, Alessandro

Re: [Qgis-developer] More sophisticated editing

2015-04-14 Thread G. Allegri
You're raising an important point. I was thinking of it right in the past days. It's a point that many users bring to me when comparing QGIS to other (proprietary) software solutions where pseudotopoligcal tools are strong and very important for the quality management of data production/editing

Re: [Qgis-developer] Topological editing for lines

2015-04-14 Thread G. Allegri
I can't reproduce it. It works for me... giovanni 2015-04-14 18:33 GMT+02:00 Paolo Cavallini cavall...@faunalia.it: Hi all, Enabling topological editing for lines has an unexpected result: coincident (terminal) vertices are not moved together, as it happens for polygons. To me this is a

Re: [Qgis-developer] Project on DB

2015-04-14 Thread G. Allegri
We are not working on thia but I agree with you. A db project would help a lot also for data concinstency, and this is a cross reference to the topological tools post you wrote a few minutes ago: having a set of rules stored within the DB. This would keep data coherent between users and editing

Re: [Qgis-developer] Topological editing for lines

2015-04-14 Thread G. Allegri
No, my segments move together. I will double check it as soon as I'm back to the office, but I tried it a few minutes ago... Il 14/apr/2015 18:57 Paolo Cavallini cavall...@faunalia.it ha scritto: Il 14/04/2015 18:46, G. Allegri ha scritto: I can't reproduce it. It works for me... thanks

Re: [Qgis-developer] Building plugin for Print Composer

2015-06-22 Thread G. Allegri
this is helpful. Cheers, John On Mon, Jun 22, 2015 at 2:07 PM, G. Allegri gioha...@gmail.com wrote: You can act on it but you can't custom gui widgets to the Composer interface. I cannot check the code right know. I listen to a specific (existing) composition opening but if I remember

Re: [Qgis-developer] Building plugin for Print Composer

2015-06-22 Thread G. Allegri
You can act on it but you can't custom gui widgets to the Composer interface. I cannot check the code right know. I listen to a specific (existing) composition opening but if I remember correctly you can watch the Composer opening too. Il 22/giu/2015 17:19, Jakob Lanstorp jlanst...@gmail.com ha

Re: [Qgis-developer] Building plugin for Print Composer

2015-06-22 Thread G. Allegri
Hi Jacob. For the moment it isn't possible to extend the Composer with custom plugins. It's sonething that will be discussed for the next Report Engine (QGIS 3.0) I've built a Python plugin that uses the composer widgets (composition, items, etc.) within a custom interface but you can only use

Re: [Qgis-developer] Building plugin for Print Composer

2015-08-12 Thread G. Allegri
general approach required (like the qgis plugin mechanism, being able to access the interface) ? V. Le 22/06/2015 18:05, G. Allegri a écrit : The suggestion from John is exactly what we did too. And we also built a chart composer... It would be great to have the means to know

Re: [Qgis-developer] QGIS 2.12 not yet available for Ubuntu 14.04 LTS

2015-11-01 Thread G. Allegri
Sorry, the problem is with amd64, but i386 was not included too to avoid confusion. Il 01/nov/2015 14:23, "G. Allegri" <gioha...@gmail.com> ha scritto: > Yes there's seems to be a problem with i386 build that Jurgen is analyzing. > He explains it here: > http://lists.osge

Re: [Qgis-developer] QGIS 2.12 not yet available for Ubuntu 14.04 LTS

2015-11-01 Thread G. Allegri
Yes there's seems to be a problem with i386 build that Jurgen is analyzing. He explains it here: http://lists.osgeo.org/pipermail/qgis-user/2015-October/034100.html giovanni Il 31/ott/2015 19:14, "Pedro Venâncio" ha scritto: > Hi, > > There was any problem with QGIS

[Qgis-developer] master build cannot load Python support

2015-10-30 Thread G. Allegri
I can't have Python support loaded when running QGIS master from my own build, and no traceback is available (getvalue() did not return a string). I run it from the build directory and staged plugins. I already built QGIS various times, with the same configurations, and I can't figure out what

Re: [Qgis-developer] master build cannot load Python support

2015-10-30 Thread G. Allegri
Solved. The problem was missing PyQt4 QtSql, which is missing from the apt string in INSTALL doc. I will push a PR to update the doc, also for the new QPA dependencies. giovanni 2015-10-30 16:31 GMT+01:00 G. Allegri <gioha...@gmail.com>: > I can't have Python support loaded when run

[Qgis-developer] QGIS Server and OL3 GetFeatureInfo requests issue

2015-09-17 Thread G. Allegri
OL3 has changed the way GetFeatureInfo request parameters are generated. The nre way uses fixed WIDTH/HEIGHT and X/Y (I/J) params: 101 for the first and 50 latters. Then it builds the BBOX parameter consequently. The old way they were built from the size and extent of the map, and the query

Re: [Qgis-developer] QGIS Server and OL3 GetFeatureInfo requests issue

2015-09-17 Thread G. Allegri
be set in pixels per geometry type. > > > > If you add these parameters to your OL3 getGetFeatureInfoUrl() calls, the > feature info requests should respond to less precise clicks. > > > > Cheers > > Mathias > > > > Am Donnerstag, 17. September 2015, 12.07:32 schrieb

[Qgis-developer] qgis-dev from osgeo4w is not a nightly build

2015-09-28 Thread G. Allegri
A client of me as noticed that the latest qgis-dev from osgeo4w doesn't contain some of the latest commits. Actaully it refers to commit 6a6adc9 , which is 6 days old. I thought osgeo4w contained the nightly build, while weekly snapshots were available

Re: [Qgis-developer] qgis-dev from osgeo4w is not a nightly build

2015-09-28 Thread G. Allegri
thanks jurgen ;) 2015-09-28 15:09 GMT+02:00 Jürgen E. <j...@norbit.de>: > Hi, > > On Mon, 28. Sep 2015 at 11:57:36 +0200, G. Allegri wrote: > > A client of me as noticed that the latest qgis-dev from osgeo4w doesn't > > contain some of the latest commits. Actaully

Re: [Qgis-developer] Adding meteo data

2016-06-10 Thread G. Allegri
Maybe it could be integrate in the QuickMapServices plugin. giovanni 2016-06-10 16:31 GMT+02:00 Paolo Cavallini : > Hi all, > looking for a way to add live meteo data to QGIS, I stumbled across this > post (thanks luckgentilpiron for reminding): > >

Re: [Qgis-developer] Plugin repo down?

2016-05-31 Thread G. Allegri
I confirm. At least from 24 hours to me. giovanni Il 31/mag/2016 8:36 AM, "Nathan Woodrow" ha scritto: > Seem to be getting Connection refused when connecting. > > - Nathan > > ___ > Qgis-developer mailing list >

Re: [Qgis-developer] Boundlessgeo QGIS

2016-06-19 Thread G. Allegri
What are differences between the Boundless and the official version? I thought they only made a plugin to integrate it within their suite of services. I didn't know it was a fork! Giovanni Il 19/giu/2016 10:22 AM, "Pieter du Plooy" ha scritto: > Tom > > No, it will not

Re: [Qgis-developer] Boundlessgeo QGIS

2016-06-19 Thread G. Allegri
Ok, no problem with having "custom" versions. I wouldn't call "community version" the official one for the same reasons exposed by others. I'm only concerned for the rise of questions similar to this post, where users ask for support on custom versions with the serious risk of great confusion.

Re: [Qgis-developer] Boundlessgeo QGIS

2016-06-20 Thread G. Allegri
No problem Pieter, I don't think you have to apologize. Your question was the occasion to discuss this point indeed ;) Have you tried asking through their support channels? http://boundlessgeo.com/support/ Regards, Giovanni 2016-06-20 9:24 GMT+02:00 Pieter du Plooy : >

Re: [Qgis-developer] Add Layers to spatialite database

2016-06-23 Thread G. Allegri
Have you given a look to QgsVectorLayerImport [1] which DB Manager uses [2] at the end? giovanni [1] http://qgis.org/api/2.14/classQgsVectorLayerImport.html [2] https://github.com/qgis/QGIS/blob/master/python/plugins/db_manager/dlg_import_vector.py#L334 2016-06-23 11:52 GMT+02:00 Tom Chadwin

Re: [Qgis-developer] Interpretation of a 3 point CircularString with p0 == p2 (circle)

2016-06-23 Thread G. Allegri
Hi Even, this difference catched my eye too. I think SQL MM (and consequently GDAL and PostGIS) interpration is more logical, and I would suggest QGIS should follow it too. Giovanni 2016-06-23 15:32 GMT+02:00 Even Rouault : > Hi, > > I just came into a difference how

[Qgis-developer] Multiple calls to PyQGIS QgsServer instance causes segmentation fault

2016-03-31 Thread G. Allegri
I cannot give more informations because I don't have a debug environment right now. We're using QgsServer in a Python server app. The basic use is: server = QgsServer() headers, body = server.handleRequest(q.urlencode()) We are facing this problem with GetLegendGraphic requests, we haven't

[Qgis-developer] latest 2.14.2 release doesn't contain Processing updates

2016-05-12 Thread G. Allegri
Maybe I miss something with the release process. I wonder why QGIS 2.14.2 ( b3e642c in Osgeo4W) doesn't contain Processing updates like this: https://github.com/qgis/QGIS/commit/2e6fcf57d6, which was merged on 23rd of March. giovanni -- Giovanni

Re: [Qgis-developer] latest 2.14.2 release doesn't contain Processing updates

2016-05-12 Thread G. Allegri
Ah yes, I see. thanks Jurgen ;) giovanni Il 12/mag/2016 11:07 PM, "Jürgen E." <j...@norbit.de> ha scritto: > Hi Giovanni, > > On Thu, 12. May 2016 at 16:03:31 +0200, G. Allegri wrote: > > Maybe I miss something with the release process. I wonder why QGI

Re: [Qgis-developer] Is QGIS Server thread safe?

2016-05-10 Thread G. Allegri
on QGIS Server non thread safety. Thanks, giovanni Il 10/mag/2016 10:20 AM, "Marco Hugentobler" < marco.hugentob...@sourcepole.ch> ha scritto: On 05/10/16 10:05, G. Allegri wrote: Hi Marco, thanks for the reply. I imagined that but I couldn't find where QGIS Server spawns new pro

Re: [Qgis-developer] Is QGIS Server thread safe?

2016-05-10 Thread G. Allegri
Hi Marco, thanks for the reply. I imagined that but I couldn't find where QGIS Server spawns new processes to handle the incoming requests. Could you point me to the lines where it happens? giovanni Il 09/mag/2016 11:09 PM, "G. Allegri" <gioha...@gmail.com> ha scritto: &

[Qgis-developer] Is QGIS Server thread safe?

2016-05-09 Thread G. Allegri
Today me and my collegues were experimenting with a QgsApplication instance within a python web application. While doing some tests on concurrency a question arised in my mind: is QGIS Server supposed to manage concurrent requests when run as FastCGI? Probably it's a noob question but I haven't

Re: [Qgis-developer] Searching for a reviewer

2016-07-07 Thread G. Allegri
Hi Zoran, if you want I can review it. In case we can write privately. Cheers, giovanni Il 07/lug/2016 9:23 AM, "Zoran Čučković" ha scritto: > Hello! > > I'm the author of viewshed analysis plugin for QGIS ( > https://plugins.qgis.org/plugins/ViewshedAnalysis/). I have

Re: [Qgis-developer] QGIS 3 (Ubuntu 16.04)

2017-01-21 Thread G. Allegri
I suggest you to use Qt Creator if you can. AFAIK it's the easier way to develop and build QGIS. You will also have the benefit to design the UI components visually, being Qt (Gui) stuff. The docs provide some guidelines to setup Qt Creator:

Re: [Qgis-developer] QGIS Server - SSL handshake failed for cascading WMS

2017-01-27 Thread G. Allegri
Network management of QGIS Server is definetely week. We alse faced this issue and I thought to bypass it setting a proxy... but it isn't possibile to set a proxy for QGIS Server to use (as you can do in QGIS). So neither SSL nor a proxy can be configured. I suggest to add this to the ongoing

<    1   2   3   4   5   6   >