Re: [Qgis-developer] No Zoom to selected point

2013-12-04 Thread Gino Pirelli
Sorry Bernhard was my mistake... I had a layer but it was composed of
circular polygons similar to point.

sorry for the noise


On 4 December 2013 07:50, Bernhard Ströbl bernhard.stro...@jena.de wrote:

 Hi Gino,

 can you confirm what I described (_one_ point selected, does not zoom)?

 I tried with f21562c on OpenSuse 64 bit.

 Bernhard

 Am 03.12.2013 18:01, schrieb Gino Pirelli:

 not confirmed in f21562c
 not confirmed in f1f2e16


 On 3 December 2013 16:40, Vincent Moravincent.m...@oslandia.com  wrote:

  I observed the same behavior (qgis master) with two points alligned on x
 (a very simple layer indeed).


 On 02/12/2013 12:15, Bernhard Ströbl wrote:

  Dear devs,

 today I stumbled on a strange behaviour when zoooming to a point.
 To reproduce: load a point layer, select one feature in the table and
 click Zoom to selection. The result is the same as if clicking Pan
 map
 to Selection, i.e the map is panned but not zoomed.
 I _think_ this is because the bounding box of the selected feature has a
 width and height of 0. Try iface.activeLayer().
 boundingBoxOfSelected().width()/.height() in the Python console.
 Geometrically speaking this is correct but as the zoom to selected
 function builds on a bounding box with width/height  0 the outcome for
 the
 user is bad.
 My suggestion would be to define a small rectangle around the bounding
 boxes' center if it has size 0 in the zoomToSelected function.

 Tried with QGIS 2.0.1 and current master

 Shall I file a ticket for this?

 Bernhard


 __ Information from ESET Mail Security, version of virus
 signature database 9119 (20131202) __

 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


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




 __ Information from ESET Mail Security, version of virus
 signature database 9125 (20131203) __


 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


 __ Information from ESET Mail Security, version of virus
 signature database 9125 (20131203) __


 The message was checked by ESET Mail Security.
 http://www.eset.com




 __ Information from ESET Mail Security, version of virus signature
 database 9127 (20131203) __


 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

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

Re: [Qgis-developer] No Zoom to selected point

2013-12-04 Thread Bernhard Ströbl

ok, created a ticket [1]

Bernhard

[1] http://hub.qgis.org/issues/9160

Am 04.12.2013 08:52, schrieb Marco Hugentobler:

 Oh, you are right! But then, wouldn't it be sensible to have the
program do that for me? Maybe zoom to a certain scale that is related to
say the size of the bounding box of the
 layer? So the scale would be different for a layer containing global
disaster points compared to one containing local addresses.

Zoom to a scale related to the layer bbox sounds much better than
zooming in a fixed factor.

Marco

On 04.12.2013 08:45, Bernhard Ströbl wrote:



Am 04.12.2013 08:38, schrieb Marco Hugentobler:

I have no means to see the particular point I selected and that is
worse than unconvenient.

Of course you have. You know the point is in the middle of the screen,
so you can manually zoom to it. It is just not convenient :-)


Oh, you are right! But then, wouldn't it be sensible to have the
program do that for me? Maybe zoom to a certain scale that is related
to say the size of the bounding box of the layer? So the scale would
be different for a layer containing global disaster points compared to
one containing local addresses.

Bernhard


On 04.12.2013 08:19, Bernhard Ströbl wrote:

Hi Marco,

of course it is undefined, but IMHO something should happen if you
click zoom to selected. If I have a cloud of points and nothing
happens I have no means to see the particular point I selected and
that is worse than unconvenient.
How does other GIS software handle this problem?

Bernhard

Am 04.12.2013 07:57, schrieb Marco Hugentobler:

Hi Bernhard

If one point is selected, it is somehow undefined how far to zoom in.
Earlier behaviour was to just zoom in by a factor of two. This however
is very unconvenient if you repeatedly select entries in the attribute
table and click 'zoom to selected'.

Regards,
Marco

On 04.12.2013 07:50, Bernhard Ströbl wrote:

Hi Gino,

can you confirm what I described (_one_ point selected, does not
zoom)?

I tried with f21562c on OpenSuse 64 bit.

Bernhard

Am 03.12.2013 18:01, schrieb Gino Pirelli:

not confirmed in f21562c
not confirmed in f1f2e16


On 3 December 2013 16:40, Vincent Moravincent.m...@oslandia.com
wrote:


I observed the same behavior (qgis master) with two points alligned
on x
(a very simple layer indeed).


On 02/12/2013 12:15, Bernhard Ströbl wrote:


Dear devs,

today I stumbled on a strange behaviour when zoooming to a point.
To reproduce: load a point layer, select one feature in the table
and
click Zoom to selection. The result is the same as if clicking
Pan map
to Selection, i.e the map is panned but not zoomed.
I _think_ this is because the bounding box of the selected feature
has a
width and height of 0. Try iface.activeLayer().
boundingBoxOfSelected().width()/.height() in the Python console.
Geometrically speaking this is correct but as the zoom to selected
function builds on a bounding box with width/height 0 the outcome
for the
user is bad.
My suggestion would be to define a small rectangle around the
bounding
boxes' center if it has size 0 in the zoomToSelected function.

Tried with QGIS 2.0.1 and current master

Shall I file a ticket for this?

Bernhard


__ Information from ESET Mail Security, version of virus
signature database 9119 (20131202) __

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



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





__ Information from ESET Mail Security, version of virus
signature database 9125 (20131203) __

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


__ Information from ESET Mail Security, version of virus
signature database 9125 (20131203) __

The message was checked by ESET Mail Security.
http://www.eset.com





__ Information from ESET Mail Security, version of virus
signature database 9127 (20131203) __

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






__ Information from ESET Mail Security, version of virus
signature database 9127 (20131203) __

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






__ Information from ESET Mail Security, version of virus

[Qgis-developer] Legend for proportionnal symbols and expression based symbols

2013-12-04 Thread Régis Haubourg
Hi All, 
we have a long lasting problem with proportionnal legends in QGIS. It gets
more problematic with V2, as those maps are so beautiful and popular. 

I'm starting some brainstorming to clarify fonctionnal specifications what
we actually want to have legends in layers registry and composer working. 

Here are some exemples of what I would love to see in legends:
 - [0] proportionnal circles or square with 1 to 5 classes
 - [1] proportionnal symbols AND colors 

Now that we have expressions everywhere, we probably will have to handle
legends differently than in other GIS, where legend is generated once, when
user tune symbology. Let me explain:

- user can now define expressions for size, color, rotation, border width...
for any sub-marker (1 to n) of a symbol. 
- Moreover, we can use conditionnal expressions, and scale dependent
conditions ($scale variable). 
- QGIS is also a server, we need to be able to generate legends working on
really displayed datas.

Conclusion, It now is impossible to correctly pre-generate the legend by
analysing symbology properties. 

Does this sound possible to developpers to explore some other way? We could
read real dataset to collect informations to build a legend, and eventually
do some statistical classification to get discrete classes from continuous
data? 

We could do that on live or on-demand update maybe. 

My idea was to collect rendered object in current canvas and current scale.
BUT.. we can face discrete data - some kind of SELECT DISTINCT can do the
trick - , OR continuous data - we need then to do some statistical
classification to reduce the legend to 1 - 10 classes to get it readable. 
We also need some intelligence in those statistical classifications:
 - round values to keep it readable
 - display separate classes only if size or color distance is long enough so
that human eye sees some difference on screen. ie: do not display for
classes if symbol size varies from 0.5 to 0.7... 
 - add some options in GUI to choose number of classes, type of legend
rendering.. 
 - keep the classification process fast (subset of data with random
sampling?) 
 - test all use cases, I'm mostly thinking of points symbols, but lines and
polygons must not be forgotten.

I'm sure plenty of scientists have already been theorizing all this. Any
opinions? Could this be an idea for GSoC or other kind of training course?  

I'll be pleased to get feedback from the community. 

Cheers
Régis 

[0] http://kelsocartography.com/blog/?p=2224
[1] http://www.geoclip.fr/img/bicol.jpg





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Legend-for-proportionnal-symbols-and-expression-based-symbols-tp5092635.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Legend for proportionnal symbols and expression based symbols

2013-12-04 Thread Denis Rouzaud

Hi régis,

Martin Dobias will make a proposal soon for a legend refactoring.
You should see with him how to let those things happen in the future in 
the new legend.


Cheers,

Denis


On 04. 12. 13 12:08, Régis Haubourg wrote:

Hi All,
we have a long lasting problem with proportionnal legends in QGIS. It gets
more problematic with V2, as those maps are so beautiful and popular.

I'm starting some brainstorming to clarify fonctionnal specifications what
we actually want to have legends in layers registry and composer working.

Here are some exemples of what I would love to see in legends:
  - [0] proportionnal circles or square with 1 to 5 classes
  - [1] proportionnal symbols AND colors

Now that we have expressions everywhere, we probably will have to handle
legends differently than in other GIS, where legend is generated once, when
user tune symbology. Let me explain:

- user can now define expressions for size, color, rotation, border width...
for any sub-marker (1 to n) of a symbol.
- Moreover, we can use conditionnal expressions, and scale dependent
conditions ($scale variable).
- QGIS is also a server, we need to be able to generate legends working on
really displayed datas.

Conclusion, It now is impossible to correctly pre-generate the legend by
analysing symbology properties.

Does this sound possible to developpers to explore some other way? We could
read real dataset to collect informations to build a legend, and eventually
do some statistical classification to get discrete classes from continuous
data?

We could do that on live or on-demand update maybe.

My idea was to collect rendered object in current canvas and current scale.
BUT.. we can face discrete data - some kind of SELECT DISTINCT can do the
trick - , OR continuous data - we need then to do some statistical
classification to reduce the legend to 1 - 10 classes to get it readable.
We also need some intelligence in those statistical classifications:
  - round values to keep it readable
  - display separate classes only if size or color distance is long enough so
that human eye sees some difference on screen. ie: do not display for
classes if symbol size varies from 0.5 to 0.7...
  - add some options in GUI to choose number of classes, type of legend
rendering..
  - keep the classification process fast (subset of data with random
sampling?)
  - test all use cases, I'm mostly thinking of points symbols, but lines and
polygons must not be forgotten.

I'm sure plenty of scientists have already been theorizing all this. Any
opinions? Could this be an idea for GSoC or other kind of training course?

I'll be pleased to get feedback from the community.

Cheers
Régis

[0] http://kelsocartography.com/blog/?p=2224
[1] http://www.geoclip.fr/img/bicol.jpg





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Legend-for-proportionnal-symbols-and-expression-based-symbols-tp5092635.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


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

Re: [Qgis-developer] Legend for proportionnal symbols and expression based symbols

2013-12-04 Thread Nyall Dawson
I haven't had a chance to properly plan this out, but something which
has been playing in the back of my mind is the idea of table
legends. Take a look at the legend in this map:
http://www.cartogrammar.com/images/vba/cervical_cancer.jpg
I'm thinking the user could specify the variable which is changed
along each axis, along with the min/max value for that axis and number
of rows/columns for the table. Then the classes would be generated
automatically (maybe equal ranges? equal count? user specified?) and
the symbol automatically generated for each cell in the table.

The size and spacing of each cell could be user controlled, so that
this type of legend would also work for symbol layers.

As I said, I haven't really sat down to work out exactly how this
would work yet... it's just a rough idea which I've been toying with!

Nyall


On 4 December 2013 22:34, Denis Rouzaud denis.rouz...@gmail.com wrote:
 Hi régis,

 Martin Dobias will make a proposal soon for a legend refactoring.
 You should see with him how to let those things happen in the future in the
 new legend.

 Cheers,

 Denis



 On 04. 12. 13 12:08, Régis Haubourg wrote:

 Hi All,
 we have a long lasting problem with proportionnal legends in QGIS. It gets
 more problematic with V2, as those maps are so beautiful and popular.

 I'm starting some brainstorming to clarify fonctionnal specifications what
 we actually want to have legends in layers registry and composer working.

 Here are some exemples of what I would love to see in legends:
   - [0] proportionnal circles or square with 1 to 5 classes
   - [1] proportionnal symbols AND colors

 Now that we have expressions everywhere, we probably will have to handle
 legends differently than in other GIS, where legend is generated once,
 when
 user tune symbology. Let me explain:

 - user can now define expressions for size, color, rotation, border
 width...
 for any sub-marker (1 to n) of a symbol.
 - Moreover, we can use conditionnal expressions, and scale dependent
 conditions ($scale variable).
 - QGIS is also a server, we need to be able to generate legends working on
 really displayed datas.

 Conclusion, It now is impossible to correctly pre-generate the legend by
 analysing symbology properties.

 Does this sound possible to developpers to explore some other way? We
 could
 read real dataset to collect informations to build a legend, and
 eventually
 do some statistical classification to get discrete classes from continuous
 data?

 We could do that on live or on-demand update maybe.

 My idea was to collect rendered object in current canvas and current
 scale.
 BUT.. we can face discrete data - some kind of SELECT DISTINCT can do the
 trick - , OR continuous data - we need then to do some statistical
 classification to reduce the legend to 1 - 10 classes to get it readable.
 We also need some intelligence in those statistical classifications:
   - round values to keep it readable
   - display separate classes only if size or color distance is long enough
 so
 that human eye sees some difference on screen. ie: do not display for
 classes if symbol size varies from 0.5 to 0.7...
   - add some options in GUI to choose number of classes, type of legend
 rendering..
   - keep the classification process fast (subset of data with random
 sampling?)
   - test all use cases, I'm mostly thinking of points symbols, but lines
 and
 polygons must not be forgotten.

 I'm sure plenty of scientists have already been theorizing all this. Any
 opinions? Could this be an idea for GSoC or other kind of training course?

 I'll be pleased to get feedback from the community.

 Cheers
 Régis

 [0] http://kelsocartography.com/blog/?p=2224
 [1] http://www.geoclip.fr/img/bicol.jpg





 --
 View this message in context:
 http://osgeo-org.1560.x6.nabble.com/Legend-for-proportionnal-symbols-and-expression-based-symbols-tp5092635.html
 Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer


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


Re: [Qgis-developer] Legend for proportionnal symbols and expression based symbols

2013-12-04 Thread Mathieu Pellerin
Now that's just gorgeous.




On Wed, Dec 4, 2013 at 7:13 PM, Nyall Dawson nyall.daw...@gmail.com wrote:

 I haven't had a chance to properly plan this out, but something which
 has been playing in the back of my mind is the idea of table
 legends. Take a look at the legend in this map:
 http://www.cartogrammar.com/images/vba/cervical_cancer.jpg
 I'm thinking the user could specify the variable which is changed
 along each axis, along with the min/max value for that axis and number
 of rows/columns for the table. Then the classes would be generated
 automatically (maybe equal ranges? equal count? user specified?) and
 the symbol automatically generated for each cell in the table.

 The size and spacing of each cell could be user controlled, so that
 this type of legend would also work for symbol layers.

 As I said, I haven't really sat down to work out exactly how this
 would work yet... it's just a rough idea which I've been toying with!

 Nyall


 On 4 December 2013 22:34, Denis Rouzaud denis.rouz...@gmail.com wrote:
  Hi régis,
 
  Martin Dobias will make a proposal soon for a legend refactoring.
  You should see with him how to let those things happen in the future in
 the
  new legend.
 
  Cheers,
 
  Denis
 
 
 
  On 04. 12. 13 12:08, Régis Haubourg wrote:
 
  Hi All,
  we have a long lasting problem with proportionnal legends in QGIS. It
 gets
  more problematic with V2, as those maps are so beautiful and popular.
 
  I'm starting some brainstorming to clarify fonctionnal specifications
 what
  we actually want to have legends in layers registry and composer
 working.
 
  Here are some exemples of what I would love to see in legends:
- [0] proportionnal circles or square with 1 to 5 classes
- [1] proportionnal symbols AND colors
 
  Now that we have expressions everywhere, we probably will have to handle
  legends differently than in other GIS, where legend is generated once,
  when
  user tune symbology. Let me explain:
 
  - user can now define expressions for size, color, rotation, border
  width...
  for any sub-marker (1 to n) of a symbol.
  - Moreover, we can use conditionnal expressions, and scale dependent
  conditions ($scale variable).
  - QGIS is also a server, we need to be able to generate legends working
 on
  really displayed datas.
 
  Conclusion, It now is impossible to correctly pre-generate the legend by
  analysing symbology properties.
 
  Does this sound possible to developpers to explore some other way? We
  could
  read real dataset to collect informations to build a legend, and
  eventually
  do some statistical classification to get discrete classes from
 continuous
  data?
 
  We could do that on live or on-demand update maybe.
 
  My idea was to collect rendered object in current canvas and current
  scale.
  BUT.. we can face discrete data - some kind of SELECT DISTINCT can do
 the
  trick - , OR continuous data - we need then to do some statistical
  classification to reduce the legend to 1 - 10 classes to get it
 readable.
  We also need some intelligence in those statistical classifications:
- round values to keep it readable
- display separate classes only if size or color distance is long
 enough
  so
  that human eye sees some difference on screen. ie: do not display for
  classes if symbol size varies from 0.5 to 0.7...
- add some options in GUI to choose number of classes, type of legend
  rendering..
- keep the classification process fast (subset of data with random
  sampling?)
- test all use cases, I'm mostly thinking of points symbols, but lines
  and
  polygons must not be forgotten.
 
  I'm sure plenty of scientists have already been theorizing all this. Any
  opinions? Could this be an idea for GSoC or other kind of training
 course?
 
  I'll be pleased to get feedback from the community.
 
  Cheers
  Régis
 
  [0] http://kelsocartography.com/blog/?p=2224
  [1] http://www.geoclip.fr/img/bicol.jpg
 
 
 
 
 
  --
  View this message in context:
 
 http://osgeo-org.1560.x6.nabble.com/Legend-for-proportionnal-symbols-and-expression-based-symbols-tp5092635.html
  Sent from the Quantum GIS - Developer mailing list archive at
 Nabble.com.
  ___
  Qgis-developer mailing list
  Qgis-developer@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-developer
 
 
  ___
  Qgis-developer mailing list
  Qgis-developer@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-developer
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer

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

[Qgis-developer] Owner of qgis-web-client repo?

2013-12-04 Thread Andreas Neumann
Hi all,

I don't know who the own is of the QGIS web client repo:
https://github.com/qgis/QGIS-Web-Client

I am trying to add Bernhard Ströbl as a collaborator, but I can't.

Where can I see who is the owner of the repo? Is it Tim or Pirmin? Or
someone else?

Thank you for your help. I can commit stuff to this repo, but I can't
change settings or add collaborators.

Thanks,
Andreas
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] New GEarthView 1.0.4 version - plugin for QGis

2013-12-04 Thread Geo DrinX
Hello,

I just inserted a new version of GEarthView plugin for QGis.

Please, approve it  (if you like :)


Regards

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

[Qgis-developer] layer order

2013-12-04 Thread Denis Rouzaud

Hi all,

I have a project in which the layer order is not correctly set at 
project re-opening.

I can't reproduce this bug in a simple new project.

Anybody knows what to look for?

Thanks,

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


Re: [Qgis-developer] Legend for proportionnal symbols and expression based symbols

2013-12-04 Thread Régis Haubourg
3nids wrote
 Hi régis,
 
 Martin Dobias will make a proposal soon for a legend refactoring.
 You should see with him how to let those things happen in the future in 
 the new legend.
 
 Cheers,
 
 Denis

Good to know! thanks Denis. I'll contact Martin



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Legend-for-proportionnal-symbols-and-expression-based-symbols-tp5092635p5092677.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

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

2013-12-04 Thread Marco Bernasocchi
on plain ubuntu 13.10 you can also use ctrl.
+1 for your changes, thanks

Marco Bernasocchi (mobile)
http://opengis.ch
On 2 Dec 2013 13:09, A Huarte ahuart...@yahoo.es wrote:

 Yes, I wondered why a user said he had to remove layers from TOC one by
 one.

 Then remove layer[s] from TOC asking for confirmation seems appropriate
 becuase of it is not an undoable action, right?

 Thank you very much Richard.


   --
  *De:* Richard Duivenvoorde rdmaili...@duif.net
 *Para:* A Huarte ahuart...@yahoo.es; qgis-developer@lists.osgeo.org 
 qgis-developer@lists.osgeo.org
 *Enviado:* Lunes 2 de diciembre de 2013 13:02
 *Asunto:* Re: [Qgis-developer] [Qgis-user] Shortcut changes in QGIS; call
 for opinions

 On 02-12-13 00:30, A Huarte wrote:
  Hi, in QGIS for windows you can select more than one layer (to remove)
  with the Ctrl key pressed in TOC, this is not possible on other
 platforms?

 I can use the ctrl-key on debian to select layers in TOC, and 'ctrl-D'
 then removes all selected layers from TOC.

 looks like it is the same on windows?


 Regards,

 Richard Duivenvoorde




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

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

[Qgis-developer] Vector layers diff

2013-12-04 Thread Radim Blazek
Do we have some tool to get difference between two vector layers which
could be used to compare test output with expected data and generate
report and diff layer?

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


[Qgis-developer] osmSearch Plugin approval notification

2013-12-04 Thread p0cisk
Hi all,
I was uploaded osmSearch Plugin v 0.3.1 30 of June and it has not been
reviewed since then!
Can anyone approve it, it fix character encoding error.

Regards
Piotr Pociask



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/osmSearch-Plugin-approval-notification-tp5092745.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[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():
   print field.name()

and I get all the field names printed while I thought I would get only 'id'.
What am I doing wrong?

giovanni

-- 
Giovanni Allegri
http://about.me/giovanniallegri
blog: http://blog.spaziogis.it
GEO+ geomatica in Italia http://bit.ly/GEOplus
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

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(bbox).setSubestOfAttributes(['id'],mylayer.pendingFields())
 for feat in mylayer.geFeatures(request):
for fields in feat.fields():
print field.name()

 and I get all the field names printed while I thought I would get only
 'id'.
 What am I doing wrong?

 giovanni

 --
 Giovanni Allegri
 http://about.me/giovanniallegri
 blog: http://blog.spaziogis.it
 GEO+ geomatica in Italia http://bit.ly/GEOplus




-- 
Giovanni Allegri
http://about.me/giovanniallegri
blog: http://blog.spaziogis.it
GEO+ geomatica in Italia http://bit.ly/GEOplus
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

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

2013-12-04 Thread G. Allegri
It seems that joining filters do not work (at leat in Python). I have to do:

request = QgsFeatureRequest(bbox)
request = request.setSubestOfAttributes(['id'],mylayer.pendingFields())

And I see that field names are always returned but field values are set to
None if filtered out.

giovanni



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 the following:

 request
 = 
 QgsFeatureRequest(bbox).setSubestOfAttributes(['id'],mylayer.pendingFields())
 for feat in mylayer.geFeatures(request):
for fields in feat.fields():
print field.name()

 and I get all the field names printed while I thought I would get only
 'id'.
 What am I doing wrong?

 giovanni

 --
 Giovanni Allegri
 http://about.me/giovanniallegri
 blog: http://blog.spaziogis.it
 GEO+ geomatica in Italia http://bit.ly/GEOplus




 --
 Giovanni Allegri
 http://about.me/giovanniallegri
 blog: http://blog.spaziogis.it
 GEO+ geomatica in Italia http://bit.ly/GEOplus




-- 
Giovanni Allegri
http://about.me/giovanniallegri
blog: http://blog.spaziogis.it
GEO+ geomatica in Italia http://bit.ly/GEOplus
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] 64 bit busted, install 32 bit instead?

2013-12-04 Thread Chrest, David
From some posts I have read it looks like the both the 64 bit Windows
standalone and Osgeo4W installers are busted and one should install the
32 bit version instead. Is this correct? I used the 64 bit standalone
installer back in early October and am missing some GDAL libraries and
certain GRASS tools do not work, giving me a GDAL library error. Have a
look at the thread here:
http://osgeo-org.1560.x6.nabble.com/QGIS-2-0-Win-standalone-busted-td507
8946.html. I have a similar situation. Has the 64 bit installer been
fixed or should I install 32 bit version instead?

 

David Chrest

Research GIS Analyst

RTI International

3040 Cornwallis Rd, PO Box 12194

Research Triangle Park, NC  27709-2194

 

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

[Qgis-developer] qt/ui different dialogs/windows/docks etc

2013-12-04 Thread Richard Duivenvoorde
Hi Devs,

currently we have all kind of different dialogs popping up, from
plugins, processing, actions etc etc.
some have a close button in bottom, some have little close icons in the
titlebar, some have all on windows and none on linux etc. some are
dockable, others are not.

there are already some issues related to this:

http://hub.qgis.org/issues/9126
http://hub.qgis.org/issues/9141
http://hub.qgis.org/issues/8699

Different but also in the better usability category:
http://hub.qgis.org/issues/9083

maybe we should start some ui/usability-team, which creates tasks for
this kind of problems, propose/finds solutions (he, qt is huge) and
maybe also can create some guidelines about a good dialog/popup/plugin
should look like?

any volunteers? Or should we ask this on the userlist?

Regards,

Richard Duivenvoorde
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Owner of qgis-web-client repo?

2013-12-04 Thread Pirmin Kalberer
Hi Andreas,

Am Mittwoch, 4. Dezember 2013, 13.53:32 schrieb Andreas Neumann:
 
 I don't know who the own is of the QGIS web client repo:
 https://github.com/qgis/QGIS-Web-Client
 
 I am trying to add Bernhard Ströbl as a collaborator, but I can't.

bstroebl is in the QGIS Web Client team. Maybe just added by someone else?

 
 Where can I see who is the owner of the repo? Is it Tim or Pirmin? Or
 someone else?

All PSC members are in the owner group.

 
 Thank you for your help. I can commit stuff to this repo, but I can't
 change settings or add collaborators.

You should now have admin permissions for the QGIS Web Client repo.

Regards
Pirmin

-- 
Pirmin Kalberer
Sourcepole  -  Linux  Open Source Solutions
http://www.sourcepole.com

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