Re: [Qgis-developer] problem with forms and python init

2013-12-20 Thread Luca Lanteri
you are right, the code now works fine. It was just my fault due to to the fact that I'm trying to take ones first steps with pygis ! thanks for the support and sorry for the noise. Btw I also resolve my second problem described in the first mail. thanks Luca 2013/12/21 Enzo Ciarmoli : >> > nev

Re: [Qgis-developer] problem with forms and python init

2013-12-20 Thread Enzo Ciarmoli
> > nevertheless the problem remain the same: if i try to load the data > > from a table without geometry, values for i.attributes()[1] remain empty. Hi Luca, I tried your sample code and it works... I don't know what's wrong in your situation... If your problem remain the same, I could suggest y

Re: [Qgis-developer] 1:n relation style

2013-12-20 Thread Brent Wood
I have looked for docs or info about the 1:n join capability in QGIS 2.0 but can't find any info. Can someone point me in the right direction? Thanks,   Brent Wood From: Andreas Neumann To: qgis-developer@lists.osgeo.org Sent: Friday, December 20, 2013 10

Re: [Qgis-developer] qgisserver problem

2013-12-20 Thread Richard Duivenvoorde
Fixed by pulling a fresh master... On 19-12-13 20:59, Richard Duivenvoorde wrote: > > Compiled QGIS testing (12 dec) on a clean debian wheezy box > > copied qgis_mapserv.fcgi into /usr/lib/cgi-bin and created a vanilla qgs > project file > > but while getting a capabilities response, I'm not

[Qgis-developer] Change the raster layer registration point?

2013-12-20 Thread Brent Fraser
Hi all, Is there a QGIS API method to change the x,y values of the registration point of a raster layer? -- Best Regards, Brent Fraser ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-de

Re: [Qgis-developer] problem with forms and python init function

2013-12-20 Thread Luca Lanteri
Thanks Nathan, your code is decisively more clearer ! nevertheless the problem remain the same: if i try to load the data from a table without geometry, values for i.attributes()[1] remain empty. Luca 2013/12/20 Nathan Woodrow : > Hey Luca, > > If all you want to do is load the attributes for

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

2013-12-20 Thread Vincent Picavet
Hello, Le vendredi 20 décembre 2013 09:06:06, Pirmin Kalberer a écrit : [..] > > > The final goal is to execute QGIS-Processing Server-side. > > > > > > The first step was to run QGIS-Processing headless. I made a pull > > > request which needs review and test. > > > https://github.com/qgis/QGIS/

Re: [Qgis-developer] problem with forms and python init function

2013-12-20 Thread Nathan Woodrow
Hey Luca, If all you want to do is load the attributes for a column from layer you can just do this: layer = QgsMapLayerRegistry.instance().mapLayersByName('yourname')[0] for feature in layer.getFeatures(): combo.addItem(feature['columnname']) That will loop all the features and load the v

[Qgis-developer] problem with forms and python init function

2013-12-20 Thread Luca Lanteri
Hi to all, I'm a newbie with pyqgis so apologize me for the trivial question. I'm trying to create a forms using QT and to add some intelligence into it using the "python Init function", present in the Layer properties -> field menu. I want to update the data in combo2 on the base of the combo1 ch

Re: [Qgis-developer] 1:n relation style

2013-12-20 Thread Andreas Neumann
Hi, Well - it is not so easy to use 1:n relations in styling - not as easy as with the 1:1 joins. At least not from the "1" side. What would you use (min, max, mean, median, other aggregates) Or are you talking about the "n" side - where there is a clear relation just to one element that could be

Re: [Qgis-developer] [Feature][Processing] Headless

2013-12-20 Thread Victor Olaya
Hi sorry for the late reply This looks great to me. I have just merged it and made a minor cosmetic change to a line of code, but it's great to see that there is a way of running headless Processing. More valuable than the pull request is actually the script that you provide. Where do you think

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 a

Re: [Qgis-developer] 1:n relation style

2013-12-20 Thread matteo
Hi Matthias, it would be great if you can integrate all this features also into the relations! Thanks for your work! Cheers Matteo Hi Matteo, This is unfortunately not possible with the relations feature. Nevertheless, there is the "Join" feature in the layer properties, which enables yo

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

2013-12-20 Thread Pirmin Kalberer
Hi René-Luc, Am Donnerstag, 19. Dezember 2013, 12.21:25 schrieb Vincent Picavet: > > > Le jeudi 19 décembre 2013 12:11:21, René-Luc D'Hont a écrit : > [..] > > > The final goal is to execute QGIS-Processing Server-side. > > > > The first step was to run QGIS-Processing headless. I made a pull