Re: [Qgis-developer] Creating a new raster qith QgsRasterLayer?

2012-12-11 Thread G. Allegri
Ok, perfect, now it's clear. giovanni 2012/12/11 Radim Blazek radim.bla...@gmail.com On Tue, Dec 11, 2012 at 2:23 PM, G. Allegri gioha...@gmail.com wrote: Yes, you are right. Any class inheriting from QgsRasterInterface may be plugged into the QgsRasterPipe but all interfaces

Re: [Qgis-developer] Are there any Join tools in Sextante?

2012-12-14 Thread G. Allegri
I agree that SAGA is a good algorithms box, and it would good for many users to have it by default, but I wouldn't stop implementing new toolboxes because SAGA has one strong limitation, IMHO: it needs to read the data source (as GRASS does) and LOAD it completely in memory. This can be ok in many

Re: [Qgis-developer] Announce QTiles plugin

2012-12-26 Thread G. Allegri
Wow, thanks for this very useful Christmas gift! I'm gonna test it next days for a real application ;-) giovanni Sent from Nexus Il giorno 26/dic/2012 14:25, Alexander Bruy alexander.b...@gmail.com ha scritto: Hi all and sorry for cross-posting, we (NextGIS) are pleased to announce QTiles

Re: [Qgis-developer] Multiple Data Frames

2013-01-05 Thread G. Allegri
Hi Benedict, besides the data frames cincepr, which would useful in many circumstances, aren't describing an overview map? It already exists in QGis. Probably I misunderstood your requirement... Giovanni Sent from Nexus Il giorno 06/gen/2013 00:37, Benedict Holland benedict.m.holl...@gmail.com

Re: [Qgis-developer] split features takes a LONG time over network

2013-01-28 Thread G. Allegri
Do you have a primary key defined on your PostGIS table ? yes and I suppose you've created a spatial index too, right? giovanni Vincent The feature is selected, it's not very large and I am zoomed to see about half of it. It took about a half hour to split, and during that

[Qgis-developer] how to disable QGIS debug messages inside python terminal interpreter?

2013-07-02 Thread G. Allegri
I'm writing some headless Python scripts which use the QGIS API for data management. QgsLogger prints debug messages even if QGIS_DEBUG env var is set to 0. How can I disble it? Giovanni -- Giovanni Allegri http://about.me/giovanniallegri blog: http://blog.spaziogis.it GEO+ geomatica in Italia

Re: [Qgis-developer] how to disable QGIS debug messages inside python terminal interpreter?

2013-07-02 Thread G. Allegri
I've found a workaround right now. Setting QGIS_DEBUG to -1000 makes QgsLogger stopping all the messages (default to -999). 2013/7/2 G. Allegri gioha...@gmail.com I'm writing some headless Python scripts which use the QGIS API for data management. QgsLogger prints debug messages even

Re: [Qgis-developer] how to disable QGIS debug messages inside python terminal interpreter?

2013-07-02 Thread G. Allegri
after each command execution. giovanni 2013/7/2 Marco Bernasocchi ma...@bernawebdesign.ch a bit of a workaround, but setting QGIS_LOG_FILE=/dev/null does the trick ciao Marco Bernasocchi (mobile) http://opengis.ch On Jul 2, 2013 11:54 AM, G. Allegri gioha...@gmail.com wrote: I'm writing

[Qgis-developer] Qgis from master builds ok but sucks all the memory when run

2013-08-24 Thread G. Allegri
The subject is quite criptic but that's what it seems to happen. Yesterday I've built from master on a Ubuntu 12.04 Virtual Machine. Everything went smooth, tests were ok, and I could use qgis_mapserv.fcgi Then I've started QGIS desktop and after loading up (splash screen disappears) I obtain an

Re: [Qgis-developer] vector rendering improvement patch

2013-10-23 Thread G. Allegri
Ok Andreas, I'm going to make it configurable, will present a new option in the main properties form of the layer I suppose he meant to do not draw simplidied geometries during editing because it would obviously lead to produce unconsistent edits. giovanni About of simplification in

Re: [Qgis-developer] vector rendering improvement patch

2013-10-23 Thread G. Allegri
. It does not uses the ST_Simplify() method (douglas-peucker algorithm) where the geometry is simplified for other similar geometry. Oh, I see. So it's transparent to the user, he doesn't notice the simplification, right? -- *De:* G. Allegri gioha...@gmail.com

Re: [Qgis-developer] How can I reset the starting point of a QgsFeatureIterator?

2013-10-23 Thread G. Allegri
Does iterator.rewind() return True? 2013/10/23 Stefano Masera stefano.mas...@arpa.piemonte.it Hi list, I use an iterator two times in a python code and I wantto reset it to the starting point before to reuse it. In this way I hope to be more quick. # first use of the iterator iterator =

Re: [Qgis-developer] How can I reset the starting point of a QgsFeatureIterator?

2013-10-23 Thread G. Allegri
stefano.mas...@arpa.piemonte.it No, it does False! But if I put iterator.rewind() before the first use of the iterator it does True. -- *Da: *G. Allegri gioha...@gmail.com *A: *Stefano Masera stefano.mas...@arpa.piemonte.it *Cc: *qgis-developer qgis-developer

Re: [Qgis-developer] Labels: Title Case

2013-10-23 Thread G. Allegri
Paolo, I can't see Title Case option in QGIS 2.0.1. Is it in dev? giovanni 2013/10/23 Paolo Cavallini cavall...@faunalia.it -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all It is unclear to me whether the behaviour of this option is correct: if I have an UPPER CASE field content and

Re: [Qgis-developer] Labels: Title Case

2013-10-23 Thread G. Allegri
Well, Capitalize first letter means... first letter, so UPPER CASE remains UPPER CASE :) 2013/10/23 Paolo Cavallini cavall...@faunalia.it -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 23/10/2013 17:50, G. Allegri ha scritto: Paolo, I can't see Title Case option in QGIS 2.0.1

Re: [Qgis-developer] What about OpenGL renderding ?

2013-10-24 Thread G. Allegri
We would probably begin with porting QGIS to QT5, as OpenGL support has been added to QT5 and improved in 5.1. See for example : http://qt-project.org/doc/qt-5.0/qtopengl/2dpainting.html Otherwise, reimplementing an pure OpenGL rendering engine seems a big effort. And we still would want

Re: [Qgis-developer] Topology editing in QGis

2013-11-05 Thread G. Allegri
I never used GRASS topology, I still have to learn about it, but I think this representation would be flexible enough to adapt to different situations. It would also be possible to build ad-hoc topologies with simple normal vector layers (shapefiles, etc.) and have editing operations follow

Re: [Qgis-developer] How to Raster layer setTransparency with pyQGis 2 ?

2013-11-06 Thread G. Allegri
Try using l_raster.renderer().setOpacity(0.5) giovanni 2013/11/6 Geo DrinX geodr...@gmail.com Hello All, pyQGis 2 changed many things :( For example: how is possible, now, to set the transparency of a raster ? Before, simply was: l_raster.setTransparency(50) And now ? Thank

Re: [Qgis-developer] Shortcut changes in QGIS; call for opinions

2013-11-28 Thread G. Allegri
We could also ask for confirmation the first time and then let the user flag a Stop asking for confirmation, or something like that... giovanni 2013/11/28 A Huarte ahuart...@yahoo.es Hi Andreas, thanks for your comments. I think that the edition (delete features) is much more agile without

[Qgis-developer] QgsFeatureRequest.setSubestOfAttributes(etc.) return all the fields

2013-12-04 Thread G. Allegri
Probably I'm not using it correctly. I want to retrieve the features within a bbox and obtain one field only. Im' doing the following: request = QgsFeatureRequest(bbox).setSubestOfAttributes(['id'],mylayer.pendingFields()) for feat in mylayer.geFeatures(request): for fields in feat.fields():

Re: [Qgis-developer] QgsFeatureRequest.setSubestOfAttributes(etc.) return all the fields

2013-12-04 Thread G. Allegri
errata corrige: (...) for field in feat.fields(): print field.name() (...) 2013/12/4 G. Allegri gioha...@gmail.com Probably I'm not using it correctly. I want to retrieve the features within a bbox and obtain one field only. Im' doing the following: request = QgsFeatureRequest

Re: [Qgis-developer] QgsFeatureRequest.setSubestOfAttributes(etc.) return all the fields

2013-12-04 Thread G. Allegri
2013/12/4 G. Allegri gioha...@gmail.com errata corrige: (...) for field in feat.fields(): print field.name() (...) 2013/12/4 G. Allegri gioha...@gmail.com Probably I'm not using it correctly. I want to retrieve the features within a bbox and obtain one field only. Im' doing

Re: [Qgis-developer] W*S obtain only the server url

2013-12-07 Thread G. Allegri
What about using urlparse: http://docs.python.org/2/library/urlparse.html? 2013/12/7 Gino Pirelli lui...@gmail.com Hi Luca usign QT you can: create QUrl and then query url with it's method queryItemValue probably there's a pure python method... that it's always better reducing QT

Re: [Qgis-developer] 'bad_alloc' error at start

2013-12-10 Thread G. Allegri
I confirm the random baf allocs. Same package, same platform. giovanni Il 10/dic/2013 10:24 Ivan Minčík ivan.min...@gmail.com ha scritto: Hi, is anybody experiencing with 'bad_alloc' error message on QGIS start ? QGIS version: 2.0l.1 LIBS: self compiled PPA

Re: [Qgis-developer] 'bad_alloc' error at start

2013-12-10 Thread G. Allegri
Giovanni, thanks for confirmation. Does it also happens immediately after start ? Do You use packages from UbuntuGIS ? Have You already submitted some bug report or should I do it ? Yes. Yes. No, because I hped to find a rule to the bad_alloc befaore submitting a bug report... but it

Re: [Qgis-developer] Rotate Map

2013-12-10 Thread G. Allegri
I don't what would the effect of using QGraphicsView::rotate() [1], but it might break something giovanni [1] QgsMapCanvas subclasses QGraphcsView http://qt-project.org/doc/qt-4.8/qgraphicsview.html#rotate 2013/12/10 Richard Duivenvoorde rdmaili...@duif.net On 10-12-13 07:49, 怡帆思舟 wrote:

[Qgis-developer] QGIS for Windows 64bit crashes when using addSttributes on any vector data provider

2013-12-12 Thread G. Allegri
During a course students with QGIS Doufur 64 bit (on Windows 7) reported crashes when using QgsVectorDataProvider::dataProvider().addAttributes() method. It happens whatever provider we use. QGIS receives an OS signal and generates the following minidump:

Re: [Qgis-developer] QGIS for Windows 64bit crashes when using addSttributes on any vector data provider

2013-12-12 Thread G. Allegri
fine. But addAttributes works only on 32bit. giovanni On Thu, Dec 12, 2013 at 1:08 PM, G. Allegri gioha...@gmail.com wrote: During a course students with QGIS Doufur 64 bit (on Windows 7) reported crashes when using QgsVectorDataProvider::dataProvider().addAttributes() method. It happens

Re: [Qgis-developer] QGIS Multi-threaded Rendering

2013-12-12 Thread G. Allegri
* predictive / off screen rendering of 3x3 canvas dimensions after the initial render so that any pan is near instantaneous (and would trigger a new off-screen render) * on zoom, resample first then over render the resampled image (like open layers and other web toolkits do so you see a

Re: [Qgis-developer] QT 5.2 is out

2013-12-13 Thread G. Allegri
Hi Luca, AFAIK Qt Mobile is available only under proprietary and commercial license. Am I wrong? giovanni Il 13/dic/2013 08:13 Luca Manganelli luc...@gmail.com ha scritto: Hi, as some of you have noticed, QT 5.2 is out. From release notes [1]: I am proud to say that Qt 5.2 fully brings Qt

Re: [Qgis-developer] QGIS Multi-threaded Rendering

2013-12-13 Thread G. Allegri
I believe GeoServer (well, GeoWebCache) uses metatiling for that purpose within its WMTS/TMS. My understanding is that rather than rendering a single 256*256 pixel tile like it was asked to, it renders a grid of 4*4 (adjustable; but that's the default) of those tiles (so 1024*1024 pixels) and

Re: [Qgis-developer] QT 5.2 is out

2013-12-13 Thread G. Allegri
Qt is the project that now includes Android support - with open source license as usual. Qt Mobile is a (new) different product, it comes with commercial license, and brings you additional tools + support + cloud service. You do not need Qt Mobile for QGIS on Android. Thanks Martin for

Re: [Qgis-developer] conversion between latitude, longitude and x, y coordinate

2013-12-14 Thread G. Allegri
What is map x/y? Do you mean projected coordinates or screen/print coordinates? Is this a question within the QGIS API context? giovanni Il 14/dic/2013 12:56 SIVA RAMA KRISHNA s.r.kriis...@gmail.com ha scritto: Hello, I have a query related to conversion between lat long to map x map y I

Re: [Qgis-developer] QGIS sounds (was: QGIS game (for fun)?)

2013-12-16 Thread G. Allegri
In fact (optional) acoustic feedback would be good to have. Is there direct support for this in Qt? All the best. http://qt-project.org/doc/qt-4.8/qsound.html giovanni -- Paolo Cavallini - www.faunalia.eu QGIS PostGIS courses: http://www.faunalia.eu/training.html

Re: [Qgis-developer] QGIS sounds (was: QGIS game (for fun)?)

2013-12-16 Thread G. Allegri
I pushed the send button too early. I wanted to add the Phono module link, which I've used a couple of times to play and control sound: http://qt-project.org/doc/qt-4.8/phonon-module.html giovanni 2013/12/16 G. Allegri gioha...@gmail.com In fact (optional) acoustic feedback would be good

Re: [Qgis-developer] [QGIS-Server] Adding Web Processing Service, partially funded

2013-12-20 Thread G. Allegri
Good news! Where does QGIS Server fit into this? I mean, if we implement WPS with PyWPS and headless Processing, QGIS Server isn't required. Are you thinking to QGIS Server as a proxy to PyWPS? I hoped you were considering to implement Python support inside QGIS Server (as it was discussed a year

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-07 Thread G. Allegri
Then, with the new year, I had an idea: what do you think of a QT window inside QGIS, which displays the 3D html page ? Could it be doable ? Do you have just tested ? Interesting, but I have not tested it yet. I tested now, but I had: Sorry, your browser doesn't seem to support

Re: [Qgis-developer] QWC and WMS FILTER in qgis mapserver

2014-01-09 Thread G. Allegri
+1 from me, Anyway I would keep the custom mode too, which is simpler to manage in most cases... giovanni 2014/1/9 Alessandro Pasotti apaso...@gmail.com Hi, I'm trying to build an improved legend for QWC as explained in my previous email. The idea was to create an helper script (like

Re: [Qgis-developer] Ortho line at specified line distance

2014-01-09 Thread G. Allegri
Hi Pierluigi, probably CAD Tools plugin is the right tool to do it http://plugins.qgis.org/plugins/cadtools/ https://github.com/geopython/CadTools/blob/master/tools/orthogonaldigitizer.py giovanni 2014/1/9 Ing. Pierluigi De Rosa pierluigi.der...@gfosservices.it Dear all I'm looking for the

Re: [Qgis-developer] Ortho line at specified line distance

2014-01-09 Thread G. Allegri
Here a short video: http://youtu.be/e0tscGQpywQ 2014/1/9 G. Allegri gioha...@gmail.com Hi Pierluigi, probably CAD Tools plugin is the right tool to do it http://plugins.qgis.org/plugins/cadtools/ https://github.com/geopython/CadTools/blob/master/tools/orthogonaldigitizer.py giovanni

Re: [Qgis-developer] Ortho line at specified line distance

2014-01-10 Thread G. Allegri
distance into a bigger code. Maybe I need to generate more than thousand segment every time and I cannot to that by hands. Any ideas? thanks Il giorno gio, 09/01/2014 alle 18.34 +0100, G. Allegri ha scritto: Here a short video: http://youtu.be/e0tscGQpywQ 2014/1/9 G. Allegri gioha

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-17 Thread G. Allegri
Hi Minoru, I have another question for you :) I'm dong some tests to apply vector draping on top of the PlanarGeometry, i.e. positioning vector vertices on the terrain when they don't have z values. I've done a test with ray casting. Here a result which seems a caterpillar walking along our

Re: [Qgis-developer] Qgis2threejs suggestions...

2014-01-18 Thread G. Allegri
2014/1/18 Minoru Akagi akagi...@gmail.com Do you know other/better solutions then raycasting? Maybe through shaders? I don't know... Ok, thanks. Next days I will fork your github repo to do some additions and push some pull requestes. giovanni

Re: [Qgis-developer] QGIS and 3D

2014-01-25 Thread G. Allegri
Thanks for remembering us of it. I couldn't retrieve it from the ML! Visvis seems a good approach to the visualization of 3D data in QGIS. I imagine it won't be as performant as native implementations (like osg, used by Horao) but it would be probably more portable and easy to mantain... giovanni

Re: [Qgis-developer] QGIS and 3D

2014-01-27 Thread G. Allegri
Shouldn't we create e wiki page about QGIS and 3D? We could gather these links there. giovann 2014-01-27 gene martin.lal...@gmail.com Among others: In French: - PyQGIS (QGIS 2): les coupes géologiques (colorisation d'un profil topographique élaboré à partir d'un MNT en fonction des

[Qgis-developer] Supporting USER CRS's in QGIS Mapserver and QGIS Web Client

2014-02-05 Thread G. Allegri
Hello. I've been asked to support a customer of us to deploy a map where a custom CRS has been defined. After various tests I've identified almost all the issues that arise when using a user defined CRS. *QGIS MAPSERVER* Given that user defined CRS (10) are automatically written and read by

[Qgis-developer] [QGIS Mapserver] is QgsFilter ever used in GetFeatureInfo?

2014-02-24 Thread G. Allegri
In an old feature request from me [1] I was suggesting to add LIKE/ILIKE filter to GetFeatureInfo FILTER allowed params. Trying to follow the path of the request, it seems that the filter is simply appended to layer subsetstring as it is. QgsFilters' aren't being used, right? giovanni [1]

Re: [Qgis-developer] [QGIS Mapserver] is QgsFilter ever used in GetFeatureInfo?

2014-02-24 Thread G. Allegri
, G. Allegri wrote: In an old feature request from me [1] I was suggesting to add LIKE/ILIKE filter to GetFeatureInfo FILTER allowed params. Trying to follow the path of the request, it seems that the filter is simply appended to layer subsetstring as it is. QgsFilters' aren't being used

Re: [Qgis-developer] Fwd: A pipinstall plugin is possible? First: What's the difference between the the Osgeo4w Shell?

2014-03-06 Thread G. Allegri
I don't know what's the ongoing progress on this topic but I think that a system for the dependencies management should be embedded inside QGIS. I'm not in favour for a plugin to do that. Having an integrated pip would be more transparent to the user and the plugin developers. The developer should

Re: [Qgis-developer] Fwd: A pipinstall plugin is possible? First: What's the difference between the the Osgeo4w Shell?

2014-03-06 Thread G. Allegri
Windows doesn't ship with any version of Python. Yay Windows! So we bundle our own. I personally don't mind this so much because it's easier to control the setup if we bundle it. The main thing here is just including pip and easy_install in all the windows installs, standalone and

Re: [Qgis-developer] Fwd: A pipinstall plugin is possible? First: What's the difference between the the Osgeo4w Shell?

2014-03-06 Thread G. Allegri
be great because it would solve the problem of users not being administrators. giovanni Regards Tim On Thu, Mar 6, 2014 at 1:56 PM, Tom Kralidis tomkrali...@gmail.comwrote: On Thu, 6 Mar 2014, G. Allegri wrote: Date: Thu, 6 Mar 2014 02:31:41 -0800 From: G. Allegri gioha...@gmail.com

Re: [Qgis-developer] SQL Injection vulnerability

2014-03-06 Thread G. Allegri
QGIS Server does it's own escaping and filters allowed characters and words in filters. giovanni 2014-03-06 18:59 GMT+01:00 Alessandro Pasotti apaso...@gmail.com: 2014-03-06 18:51 GMT+01:00 Gino Pirelli lui...@gmail.com: Thank you Jürgen, I feel safer ;) but... I can't figure out how

Re: [Qgis-developer] [solved] qgis 2.2 crash

2014-03-07 Thread G. Allegri
That's a really bad story. I don' excpet to have complete back compatibility, but a crash shouldn't happen :( giovanni 2014-03-07 17:13 GMT+01:00 Enzo Cocca enzo@gmail.com: The problem of crash was the simbology of qgis 1.8 that I have used to qgis 2.2. thanks! 2014-03-06 17:04

Re: [Qgis-developer] Debugging Python plugin with Eclipse: breakpoints do not wotk

2014-03-25 Thread G. Allegri
I usually do it without using the QGIS remote debugger. http://pydev.org/manual_adv_remote_debugger.html giovanni Il 25/mar/2014 14:02 Luca Manganelli luc...@gmail.com ha scritto: On Tue, Mar 25, 2014 at 9:39 AM, Francesco Sozzi fso...@intercad.chwrote: Hi Everybody, I'm new on QGis

Re: [Qgis-developer] proposing MetaSearch for QGIS Core

2014-04-04 Thread G. Allegri
+1 from me too. giovanni PS: The italian national catalog (RNDT) was recently added to the plugin thanks to a proficous dialog netween some people in the italian gfoss mailing list and the national agency. 2014-04-04 17:24 GMT+02:00 Marco Hugentobler marco.hugentob...@sourcepole.ch: Hi It

Re: [Qgis-developer] QgsDistanceArea

2014-05-16 Thread G. Allegri
You're right, that method should be update in the cookbook. It was the way ellipsoidal mode was set until QGIS 1.8 [1], but setEllipsoidalMode is the new naming since 2.0 [2] giovanni [1] http://qgis.org/api/1.8/classQgsDistanceArea.html [2] http://qgis.org/api/2.0/classQgsDistanceArea.html

Re: [Qgis-developer] Geospackage Slow in QGIS

2014-05-17 Thread G. Allegri
OT: there was already a nice, and very well supporyed, spatial Sqlite extension before this Geopackage lobby made its way in OGC... What a pity. giovanni Il 17/mag/2014 11:24 Paolo Cavallini cavall...@faunalia.it ha scritto: Il 17/05/2014 11:03, Andrea Peri ha scritto: Do you know the

Re: [Qgis-developer] Geospackage Slow in QGIS

2014-05-17 Thread G. Allegri
The spatialite will never to be a real interchange format if the only software to use it is qgis and the same qgis is not real compatible with the original spatialite spec. So the spatialite actually is a really good and strong work format . Instead surely geopackage are no one strong

Re: [Qgis-developer] Geospackage Slow in QGIS

2014-05-17 Thread G. Allegri
:00 G. Allegri gioha...@gmail.com: The spatialite will never to be a real interchange format if the only software to use it is qgis and the same qgis is not real compatible with the original spatialite spec. So the spatialite actually is a really good and strong work format . Instead surely

Re: [Qgis-developer] Use Georeferencer Core-Plugin with python

2014-05-19 Thread G. Allegri
Hi Felix, I fear you will have to write your own bindings if you want to leavarage the Georeferencer plugin code. It's a plugin, so it's functionality isn't exposed through QGIS API. https://github.com/qgis/QGIS/tree/master/src/plugins/georeferencer giovanni 2014-05-19 12:36 GMT+02:00 Felix

Re: [Qgis-developer] Use Georeferencer Core-Plugin with python

2014-05-19 Thread G. Allegri
QgsGeorefTransform and QgsLeastSquares [2] and translate it to Python. giovanni [1] https://github.com/qgis/QGIS/blob/master/src/plugins/georeferencer/qgsgeoreftransform.cpp [2] https://github.com/qgis/QGIS/blob/master/src/plugins/georeferencer/qgsleastsquares.cpp 2014-05-19 16:32 GMT+02:00 G. Allegri gioha

Re: [Qgis-developer] Use Georeferencer Core-Plugin with python

2014-05-19 Thread G. Allegri
is not exported to the gui or core libraries/sip modules. I have written code that makes it possible to generate python bindings for (C++) plugins and I'm considering creating a pull-request for it. Matthias On 05/19/2014 04:33 PM, G. Allegri wrote: It depends on what parts

[Qgis-developer] have aggregate/window expressions ever been discussed?

2014-05-23 Thread G. Allegri
Recently I had to calculate the relative dimension of a polygon relative to the others of the same class. I know there are a lot of way to do it, inside and outside QGIS, but I wondered if field calculator (and expressions in general) couls be extended to accompish this kind of tasks. The

Re: [Qgis-developer] have aggregate/window expressions ever been discussed?

2014-05-23 Thread G. Allegri
Hi Regis, it's a long time I think to what you're descriibing, and that would definitely be on a higher level then aggregate expressions alone. This level of abstraction would also be basis for a map/reduce pattern analysis. It would be great to know some more about what has been discussed so far.

Re: [Qgis-developer] [Qgis-user] [Plugin presentation] LayerBender

2014-05-27 Thread G. Allegri
AFAIK vectGeoRef does an affine transformation. It would be great if the two tools would merge into a single plugin, bringing thir different solutions. giovanni Il 27/mag/2014 08:55 Tim Sutton li...@linfiniti.com ha scritto: Hi On Mon, May 26, 2014 at 9:18 PM, Olivier Dalang

[Qgis-developer] [OSM importer] Spatialite InitSpatialMetadata without (1) yet

2014-05-27 Thread G. Allegri
Some months ago I opened a ticket about this [1]. I see that InitSpatialMetadata is still called without the parameter, which makes it being attached to a transaction. It is veeery slow on Windows, because of the Spatialite version. Will the next 2.4 have an updated Spatialite ( 4.1), which

Re: [Qgis-developer] have aggregate/window expressions ever been discussed?

2014-05-27 Thread G. Allegri
I agree with all of you about not reinventing the wheel and, yes, let's not fragment QGIS' capabilities on data querying/filtering/etc. My first idea was simply (but I'm not sure how much simple it is) to be able to perform aggregate queries like in WINDOW functions. In my job it's something I

Re: [Qgis-developer] have aggregate/window expressions ever been discussed?

2014-05-27 Thread G. Allegri
to be done and a general agreement is needed to go this way. Vincent Andreas Am 23.05.2014 17:34, schrieb G. Allegri: Recently I had to calculate the relative dimension of a polygon relative to the others of the same class. I know there are a lot of way to do it, inside

Re: [Qgis-developer] [OSM importer] Spatialite InitSpatialMetadata without (1) yet

2014-05-28 Thread G. Allegri
I've submitted a pull request https://github.com/qgis/QGIS/pull/1399 giovanni 2014-05-27 10:31 GMT+02:00 G. Allegri gioha...@gmail.com: Some months ago I opened a ticket about this [1]. I see that InitSpatialMetadata is still called without the parameter, which makes it being attached

[Qgis-developer] Implemented break lines on intersections option during line layers editing

2014-05-30 Thread G. Allegri
I've implemented the option to break lines when a new line intersects existing lines on the same layer. I've added the option to the snapping options dialog. Having the avoid intersections option for polygons, I've added a new column to define the different meanings of the checkbox, in case it's a

Re: [Qgis-developer] Implemented break lines on intersections option during line layers editing

2014-05-31 Thread G. Allegri
Marvellous! But we will see it on QGIS 2.5-2.6? I hope. It's something I was asked for by various professionals... giovanni ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Implemented break lines on intersections option during line layers editing

2014-06-02 Thread G. Allegri
: Hi On Fri, May 30, 2014 at 11:53 PM, G. Allegri gioha...@gmail.com wrote: I've implemented the option to break lines when a new line intersects existing lines on the same layer. I've added the option to the snapping options dialog. Having the avoid intersections option for polygons, I've

Re: [Qgis-developer] Default styles for OSM

2014-06-03 Thread G. Allegri
Does QGIS ship predefined qml files? I didn't know it, where are they? giovanni 2014-06-03 20:30 GMT+02:00 Paolo Cavallini cavall...@faunalia.it: Il 03/06/2014 19:36, Anita Graser ha scritto: Hi Paolo, Do you mean the styles or just the symbols? How would we ship the styles = QMLs? I

[Qgis-developer] spatial joins and select by location should not consider polygons than only touch

2014-06-04 Thread G. Allegri
I've done some testing with fTools' spatial join and select by location tools. Whatever the geometry type it uses the intersects operator, which is true even if geometries only touch. I've patched my own version to distinguish the case the input layer (to be selected) is a linear or polygonal

Re: [Qgis-developer] spatial joins and select by location should not consider polygons than only touch

2014-06-04 Thread G. Allegri
Both options should exist. Perhaps a checkbox to exclude those that only touch? Admittedly, in my own version I have three checkboxes: - include layers that only touch - include layers that only overlaps - include layers the are completely contained and they are all checked by default

Re: [Qgis-developer] spatial joins and select by location should not consider polygons than only touch

2014-06-04 Thread G. Allegri
Here it is my proposal: http://cdn.img42.com/5bbc189562f621af883671ee59e60ff7.png giovanni 2014-06-04 18:58 GMT+02:00 G. Allegri gioha...@gmail.com: Both options should exist. Perhaps a checkbox to exclude those that only touch? Admittedly, in my own version I have three checkboxes

Re: [Qgis-developer] Opinion on plugin named prepair (and possible likes)

2014-06-06 Thread G. Allegri
Managinng the CGAL dependency would be useful for (SF)CGAL too. Today it's used only by PostGIS, internally, but maybe its use will extend in the future (hopefully for 3D in QGIS too!). giovanni 2014-06-06 17:51 GMT+02:00 Paolo Cavallini cavall...@faunalia.it: Il 06/06/2014 15:29, Hugo Ledoux

Re: [Qgis-developer] Opinion on plugin named prepair (and possible likes)

2014-06-06 Thread G. Allegri
CGAL is a prerequisite for SFCGAL. I'm not saying we should worry for having SFCGAL, but analyzing the dependency for prepair is useful for (eventually) having SFCGAL or whatever else based on CGAL. giovanni 2014-06-06 18:45 GMT+02:00 Andrea Peri aperi2...@gmail.com: I speak of giohappy

[Qgis-developer] [QGIS Mapserver] addDrawingOrder changed logic in 2.4?

2014-06-18 Thread G. Allegri
I'm investingating why QWC is giving me problems with QGIS Server 2.4. I've spot a difference between QGIS 2.2 and the master code which seems to cause problems during the GetProjectSettings response parsing. In previous versions of QGIS Server addDrawingOrder worked for project layers [1] while

Re: [Qgis-developer] [QGIS Mapserver] addDrawingOrder changed logic in 2.4?

2014-06-18 Thread G. Allegri
This pull request shoud fix it, but please review it in case it would break somethign else https://github.com/qgis/QGIS/pull/1462 2014-06-18 17:02 GMT+02:00 G. Allegri gioha...@gmail.com: Thanks Marco. Done in http://hub.qgis.org/issues/10625 In case the changed logic is only a side effect

Re: [Qgis-developer] Please give us more time for testing and bugfixing

2014-06-20 Thread G. Allegri
+1 giovanni Il 20/giu/2014 10:39 Luca Delucchi lucadel...@gmail.com ha scritto: On 20 June 2014 10:33, Luca Manganelli luc...@gmail.com wrote: On Fri, Jun 20, 2014 at 9:43 AM, Martin Dobias wonder...@gmail.com wrote: I agree with Andreas. Can we postpone the release for a few days? There

Re: [Qgis-developer] Processing: module duplications

2014-06-23 Thread G. Allegri
Hi Paolo, I agree with you, a cleaner organization of Processing tools is advisable to reduce the confusion in users. It's rather difficult to teach them in a clear way too! :) IMHO this reorganization should consider also the integration of other sparse analysis/processing tools, like the ones

Re: [Qgis-developer] Processing: module duplications

2014-06-23 Thread G. Allegri
in avoiding confusion, imho. giovanni 2014-06-23 18:50 GMT+02:00 G. Allegri gioha...@gmail.com: Hi Paolo, I agree with you, a cleaner organization of Processing tools is advisable to reduce the confusion in users. It's rather difficult to teach them in a clear way too! :) IMHO

Re: [Qgis-developer] Processing: module duplications

2014-06-23 Thread G. Allegri
for the suggestions! 2014-06-23 19:06 GMT+02:00 G. Allegri gioha...@gmail.com: I've given a look to the list of Processing QGIS geoalgorithms and I've seen that all the tools from fTools seem to be there. I remembered that someone was missing, but it seems not to be true anymore. I wonder

Re: [Qgis-developer] Are there convenience functions to do bilinear or cubic raster sampling?

2014-06-23 Thread G. Allegri
I'm not aware of such functions exposed to QGIS API, and AFAIK there's nothing useful under Qt neither... giovanni 2014-06-23 21:25 GMT+02:00 Anita Graser anitagra...@gmx.at: Hi, Using the raster layer provider's identify() function, I can get the raster value at the specified location. Are

Re: [Qgis-developer] Processing: module duplications

2014-06-24 Thread G. Allegri
Paolo, I'm not sure I fully understand the proposal. Do you mean to show the basic, normal and advanced groups in the GUI? I'm not sure it's something a user will understand easily. What is a normal algorithm? I understand your meaning, but I fear it's not stragthforward, and it doesn't seeme to

Re: [Qgis-developer] Processing: module duplications

2014-06-24 Thread G. Allegri
. Thanks, Alex On 06/23/2014 10:06 AM, G. Allegri wrote: I've given a look to the list of Processing QGIS geoalgorithms and I've seen that all the tools from fTools seem to be there. I remembered that someone was missing, but it seems not to be true anymore. I wonder if it wouldn't be the case

Re: [Qgis-developer] Release plans

2014-06-26 Thread G. Allegri
I agree too for announcing when packages are ready. Right today, during a course, I was answering a partecipant wh asked be about the next release. I've told him it will happen in a few days and I ansewered: I hope they don't do as for QGIS 2.2, when we had to go back to the website more and mroe

Re: [Qgis-developer] Release plans

2014-06-27 Thread G. Allegri
Probably the keypoint of this discussion are the different point of views on what the dev community consider the final point of a development cycle. Some consider it the source ball and the packaging a plus. Others include the packages themselves (in their mindset). I don't want to open a

[Qgis-developer] pull to improve fTools/Processing select by location

2014-06-30 Thread G. Allegri
I've sumbitted a pull request [1] to add fine grained control to spatial operators controlling select/extract by location algorithms, both in fTools and Processing. If you feel other options should be added let me know. giovanni [1] https://github.com/qgis/QGIS/pull/1495 -- Giovanni Allegri

Re: [Qgis-developer] Do we need a single select map tool?

2014-07-01 Thread G. Allegri
+1 2014-07-01 14:20 GMT+02:00 Mathieu Pellerin nirvn.a...@gmail.com: +1 On 1 Jul 2014 18:55, Nathan Woodrow madman...@gmail.com wrote: Hey, I would like to propose that we remove the single select map tool. Main reason to remove is its function is redundant as the rectangle select does

[Qgis-developer] why Difference takes much more time then Clip?

2014-07-01 Thread G. Allegri
I'm doing some tests on fTools/Processing spatial operators, with a cover multilinestring layer and a base polygon layer. Running the following query on PostGIS I get similar timings with st_intersection and st_difference: select l.osm_id,ST_intersection(l.geom,e.geom) as geom from

Re: [Qgis-developer] why Difference takes much more time then Clip?

2014-07-01 Thread G. Allegri
linee_selezione_s l join edifici_buffer_s e on ST_Intersects(l.geom, e.geom) group by l.geom 2014-07-01 19:37 GMT+02:00 G. Allegri gioha...@gmail.com: I'm doing some tests on fTools/Processing spatial operators, with a cover multilinestring layer and a base polygon layer. Running the following query

Re: [Qgis-developer] why Difference takes much more time then Clip?

2014-07-01 Thread G. Allegri
Just two graphics two show a brutal benchmark (measuring time in every cycle step). Clip: http://cdn.img42.com/31e0205c1273a1d1c705e5109da48db1.png Difference: http://cdn.img42.com/eeba68e62ea7d4db50662c2745a6d912.png 2014-07-01 20:05 GMT+02:00 G. Allegri gioha...@gmail.com: To be correct

[Qgis-developer] Doesn't measure tools/calculations + ellipsoid + OTFR require a rethinking?

2014-07-03 Thread G. Allegri
This topic comes back often, and in various situations I find me in a tight spot when coming to explain the intricacies of the relationships between these concepts. Can we try to make the point on this, trying at least to layout a clean intersection matrix between the various situations? The

[Qgis-developer] QgisLogger can be a serious bottleneck

2014-07-05 Thread G. Allegri
As I reported in a previous post, I was unable to conclude a difference operation on a vector because the tool was running in exponential time. Debugging pointed me to the problem: QgsVectoFileWriter was logging tons of empty geometres with an incompatible type which will be discarded. After

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

2014-07-05 Thread G. Allegri
I meant QgsMessageLog, not QgsLogger... 2014-07-05 10:27 GMT+02:00 G. Allegri gioha...@gmail.com: As I reported in a previous post, I was unable to conclude a difference operation on a vector because the tool was running in exponential time. Debugging pointed me to the problem

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

2014-07-05 Thread G. Allegri
I've added a pull request about this https://github.com/qgis/QGIS/pull/1499 giovanni 2014-07-05 11:15 GMT+02:00 G. Allegri gioha...@gmail.com: I meant QgsMessageLog, not QgsLogger... 2014-07-05 10:27 GMT+02:00 G. Allegri gioha...@gmail.com: As I reported in a previous post, I was unable

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

2014-07-05 Thread G. Allegri
the option to turn QgsMessageLog off could be useful anyway... giovanni [1] https://github.com/qgis/QGIS/blob/master/src/core/qgsvectorfilewriter.cpp#L1718 2014-07-05 12:31 GMT+02:00 Jürgen E. j...@norbit.de: Hi Giovanni, On Sat, 05. Jul 2014 at 10:27:24 +0200, G. Allegri wrote: As I

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

2014-07-05 Thread G. Allegri
. I suggest you to use directly postgis or spatialite to do this kind of operations. In these products you have the useful tools to resolve the collections correctly. Regard, Andrea. 2014-07-05 12:40 GMT+02:00 G. Allegri gioha...@gmail.com: Hi Jurgen, I wouldn't call them errors

<    1   2   3   4   5   6   >