[Qgis-developer] State of Spatialite 4.0 and GDAL 1.10 for QGIS 2.0?

2013-05-22 Thread Ivan Mincik
As I understand from discussion with SpatiaLite author Sandro Furieri, version 4 is really strongly recommended over version 3. Version 3 was some kind of not very successful release. Version 4 should be fully supported in QGIS master [1]. I use SpatiaLite 4 in my GIS PPA [2] and I am building QGI

[Qgis-developer] QGIS Server - GetPrint with a composer containing HTML block causes segfault

2013-05-22 Thread kimaidou
Hi list I have tried it with today's qgis master. I have a very simple project with one shapefile containing 3 polygones. I created a composer with a map. GetPrint request works fine with it. If I add an HTML block in the composer (refering to one HTML file or not), the getPrint request raises a

Re: [Qgis-developer] Postgres Audit Trigger plugin: beta-tester & feedback

2013-05-22 Thread Ivan Mincik
Hi Denis, is there any hint to my problem or should I debug by myself ? I am really interested to get it working. On Thu, May 9, 2013 at 9:20 PM, Ivan Mincik wrote: > Hi Denis, > some time ago I wrote my own PG History tracking functions [1] which I > never made production ready. I still see so

Re: [Qgis-developer] QGIS Server - GetPrint with a composer containing HTML block causes segfault

2013-05-22 Thread Marco Hugentobler
Hi Michael I also encountered that problem. Unfortunately, it seems that QWebKit requires a running x-server. So it won't be possible to use html items in server projects (or you can run an x-server and set the DISPLAY variable in the fcgi conf). Regards, Marco On 22.05.2013 09:43, kimaidou

Re: [Qgis-developer] QGIS Server - GetPrint with a composer containing HTML block causes segfault

2013-05-22 Thread kimaidou
Thanks for your answer Marco. I will try to use the workaround you described and report progress here. Michael 2013/5/22 Marco Hugentobler > Hi Michael > > I also encountered that problem. Unfortunately, it seems that QWebKit > requires a running x-server. So it won't be possible to use html

Re: [Qgis-developer] QGIS Server - GetPrint with a composer containing HTML block causes segfault

2013-05-22 Thread Tim Sutton
Hi You might also want to consider using Xfvb as a 'fake' xserver. Regards Tim On Wed, May 22, 2013 at 10:19 AM, kimaidou wrote: > Thanks for your answer Marco. I will try to use the workaround you described > and report progress here. > > Michael > > > 2013/5/22 Marco Hugentobler >> >> Hi Mi

Re: [Qgis-developer] State of Spatialite 4.0 and GDAL 1.10 for QGIS 2.0?

2013-05-22 Thread a . furieri
On Wed, 22 May 2013 09:33:30 +0200, Ivan Mincik wrote: As I understand from discussion with SpatiaLite author Sandro Furieri, version 4 is really strongly recommended over version 3. Version 3 was some kind of not very successful release. that's not completely true; version 3 simply was the

Re: [Qgis-developer] State of Spatialite 4.0 and GDAL 1.10 for QGIS 2.0?

2013-05-22 Thread a . furieri
On Tue, 21 May 2013 13:14:00 -0600, Larry Shaffer wrote: Is anyone using QGIS master branch with Spatialite 4.0 successfully? If Spatialite 4.0 is still not supported yet, is anyone working on it? I can get a vector layer to Save as... to a Spatialite 4.0 db, but can't create a new one. On

Re: [Qgis-developer] State of Spatialite 4.0 and GDAL 1.10 for QGIS 2.0?

2013-05-22 Thread Giuseppe Sucameli
Hi all, On Wed, May 22, 2013 at 12:22 PM, wrote: > On Tue, 21 May 2013 20:42:35 +, Cline, Royce L. wrote: > >> The other issue I have had with SpatiaLite 4 is with DB Manager. DB >> Manager does not recognize geometry for a table in a Spatialite 4 >> created database (new spatial metadata).

Re: [Qgis-developer] State of Spatialite 4.0 and GDAL 1.10 for?QGIS?2.0?

2013-05-22 Thread Jürgen E . Fischer
Hi Sandro, On Wed, 22. May 2013 at 12:22:31 +0200, a.furi...@lqt.it wrote: > so the real issue is in that quite almost Linux major distros still > support obsolete versions of libspatialite; the same is true for the > OSGeo4W Win distro. I understood that you're going to change that by becoming t

Re: [Qgis-developer] State of Spatialite 4.0 and GDAL 1.10 for?QGIS?2.0?

2013-05-22 Thread a . furieri
On Wed, 22 May 2013 13:20:03 +0200, Jürgen E. Fischer wrote: Hi Sandro, On Wed, 22. May 2013 at 12:22:31 +0200, a.furi...@lqt.it wrote: so the real issue is in that quite almost Linux major distros still support obsolete versions of libspatialite; the same is true for the OSGeo4W Win distro.

Re: [Qgis-developer] Postgres Audit Trigger plugin: beta-tester & feedback

2013-05-22 Thread Ivan Mincik
Hi Denis, I have found a problem. The problem was that menu item 'Define logged action layer' was confusing for me and I was choosing my PostGIS geometry layer there. I recommend to rename it to something like 'Choose audit history table' (avoid using 'layer') with some description that the table s

Re: [Qgis-developer] State of Spatialite 4.0 and GDAL 1.10 for QGIS 2.0?

2013-05-22 Thread Cline, Royce L.
QGIS is using Spatialite 4. If I execute SELECT spatialite_version() in DB Manger, I get 4.0.0. The problem with creating a new layer is that with SpatiaLite 4, QGIS will not load an empty table. The debug info shows: Debug: src/providers/spatialite/qgsspatialiteprovider.cpp: 523: (QgsSpatiaLit

Re: [Qgis-developer] State of Spatialite 4.0 and GDAL 1.10 for QGIS 2.0?

2013-05-22 Thread a . furieri
Hi Giuseppe, thanks for your further clarifications (really useful to completely focus the question). no insert nor update statements are performed to understand what's the layer's geometry type, and the db v4.0 wasn't created by DB Manager All right, now I finally understand that the que

[Qgis-developer] QGIS Server - performance issue in master since one week (after df19fe5e04b0c2ae8f1b13000099715559e6bd50 )

2013-05-22 Thread kimaidou
Hi devs There seems to be a performance issue in QGIS Server. I tried to compile different versions and got the following results : QGIS master df19fe5e04b0c2ae8f1b1399715559e6bd50 --> works as expected = pretty fast ;) QGIS today's master -> a lot of performance issues. I get a lot of the f

Re: [Qgis-developer] QGIS Server - performance issue in master since one week (after df19fe5e04b0c2ae8f1b13000099715559e6bd50 )

2013-05-22 Thread kimaidou
I checked other commits : pyqgis-console] allow to disable automatic parentheses insertion from settings (commit 942d6bfa5d5e9cc7471efcd34717613fa6a8b7db ) --> performance issues Fix wmsserver: Do not manipulate maplayerregistry directly (commit df19fe5e04b0c2ae8f1b1399715559e6bd50 ) --> Goo

Re: [Qgis-developer] QGIS Server - performance issue in master since one week (after df19fe5e04b0c2ae8f1b13000099715559e6bd50 )

2013-05-22 Thread Jürgen E . Fischer
Hi Michael, On Wed, 22. May 2013 at 16:14:50 +0200, kimaidou wrote: > So there is a commit in between which raises the issue. I can go on the > process of compiling every commit to find the one which triggers the > issue, unless someone knows I don't. But git bisect will probably take you there

Re: [Qgis-developer] State of Spatialite 4.0 and GDAL 1.10 for QGIS 2.0?

2013-05-22 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 22/05/2013 09:33, Ivan Mincik ha scritto: > Definitely, I think that QGIS 2 must be released with SpatiaLite > 4. Agreed, it would be a pity not having it. All the best. - -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at www

Re: [Qgis-developer] QGIS Server - performance issue in master since one week (after df19fe5e04b0c2ae8f1b13000099715559e6bd50 )

2013-05-22 Thread kimaidou
Thanks Jürgen for this great tip I almost trapped the "vicious" commit ! Following commit has BAD Server perfs Fix wmsserver: Do not manipulate maplayerregistry directly df19fe5e04b0c2ae8f1b1399715559e6bd50 Following commit has GOOD Server perfs Merge pull request #591 from ccrook/delimited_

Re: [Qgis-developer] QGIS Server - performance issue in master since one week (after df19fe5e04b0c2ae8f1b13000099715559e6bd50 )

2013-05-22 Thread kimaidou
Here is the result of git log between the 2 commits df19fe5e04b0c2ae8f1b1399715559e6bd50 Fix wmsserver: Do not manipulate maplayerregistry directly ---> BAD 6fcdc05fde836cb93985a9979636c999ec32 Use a cosmetic pen for snap lines to prevent lines scaling (fix #7524) d88872806ff6d380e396dd1

Re: [Qgis-developer] QGIS Server - performance issue in master since one week (after df19fe5e04b0c2ae8f1b13000099715559e6bd50 )

2013-05-22 Thread Matthias Kuhn
Hi Michael, It's probably the commit you identified: Fix wmsserver: Do not manipulate maplayerregistry directly df19fe5e04b0c2ae8f1b1399715559e6bd50 I'm almost sure if you revert this one and commit 35de29df9bea0a8d36d54aec677df054d7cd37ba it will run fine. I'll have a look and revert the

Re: [Qgis-developer] QGIS Server - performance issue in master since one week (after df19fe5e04b0c2ae8f1b13000099715559e6bd50 )

2013-05-22 Thread kimaidou
2013/5/22 Matthias Kuhn > Hi Michael, > > It's probably the commit you identified: > > Fix wmsserver: Do not manipulate maplayerregistry directly > df19fe5e04b0c2ae8f1b1399715559e6bd50 > I think so too. > > I'm almost sure if you revert this one and commit > 35de29df9bea0a8d36d54aec677df0

Re: [Qgis-developer] QGIS Server - performance issue in master since one week (after df19fe5e04b0c2ae8f1b13000099715559e6bd50 )

2013-05-22 Thread Matthias Kuhn
On top of current master (so checked out most recent commit with bad performance): git revert df19fe5e04b0c2ae8f1b1399715559e6bd50 git revert 35de29df9bea0a8d36d54aec677df054d7cd37ba One more question: Do you have any plugins running? (Is this even supported by server)? On Mit 22 Mai 2013 1

Re: [Qgis-developer] QGIS Server - performance issue in master since one week (after df19fe5e04b0c2ae8f1b13000099715559e6bd50 )

2013-05-22 Thread kimaidou
Answers below 2013/5/22 Matthias Kuhn > On top of current master (so checked out most recent commit with bad > performance): > git revert df19fe5e04b0c2ae8f1b1399715559e6bd50 > git revert 35de29df9bea0a8d36d54aec677df054d7cd37ba > > Ok. So I reverted these 2 commits. I am now runnin the comp

Re: [Qgis-developer] QGIS Server - performance issue in master since one week (after df19fe5e04b0c2ae8f1b13000099715559e6bd50 )

2013-05-22 Thread kimaidou
Matthias, Reverting the 2 commits above latests master works -> regression is gone, and QGIS Server is as fast as usual. Let me know if you want me to try some branch of yours for testing QGIS Server. Cheers Michael ___ Qgis-developer mailing list Qgis

Re: [Qgis-developer] QGIS Server - performance issue in master since one week (after df19fe5e04b0c2ae8f1b13000099715559e6bd50 )

2013-05-22 Thread Matthias Kuhn
The pull request [1] solves this. I don't really like this fix, but I don't know the mapserver source well enough to provide a better fix. Marco, could you have a look at the pull request and give a short feedback. Further discussion could also happen there. Regards, Matthias [1] https://githu

Re: [Qgis-developer] QGIS Server - performance issue in master since one week (after df19fe5e04b0c2ae8f1b13000099715559e6bd50 )

2013-05-22 Thread kimaidou
Thanks Matthias for helping me to solve this out. I subscribed to the Git pull request page. Good evening 2013/5/22 Matthias Kuhn > The pull request [1] solves this. I don't really like this fix, but I > don't know the mapserver source well enough to provide a better fix. > > Marco, could you

Re: [Qgis-developer] New Vector API

2013-05-22 Thread Matthias Kuhn
Hi List, Hi Martin, TLDR; New QgsFeatureRequest filters - FilterExpression - FilterFids Available here [1] For another project I'm currently working on, I need additional filter possibilities in QgsFeatureRequest to filter with a QgsExpression. As I - did not want to repeat the code inside each i

[Qgis-developer] Delimited text issues and ideas

2013-05-22 Thread Chris Crook
Hi Régis Interesting thoughts. I've renamed this thread and copied it in to qgis-developer, as I think it is worth getting broader input on this. Hope you don't mind my putting your email there If I've understood the main points of your suggestion are: 1) The delimited text provider an

[Qgis-developer] QGIS on Ubuntu Tablet

2013-05-22 Thread Larry Shaffer
Hi, Just yesterday I was approached at work about making a mobile gis-based field mapping program for dinosaur bone excavations (my current day job is IT- and design-related for a professional paleontology company). Of course I thought of a QGIS-Android and QMap first. Then, I read about the upcom

Re: [Qgis-developer] QGIS on Ubuntu Tablet

2013-05-22 Thread Nathan Woodrow
If you can get QMap running on that platform I would be very interested to see it. Once Python support is in Android I should be able to cover that base with QMap. - Nathan On Thu, May 23, 2013 at 6:50 AM, Larry Shaffer wrote: > Hi, > > Just yesterday I was approached at work about making a mo

Re: [Qgis-developer] QGIS on Ubuntu Tablet

2013-05-22 Thread Noli Sicad
Hi Larry, The latest QGIS Mobile SoC is using Qt QML as UI for QGIS Mobile. http://rcarrillo.org/tags/qgis-planet Probably, you can hack this code and run native in Qt5 QML in Ubuntu Tablet (Nexus 10). Ubuntu Tablet Mir (new replacement of X-server in Ubuntu) is very friendly with Qt QML. Tha

Re: [Qgis-developer] QGIS on Ubuntu Tablet

2013-05-22 Thread Marco Bernasocchi
almost there, opefully unmatched sip veesions is the last hurdle. ciao http://wp.me/p2s3uH-eh Marco Bernasocchi (mobile) http://opengis.ch On May 22, 2013 10:56 PM, "Nathan Woodrow" wrote: > If you can get QMap running on that platform I would be very interested to > see it. Once Python support

Re: [Qgis-developer] Delimited text issues and ideas

2013-05-22 Thread Tim Sutton
Hi On Wed, May 22, 2013 at 10:48 PM, Chris Crook wrote: > Hi Régis > > Interesting thoughts. I've renamed this thread and copied it in to > qgis-developer, as I think it is worth getting broader input on this. Hope > you don't mind my putting your email there > > If I've understood the

[Qgis-developer] FW: Invitation to become a QGIS core committer

2013-05-22 Thread Chris Crook
As per requirements of Contributor guidelines, copying this email to the qgis-developer list Hi Tim Thanks for the invitation. I've read the contributor guidelines and agree and will make my best endeavours to comply with this, including cracking the occasional joke as obligated by the Socia

Re: [Qgis-developer] editing problems

2013-05-22 Thread vinayan
This is the most alarming bug at the moment..It would be great if someone can fix it soon..I took a dig at it myself and seems to be beyond my skills.. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/editing-problems-tp5052578p5055070.html Sent from the Quantum GIS - Develo

Re: [Qgis-developer] Delimited text issues and ideas

2013-05-22 Thread Alexander Bruy
Hi, also another useful option will be ability lo load multiple CSV files at once using same settings. Now, if I want load many CSV file I should open them one by one, set settings and then load. I know, this can be implemented as script but not all users like scripting. -- Alexander Bruy _