Re: [Qgis-developer] [Qgis-tr] Translation of QGIS Processing algorithm parameters

2016-10-12 Thread Werner Macho

Very good idea..
+1 for that.. Going to take a look once I'm back home..
Regards
Werner


On 13 October 2016 00:22:22 Johan Van de Wauw  
wrote:



Saga contains logic to translate the gui and modules, including german. See
the txt files here:
https://sourceforge.net/p/saga-gis/code/ci/master/tree/saga-gis/src/saga_core/saga_gui/res/

Translation should not happen in QGIS but in SAGA. We could definitely look
at how the translated strings of SAGA can pop up in processing. Please
contact us at the mailing list:
https://sourceforge.net/p/saga-gis/mailman/saga-gis-developer/ if you would
like to work on this.

Kind Regards,
Johan

On Wed, Sep 14, 2016 at 5:14 PM, DelazJ  wrote:


(Forwarding to QGIS-Developer)

Hi,
Germán, I neither can find any of these strings.

Devs, is that normal to not have texts from processing algorithms GUI not
available in Transifex while the algorithm name itself is available (e.g.,
Ordinary Kriging ...) to translation?

Regards,
Harrissou

2016-09-14 16:02 GMT+02:00 Germán Carrillo :


Transifex Webtranslation page for QGIS is on
https://www.transifex.com/qgis/


Hi Werner,

thanks for your reply.

I'm particularly interested in translating parameters of some SAGA
algorithms inside QGIS Processing GUI (e.g., [1]). However, I cannot find
the strings in Transifex (QGIS Desktop). Do you know what's the way to go?

Regards,

Germán

[1] http://downloads.tuxfamily.org/tuxgis/tmp/saga_algorithm
_parameters.png

2016-09-14 5:38 GMT-05:00 Werner Macho :


Transifex Webtranslation page for QGIS is on
https://www.transifex.com/qgis/

Hi!

Sorry for the delay,
Usually the language coordinators accept the people in their language
(to at least speak to each other and better coordinate).
Sometimes it can take some time (if the coordinator is on holiday or
something like this).
But if it takes more than a month it would be nice to inform me so that
I can try to get in contact. If a language coordinator is not active
anymore we have to search for a new one.

But for now you should be accepted.

kind regards and thanks for offering your help.

Werner

On 13/09/16 15:29, Germán Carrillo wrote:
> Transifex Webtranslation page for QGIS is on
https://www.transifex.com/qgis/
>
>
>
> Hi All,
>
> I'd like to join the Spanish-language team for QGIS Desktop
translation.
>
> I've already signed-up in Transifex, but haven't received any
> confirmation e-mail (even pressing the button 'resend confirmation
> e-mail'). Tried changing the e-mail address with no success.
>
> My aim is to translate SAGA algorithm parameters in the QGIS Processing
> GUI. Am I on the right track or is translation of QGIS Processing
> algorithms done differently?
>
>
> Regards,
>
> Germán
> --
> ---
>|\__
> (:>__)(
>|/
> Soluciones Geoinformáticas Libres
> http://geotux.tuxfamily.org/
> http://twitter.com/GeoTux2
> http://about.me/germancarrillo
>
> 
>
>
> ___
> QGIS-Translators mailing list
> qgis...@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-tr
>
___
QGIS-Translators mailing list
qgis...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-tr





--
---
   |\__
(:>__)(
   |/
Soluciones Geoinformáticas Libres
http://geotux.tuxfamily.org/
http://twitter.com/GeoTux2
http://about.me/germancarrillo



___
QGIS-Translators mailing list
qgis...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-tr




___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer





--
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] feature selected expression

2016-10-12 Thread Denis Rouzaud
Hi Andreas,

Thanks a lot for your reply, the plugin helped a lot!

Let's keep in touch for this development,

Best wishes,

Denis

Le mer. 12 oct. 2016 à 15:40, Neumann, Andreas  a
écrit :

> Hi Denis,
>
> It is in the "ExpressionsPlus" python plugin - for now.
>
> It was discussed if this could become a core feature - see thread starting
> at
> https://lists.osgeo.org/pipermail/qgis-developer/2016-September/044855.html
>
>
> See feature request: https://hub.qgis.org/issues/15618
>
> Noone is assigned yet to work on it. We may probably fund Matthias to work
> on it - but if you need this quicker, please go ahead and do or fund it
> yourself.
>
> Andreas
>
> On 2016-10-12 15:12, Denis Rouzaud wrote:
>
> Hi all,
>
> I remember reading something about an expression to know if a feature is
> selected or not, but can't recall where.
>
> Is this already in master?
>
> Can this be used for specific symbology of features in map composer?
>
>
> Thanks
>
> Denis
>
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Annotations not saved in 2.16.3 and master 2?

2016-10-12 Thread Régis Haubourg
Hi,
here in ubuntu xenial, qgis compiled from source, I can't save annotations
in QGIS in project file.

Testing that I also triggered a crash if there is an html annotation with
no file provided.

Anyone reproduces that before I fill a bug report?
Cheers
Régis

-- 
Régis Haubourg

regis.haubo...@oslandia.com
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] QGIS Server, my last improvements

2016-10-12 Thread René-Luc Dhont

Hi Devs,

I'm writting this email to inform you about my last QGIS Server 
improvements.


Firstly, when we fixed something in QgsMapLayerRegistry: [BUGFIX] Emit 
layerWillBeRemoved like layersWillBeRemoved (#3194) 
https://github.com/qgis/QGIS/commit/f6aad8bad6db72d0b1e573998ac7dcb2405dce55; 
we generated an issue in QGIS Server: Qgis Server doesnt' respect the 
styling from Desktop http://hub.qgis.org/issues/15522.


I investigated the issue 15522 and found that layersWillBeRemoved 
results in clearing vector layer join buffers. So layers in QGIS Server 
cache has empty join buffer. To fixed it, the only accessible method is 
QgsVectorLayer::readXML. But this method does not only reload joins, it 
also forces reload data and all other configuration stored in the qgis 
project. The uses of these method results it a memory leak. So the good 
solution is to add an accessor to the QgsVectorLayer::joinBuffer. 
https://github.com/qgis/QGIS/pull/3593


Following the advice of Nyall, I replace dynamic_cast by qobject_cast 
when it is usefull. I gained some performances with it.


I opened an other pull request about GetLegendGraphic and layer title, 
requested by a customer https://github.com/qgis/QGIS/pull/3595 And it 
needs some review

In this PR, I enhance the QGIS Server tests but a lot has to be done.

Regards,

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] [Qgis-tr] Translation of QGIS Processing algorithm parameters

2016-10-12 Thread Johan Van de Wauw
Saga contains logic to translate the gui and modules, including german. See
the txt files here:
https://sourceforge.net/p/saga-gis/code/ci/master/tree/saga-gis/src/saga_core/saga_gui/res/

Translation should not happen in QGIS but in SAGA. We could definitely look
at how the translated strings of SAGA can pop up in processing. Please
contact us at the mailing list:
https://sourceforge.net/p/saga-gis/mailman/saga-gis-developer/ if you would
like to work on this.

Kind Regards,
Johan

On Wed, Sep 14, 2016 at 5:14 PM, DelazJ  wrote:

> (Forwarding to QGIS-Developer)
>
> Hi,
> Germán, I neither can find any of these strings.
>
> Devs, is that normal to not have texts from processing algorithms GUI not
> available in Transifex while the algorithm name itself is available (e.g.,
> Ordinary Kriging ...) to translation?
>
> Regards,
> Harrissou
>
> 2016-09-14 16:02 GMT+02:00 Germán Carrillo :
>
>> Transifex Webtranslation page for QGIS is on
>> https://www.transifex.com/qgis/
>>
>>
>> Hi Werner,
>>
>> thanks for your reply.
>>
>> I'm particularly interested in translating parameters of some SAGA
>> algorithms inside QGIS Processing GUI (e.g., [1]). However, I cannot find
>> the strings in Transifex (QGIS Desktop). Do you know what's the way to go?
>>
>> Regards,
>>
>> Germán
>> 
>> [1] http://downloads.tuxfamily.org/tuxgis/tmp/saga_algorithm
>> _parameters.png
>>
>> 2016-09-14 5:38 GMT-05:00 Werner Macho :
>>
>>> Transifex Webtranslation page for QGIS is on
>>> https://www.transifex.com/qgis/
>>>
>>> Hi!
>>>
>>> Sorry for the delay,
>>> Usually the language coordinators accept the people in their language
>>> (to at least speak to each other and better coordinate).
>>> Sometimes it can take some time (if the coordinator is on holiday or
>>> something like this).
>>> But if it takes more than a month it would be nice to inform me so that
>>> I can try to get in contact. If a language coordinator is not active
>>> anymore we have to search for a new one.
>>>
>>> But for now you should be accepted.
>>>
>>> kind regards and thanks for offering your help.
>>>
>>> Werner
>>>
>>> On 13/09/16 15:29, Germán Carrillo wrote:
>>> > Transifex Webtranslation page for QGIS is on
>>> https://www.transifex.com/qgis/
>>> >
>>> >
>>> >
>>> > Hi All,
>>> >
>>> > I'd like to join the Spanish-language team for QGIS Desktop
>>> translation.
>>> >
>>> > I've already signed-up in Transifex, but haven't received any
>>> > confirmation e-mail (even pressing the button 'resend confirmation
>>> > e-mail'). Tried changing the e-mail address with no success.
>>> >
>>> > My aim is to translate SAGA algorithm parameters in the QGIS Processing
>>> > GUI. Am I on the right track or is translation of QGIS Processing
>>> > algorithms done differently?
>>> >
>>> >
>>> > Regards,
>>> >
>>> > Germán
>>> > --
>>> > ---
>>> >|\__
>>> > (:>__)(
>>> >|/
>>> > Soluciones Geoinformáticas Libres
>>> > http://geotux.tuxfamily.org/
>>> > http://twitter.com/GeoTux2
>>> > http://about.me/germancarrillo
>>> >
>>> > 
>>> >
>>> >
>>> > ___
>>> > QGIS-Translators mailing list
>>> > qgis...@lists.osgeo.org
>>> > http://lists.osgeo.org/mailman/listinfo/qgis-tr
>>> >
>>> ___
>>> QGIS-Translators mailing list
>>> qgis...@lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-tr
>>
>>
>>
>>
>> --
>> ---
>>|\__
>> (:>__)(
>>|/
>> Soluciones Geoinformáticas Libres
>> http://geotux.tuxfamily.org/
>> http://twitter.com/GeoTux2
>> http://about.me/germancarrillo
>>
>> 
>>
>> ___
>> QGIS-Translators mailing list
>> qgis...@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-tr
>>
>
>
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] feature selected expression

2016-10-12 Thread Neumann, Andreas
Hi Denis, 

It is in the "ExpressionsPlus" python plugin - for now. 

It was discussed if this could become a core feature - see thread
starting at
https://lists.osgeo.org/pipermail/qgis-developer/2016-September/044855.html
 

See feature request: https://hub.qgis.org/issues/15618 

Noone is assigned yet to work on it. We may probably fund Matthias to
work on it - but if you need this quicker, please go ahead and do or
fund it yourself. 

Andreas 

On 2016-10-12 15:12, Denis Rouzaud wrote:

> Hi all, 
> 
> I remember reading something about an expression to know if a feature is 
> selected or not, but can't recall where. 
> 
> Is this already in master? 
> 
> Can this be used for specific symbology of features in map composer? 
> 
> Thanks 
> 
> Denis
> 
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

  ___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] feature selected expression

2016-10-12 Thread Denis Rouzaud
Hi all,

I remember reading something about an expression to know if a feature is
selected or not, but can't recall where.

Is this already in master?

Can this be used for specific symbology of features in map composer?


Thanks

Denis

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS server improvements

2016-10-12 Thread Paolo Cavallini
Il 12/10/2016 14:20, René-Luc Dhont ha scritto:
> Hi devs,
> 
> I have updated the QEP:

Thanks René. Should we wait until all the pieces are defined, or should
a crowdfunding start piece by piece? I think having a general picture
first would be good, but on the other hand starting with consolidated
part of the work will possibly make the process smoother.
Opinions?
All the best.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS server improvements

2016-10-12 Thread René-Luc Dhont

Hi devs,

I have updated the QEP:
* the title made by David
* the list of qgis3.0_api issues
https://github.com/qgis/QGIS-Enhancement-Proposals/issues/74

I have found 5 already opened qgis3.0_api issues link to QGIS server 
enhancement.

* QgsProject is a singleton #8
* Map Layers and QgsMapLayerRegistry #16
* QgsMapLayerRegistry is a singleton #23
* Singletons #42
* Remove QgsServerProjectParser #57

Work In Progress:
* https://github.com/qgis/QGIS/pull/3129

I'd like to know if the work on QgsProject / QgsMapLayerRegsitry has 
already started ?


And I'll investagate the QgsServerProjectParser to see which part could 
be done by QGIS core.


Regards,
René-Luc

Le 12/10/2016 à 10:13, David Marteau a écrit :

Ok for the renaming.

Le 12 oct. 2016 à 10:04, Neumann, Andreas > a écrit :


Hi,

Yes - that seems a good place to do the discussions.

Maybe the title of the QEP can be renamed to "QGIS server code 
refactoring for QGIS 3.0" - or something similar. And the original 
proposal about the "Server Services as plugins" could be included?


Thanks and greetings,
Andreas

On 2016-10-12 09:56, David Marteau wrote:


Hi,

There a QEP about the refactoring of the server that already 
addresses some issues: 
https://github.com/qgis/QGIS-Enhancement-Proposals/issues/74, could 
it fit as a starting point ?



Le 12 oct. 2016 à 09:42, Paolo Cavallini > a écrit :


Il 12/10/2016 09:26, Neumann, Andreas ha scritto:

Lets spend some time first, to collect all the requirements before 
we do
any further actions. I think in this situation a QEP, describing 
what to
do in what order, makes a lot of sense. After that we can look 
into who

could do what.


Agreed fully. Would you like to start it?
Thanks a lot.

--
Paolo Cavallini - www.faunalia.eu 
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org 
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer






___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Join attributes crashes randomly

2016-10-12 Thread Matteo Ghetta
Hi guys,

with very small files (10 rows shape and 10 rows table) QGIS 2.16 crashes
randomly with both Windows (2.16.3) and Linux (2.16 compiled from source).

Someone else experienced the same problem?

Thanks

Cheers

Matteo
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS server improvements

2016-10-12 Thread Marco Hugentobler

Hi

I agree with Andreas that there is no need to hurry. It is much easier 
to plan once the Project / MapLayerRegistry redesign has been done.


The plans with server services as plugins are nice, and people can work 
at it while the Project / MapLayerRegistry refactoring is going on. It 
is however not absolutely necessary for a working QGIS Server, so no 
need to hurry here too.


Regards,
Marco

On 10/12/16 10:14, Neumann, Andreas wrote:


I think it needs a core dev familiar on the code base (specifically 
server situation) to decide what needs to be done under the hood.


I propose to ask Marco Hugentobler to take a technical lead on this, 
since he started QGIS server and should be familiar with the issues. 
Other devs can of course contribute.


I can help coordinate finances or testing - but don't have enough 
inside from a technical point of view.


Andreas

On 2016-10-12 10:07, Paolo Cavallini wrote:


Il 12/10/2016 09:56, David Marteau ha scritto:

Hi,

There a QEP about the refactoring of the server that already 
addresses some issues: 
https://github.com/qgis/QGIS-Enhancement-Proposals/issues/74, could 
it fit as a starting point ?


Thanks everybody for comments. I agree we should start moving ASAP, and
what we mainly need at this stage is someone taking the lead on this,
ensuring that nothing important will fall into the cracks. Andreas,
would you be available? Anybody else? If nobody, I can help.
All the best.




___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer



--
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentob...@sourcepole.ch http://www.sourcepole.ch

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS server improvements

2016-10-12 Thread Neumann, Andreas
I think it needs a core dev familiar on the code base (specifically
server situation) to decide what needs to be done under the hood. 

I propose to ask Marco Hugentobler to take a technical lead on this,
since he started QGIS server and should be familiar with the issues.
Other devs can of course contribute. 

I can help coordinate finances or testing - but don't have enough inside
from a technical point of view. 

Andreas 

On 2016-10-12 10:07, Paolo Cavallini wrote:

> Il 12/10/2016 09:56, David Marteau ha scritto: 
> 
>> Hi,
>> 
>> There a QEP about the refactoring of the server that already addresses some 
>> issues: https://github.com/qgis/QGIS-Enhancement-Proposals/issues/74, could 
>> it fit as a starting point ?
> 
> Thanks everybody for comments. I agree we should start moving ASAP, and
> what we mainly need at this stage is someone taking the lead on this,
> ensuring that nothing important will fall into the cracks. Andreas,
> would you be available? Anybody else? If nobody, I can help.
> All the best.

  ___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS server improvements

2016-10-12 Thread David Marteau
Ok for the renaming.

> Le 12 oct. 2016 à 10:04, Neumann, Andreas  a écrit :
> 
> Hi,
> 
> Yes - that seems a good place to do the discussions.
> 
> Maybe the title of the QEP can be renamed to "QGIS server code refactoring 
> for QGIS 3.0" - or something similar. And the original proposal about the 
> "Server Services as plugins" could be included?
> 
> Thanks and greetings,
> Andreas
> 
> On 2016-10-12 09:56, David Marteau wrote:
> 
>> Hi,
>> 
>> There a QEP about the refactoring of the server that already addresses some 
>> issues: https://github.com/qgis/QGIS-Enhancement-Proposals/issues/74 
>> , could it fit 
>> as a starting point ?
>> 
>> 
>>> Le 12 oct. 2016 à 09:42, Paolo Cavallini >> > a écrit :
>>> 
>>> Il 12/10/2016 09:26, Neumann, Andreas ha scritto:
>>> 
 Lets spend some time first, to collect all the requirements before we do
 any further actions. I think in this situation a QEP, describing what to
 do in what order, makes a lot of sense. After that we can look into who
 could do what.
>>> 
>>> Agreed fully. Would you like to start it?
>>> Thanks a lot.
>>> 
>>> -- 
>>> Paolo Cavallini - www.faunalia.eu 
>>> QGIS & PostGIS courses: http://www.faunalia.eu/training.html 
>>> 
>>> https://www.google.com/trends/explore?date=all=IT=qgis,arcgis 
>>> 
>>> ___
>>> Qgis-developer mailing list
>>> Qgis-developer@lists.osgeo.org 
>>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer 
>>> 
>>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer 
>>>  
>  

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS server improvements

2016-10-12 Thread David Marteau
Naturally, I volonteer for help.

> Le 12 oct. 2016 à 10:07, Paolo Cavallini  a écrit :
> 
> Il 12/10/2016 09:56, David Marteau ha scritto:
>> Hi,
>> 
>> There a QEP about the refactoring of the server that already addresses some 
>> issues: https://github.com/qgis/QGIS-Enhancement-Proposals/issues/74, could 
>> it fit as a starting point ?
> 
> Thanks everybody for comments. I agree we should start moving ASAP, and
> what we mainly need at this stage is someone taking the lead on this,
> ensuring that nothing important will fall into the cracks. Andreas,
> would you be available? Anybody else? If nobody, I can help.
> All the best.
> 
> -- 
> Paolo Cavallini - www.faunalia.eu
> QGIS & PostGIS courses: http://www.faunalia.eu/training.html
> https://www.google.com/trends/explore?date=all=IT=qgis,arcgis

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS server improvements

2016-10-12 Thread Paolo Cavallini
Il 12/10/2016 09:56, David Marteau ha scritto:
> Hi,
> 
> There a QEP about the refactoring of the server that already addresses some 
> issues: https://github.com/qgis/QGIS-Enhancement-Proposals/issues/74, could 
> it fit as a starting point ?

Thanks everybody for comments. I agree we should start moving ASAP, and
what we mainly need at this stage is someone taking the lead on this,
ensuring that nothing important will fall into the cracks. Andreas,
would you be available? Anybody else? If nobody, I can help.
All the best.

-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Visualisation of relations

2016-10-12 Thread Neumann, Andreas
Hi Patrick, 

Matthias Kuhn, the one who knows about this the best, is currently out
of office / on holidays. I think he is back next week. 

I would probably wait for his review. 

Thanks and greetings, 

Andreas 

On 2016-10-12 09:48, Patrick Valsecchi wrote:

> No answer. I think I'll move forward with my proposal.
> 
> Thanks. 
> 
> On Fri, Oct 7, 2016 at 9:27 AM, Patrick Valsecchi 
>  wrote:
> 
>> Hi,
>> 
>> I'm tasked with making QGIS a bit more usable with complex database schemas 
>> having a lot of relations (up to hundreds of linked tables). The INSPIRE 
>> people were a bit too inspired when creating their data schemas and now we 
>> have to try to make QGIS able to cope with that.
>> 
>> My concerns with the current situation (as of QGIS master) are:
>> 
>> * We can specify the relations between the layers at the project level (it's 
>> now easier with the auto-discover feature for PostGIS and Spatialite). But 
>> those are only showing in the QgsAttributeForm for the 1-N side (the side 
>> that doesn't have the foreign key). Why not on the N-1 side?
>> * For showing the N-1 side in the QgsAttributeForm, one can define a Join in 
>> the layer's properties, but I don't see the point of having to define it 
>> here as well when we have already the relations info at the project level. I 
>> see a use for special joins, but for relations, I don't see why we have to 
>> define it twice. And the way it's displayed is not allowing to create joins 
>> or edit the joined fields.
>> * I let you imagine the look of the feature attribute form when there are 
>> hundreds of directly and indirectly linked tabled. This is just not usable 
>> if we display all of them directly like that. Just look at the attached 
>> screen shot that shows what happens by default with only 3 tables. It's 
>> already a mess.
>> 
>> Now, what I propose is: 
>> 
>> * Not expand the relation widget (QgsCollapsibleGroupBox) by default and 
>> build it's content only when it is expanded the first time (think of what 
>> would happen when you have loops in the schema).
>> * Show N-1 relations as well, in a collapsed by default 
>> QgsCollapsibleGroupBox, including a way to add a new linked entry, remove 
>> the link (put the FK to NULL) and delete it.
>> * Add a button to open a related feature in a new window.
>> 
>> What do you guys think? 
>> 
>> Thanks.
> 
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

  ___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS server improvements

2016-10-12 Thread David Marteau
Hi,

There a QEP about the refactoring of the server that already addresses some 
issues: https://github.com/qgis/QGIS-Enhancement-Proposals/issues/74, could it 
fit as a starting point ?


> Le 12 oct. 2016 à 09:42, Paolo Cavallini  a écrit :
> 
> Il 12/10/2016 09:26, Neumann, Andreas ha scritto:
> 
>> Lets spend some time first, to collect all the requirements before we do
>> any further actions. I think in this situation a QEP, describing what to
>> do in what order, makes a lot of sense. After that we can look into who
>> could do what.
> 
> Agreed fully. Would you like to start it?
> Thanks a lot.
> 
> -- 
> Paolo Cavallini - www.faunalia.eu
> QGIS & PostGIS courses: http://www.faunalia.eu/training.html
> https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Visualisation of relations

2016-10-12 Thread Patrick Valsecchi
No answer. I think I'll move forward with my proposal.

Thanks.

On Fri, Oct 7, 2016 at 9:27 AM, Patrick Valsecchi <
patrick.valsec...@camptocamp.com> wrote:

> Hi,
>
> I'm tasked with making QGIS a bit more usable with complex database
> schemas having a lot of relations (up to hundreds of linked tables). The
> INSPIRE people were a bit too inspired when creating their data schemas and
> now we have to try to make QGIS able to cope with that.
>
> My concerns with the current situation (as of QGIS master) are:
>
>- We can specify the relations between the layers at the project level
>(it's now easier with the auto-discover feature for PostGIS and
>Spatialite). But those are only showing in the QgsAttributeForm for the 1-N
>side (the side that doesn't have the foreign key). Why not on the N-1 side?
>- For showing the N-1 side in the QgsAttributeForm, one can define a
>Join in the layer's properties, but I don't see the point of having to
>define it here as well when we have already the relations info at the
>project level. I see a use for special joins, but for relations, I don't
>see why we have to define it twice. And the way it's displayed is not
>allowing to create joins or edit the joined fields.
>- I let you imagine the look of the feature attribute form when there
>are hundreds of directly and indirectly linked tabled. This is just not
>usable if we display all of them directly like that. Just look at the
>attached screen shot that shows what happens by default with only 3 tables.
>It's already a mess.
>
> Now, what I propose is:
>
>- Not expand the relation widget (QgsCollapsibleGroupBox) by default
>and build it's content only when it is expanded the first time (think of
>what would happen when you have loops in the schema).
>- Show N-1 relations as well, in a collapsed by default
>QgsCollapsibleGroupBox, including a way to add a new linked entry, remove
>the link (put the FK to NULL) and delete it.
>- Add a button to open a related feature in a new window.
>
> What do you guys think?
>
> Thanks.
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS server improvements

2016-10-12 Thread Paolo Cavallini
Il 12/10/2016 09:26, Neumann, Andreas ha scritto:

> Lets spend some time first, to collect all the requirements before we do
> any further actions. I think in this situation a QEP, describing what to
> do in what order, makes a lot of sense. After that we can look into who
> could do what.

Agreed fully. Would you like to start it?
Thanks a lot.

-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS server improvements

2016-10-12 Thread Neumann, Andreas
Hi Paolo / Tudor, 

I agree that the QGIS server improvements should be started. But you
need a clear plan on what to do in what order. Requirements need to go
first, otherwise there is no point in selecting devs, getting
quotes/estimates and doing a crowd-funding. And probably, several devs
will be involved. 

I wonder if a QGIS server dev could provide some insight in what needs
to be done, exactly. Who has a good overview regarding open issues
around QGIS server? Probably Marco? 

As to my knowledge, the following items need to be done: 

1. The API changes/improvements need to be done first. There are two
work items pending: 

- Proposal 14 from the QGIS grants titled "Project / Map layer registry
refactoring" from Martin Dobias. Most likely, the german and swiss QGIS
user group will fund this jointly. 

- The GUI/core separation of the widgets, cleanly separate GUI and core
for form widgets. This would allow better access to display values in
QGIS expressions and better access for (Python) Developers and the QGIS
server code base. I have a quote from Matthias Kuhn for approx. 4k EUR.
If someone can fund this, please let me know. 

I am sure there are more desired API changes that are useful for QGIS
server 

2. Then there is the switch from old map renderer to the new one. See
https://github.com/qgis/QGIS/pull/3129 

I don't know what other work items need to be done to get QGIS server in
good shape for QGIS 3.x? 

Lets spend some time first, to collect all the requirements before we do
any further actions. I think in this situation a QEP, describing what to
do in what order, makes a lot of sense. After that we can look into who
could do what. 

Andreas 

On 2016-10-12 09:00, Tudor Barascu wrote:

> Hi Paolo, 
> 
> A big thumbs up! 
> 
> All the best, 
> Tudor 
> 
> On Wednesday, October 12, 2016 8:28 AM, Paolo Cavallini 
>  wrote:
> 
> Hi all,
> after a first bloom of interest around the improvement/rewrite of qgis
> server, things seem stagnant nowadays. I suggest therefore to:
> * select one or more suitable developers
> * obtain an estimate
> * start a crowdfunding.
> Given the number of interested firms and individuals, I think it should
> be easy to reach the goal.
> Any objection to start soon?
> All the best.
> -- 
> Paolo Cavallini - www.faunalia.eu
> QGIS & PostGIS courses: http://www.faunalia.eu/training.html
> https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> 
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

  ___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] QGIS server improvements

2016-10-12 Thread Tudor Barascu
Hi Paolo,
A big thumbs up!
All the best,Tudor
 

On Wednesday, October 12, 2016 8:28 AM, Paolo Cavallini 
 wrote:
 

 Hi all,
after a first bloom of interest around the improvement/rewrite of qgis
server, things seem stagnant nowadays. I suggest therefore to:
* select one or more suitable developers
* obtain an estimate
* start a crowdfunding.
Given the number of interested firms and individuals, I think it should
be easy to reach the goal.
Any objection to start soon?
All the best.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

   ___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Master: ninja-build/output/bin/crssync, Segmentation fault (core dumped)

2016-10-12 Thread Denis Rouzaud
Hi,

You should start with an empty build directory. Going from an old build
directory on qt4 to qt5 doesn't seem to be possible.


I hope this helps.


Denis


On 10/11/2016 04:16 PM, René-Luc Dhont wrote:
>
> My ninja include qt4 and not qt5 and I don't know why or how enhance it.
>
>
> Le 11/10/2016 à 15:22, Jürgen E. Fischer a écrit :
>> On Tue, 11. Oct 2016 at 15:11:44 +0200, René-Luc Dhont wrote:
>>> Hi devs,
>>>
>>> I'm on Ubuntu 16.04 and I can't build master:
>>> ```
>>> ninja-build/output/bin/crssync
>>> Segmentation fault (core dumped)
>>> ```
>>> I have no problem with master_2 and release-2_16 also build with ninja.
>>> Any Idea ?
>> gdb ninja-build/output/bin/crssync core
>> bt
>>
>> Well, you asked for it ;)
>>
>>
>> Jürgen
>>
>>
>>
>> ___
>> Qgis-developer mailing list
>> Qgis-developer@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer