Re: [Qgis-developer] Problem with addAttribute and Postgres default value

2015-04-22 Thread Luca Manganelli
On Wed, Apr 22, 2015 at 4:15 PM, Luca Manganelli wrote: > Hi, > > I have a spatial table with an attribute that uses the today's date as > a default value. I found myself the solution to the problem. The trick is to check if the defaultValue() of the field is not null: # Create new feature new_f

Re: [Qgis-developer] qgis-web-client: module wsgi

2015-04-22 Thread Bernhard Ströbl
__ Information from ESET Mail Security, version of virus signature database 11515 (20150422) __ The message was checked by ESET Mail Security. http://www.eset.com ___ Qgis-developer mailing list

Re: [Qgis-developer] qgis-web-client: module wsgi

2015-04-22 Thread Enzo Cocca
hat; >> //URL for custom search scriptsnull; // >> var searchBoxQueryURL = "/wsgi/search.wsgi?query="; // null: >> var searchBoxGetGeomURL = "/wsgi/getSearchGeom.wsgi";//null; // >> >> The status is: >> NetworkError: 404 Not Found - >> &

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 > tha

Re: [Qgis-developer] Please check: I can't set selection color

2015-04-22 Thread Luigi Pirelli
thank you Alessandro, regards, Luigi Pirelli ** * LinkedIn: https://www.linkedin.com/in/luigipirelli * Elance: https://www.elance.com/s/edit/luigipirelli/ * GitHub: https://github.com/luipir * Stackexc

Re: [Qgis-developer] Please check: I can't set selection color

2015-04-22 Thread Alessandro Pasotti
2015-04-22 17:46 GMT+02:00 Luigi Pirelli : > Hi > > please check if it's a bug or my local problem... I can't change color > for selected features from GUI > > I think the color for selected feature is set in: > project properties->general->selection color (I set it to green) > > but when the feat

Re: [Qgis-developer] (how) should multicore rendering work ?

2015-04-22 Thread Luigi Pirelli
exactly I remember a post (in the list...or in Lutra blog) explaining that parallelism is related to multiple layer. regards, Luigi Pirelli ** * LinkedIn: https://www.linkedin.com/in/luigipirelli * Ela

[Qgis-developer] (how) should multicore rendering work ?

2015-04-22 Thread Sandro Santilli
I noticed that even with "Render layers in parallel using many CPU cores" checked and "Max cores to use" set to 8, my CPU monitor shows a single CPU is used while a single ~8 millions PostGIS point rows are being rendered. If I uncheck "Render layers in parallel using many CPU cores" nothing chang

[Qgis-developer] Please check: I can't set selection color

2015-04-22 Thread Luigi Pirelli
Hi please check if it's a bug or my local problem... I can't change color for selected features from GUI I think the color for selected feature is set in: project properties->general->selection color (I set it to green) but when the feature is selected (linear o polygonal) it remain yellow! also

[Qgis-developer] Problem with addAttribute and Postgres default value

2015-04-22 Thread Luca Manganelli
Hi, I have a spatial table with an attribute that uses the today's date as a default value. Prior to 2.8, for me it was sufficient to call initAttributes with the number of fields and then populate only the needed fields. Now in 2.8, QGIS fills all the other fields to NULL value, thus invalidati

Re: [Qgis-developer] qgis-web-client: module wsgi

2015-04-22 Thread Bernhard Ströbl
ave give the alias any idea? E __ Information from ESET Mail Security, version of virus signature database 11515 (20150422) __ The message was checked by ESET Mail Security. http://www.eset.com ___ Qgis-developer mailing list Qgis-developer@lists.

Re: [Qgis-developer] KMZ not parsed into columns?

2015-04-22 Thread Even Rouault
Le mercredi 22 avril 2015 13:43:59, Paolo Cavallini a écrit : > Hi all. > Opening a KMZ results in a layer with several fields, but most info is > stored in a "description" field, where all the xml is written, without > parsing it into columns. Is this a GDAL limitation? Any better solution? Care

Re: [Qgis-developer] qgis-web-client: module wsgi

2015-04-22 Thread Enzo Cocca
Hi all, I looked for a solution but without results. After set the default file in apache like that: ServerAdmin webmaster@localhost ServerName DocumentRoot /var/www/html/wms/site Options FollowSymLinks AllowOverride None DirectoryIndex index.php index.html Opti

[Qgis-developer] KMZ not parsed into columns?

2015-04-22 Thread Paolo Cavallini
Hi all. Opening a KMZ results in a layer with several fields, but most info is stored in a "description" field, where all the xml is written, without parsing it into columns. Is this a GDAL limitation? Any better solution? Thanks. -- Paolo Cavallini - www.faunalia.eu QGIS & PostGIS courses: http:/

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" ha scritto: > And webRTC i suppose... This could open to collaborative qgis, but > this service seems closed source. > > Regards, Luigi Pirelli > > > **

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

2015-04-22 Thread francescobocca...@libero.it
Hi all, i have a question for you. I'd like to have a new function in my plugin that makes an autime snapping if a start point or end point of a new feature inserted is closed to a vertex or segment base on a values setted ina configuration file. >From plugin console: l = iface.activeLayer() -

Re: [Qgis-developer] qgis-web-client: module wsgi

2015-04-22 Thread Enzo Cocca
tro...@jena.de >> >> <mailto:bernhard.stro...@jena.de>>>: >> >> Hi, >> >> the wsgi-Script is a script to be run _on the server_, not >> in the >> client. &g

Re: [Qgis-developer] qgis-web-client: module wsgi

2015-04-22 Thread Bernhard Ströbl
on from ESET Mail Security, version of virus signature database 11513 (20150422) __ The message was checked by ESET Mail Security. http://www.eset.com ___ Qgis-develope

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

2015-04-22 Thread Luigi Pirelli
And webRTC i suppose... This could open to collaborative qgis, but this service seems closed source. Regards, Luigi Pirelli ** * LinkedIn: https://www.linkedin.com/in/luigipirelli * Elance: https://www

Re: [Qgis-developer] qgis-web-client: module wsgi

2015-04-22 Thread Enzo Cocca
ipt to be run _on the server_, not in the >> client. >> >> Bernhard >> >> Am 22.04.2015 08:47, schrieb Enzo Cocca: >> >> Hi, >> I have one questionç >> >> I try to write a searchtext in the client, Firebug gives the er

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

2015-04-22 Thread Alessandro Pasotti
2015-04-22 9:26 GMT+02:00 Geo DrinX : > I am amazed by how qgis works fast on rollApp. I am also curious to know how > they did it, but that's a detail. > Me too: mouse move: Socket: sendMessage(): ["pointer-position",2,[707,497],[]] mouse click: Socket: sendMessage(): ["button-action",2,1,1,[2

[Qgis-developer] AdvancedDigitizing and Python

2015-04-22 Thread Bernhard Ströbl
virus signature database 11513 (20150422) __ The message was checked by ESET Mail Security. http://www.eset.com ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer

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

2015-04-22 Thread Geo DrinX
I am amazed by how qgis works fast on rollApp. I am also curious to know how they did it, but that's a detail. I also installed some plugins and they are working properly. QGIS that runs in a browser! :) Roberto 2015-04-21 23:02 GMT+02:00 G. Allegri : > It can be implemented with VNC-like too

Re: [Qgis-developer] qgis-web-client: module wsgi

2015-04-22 Thread Luca Manganelli
On Wed, Apr 22, 2015 at 9:15 AM, Enzo Cocca wrote: > and I have the error > "illegal character > #!/usr/bin/python" It seems that you have inserted a space before #!/usr/bin/python, remove it ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.

Re: [Qgis-developer] qgis-web-client: module wsgi

2015-04-22 Thread Bernhard Ströbl
from ESET Mail Security, version of virus signature database 11513 (20150422) __ The message was checked by ESET Mail Security. http://www.eset.com ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org &l

Re: [Qgis-developer] qgis-web-client: module wsgi

2015-04-22 Thread Enzo Cocca
gt; >> Hi, >> I have one questionç >> >> I try to write a searchtext in the client, Firebug gives the error >> message: >> >> "illegal character >> #!/usr/bin/python" >> >> Someone have a idea?? >> >> than