Re: [QGIS-Developer] Problems with adopting scaled representation from QGIS

2021-03-17 Thread Otto Dassau
Hi Alessandro,

sorry, put it also here:
https://nextcloud.gbd-consult.de/s/QRXAiQdABZGKiXK

Regards,
Otto

On Wed, 17 Mar 2021 08:14:02 +0100
Alessandro Pasotti  wrote:

> Hi Otto,
> 
> I would give it a look but credentials are required to download the test data:
> 
> > The project file and data are in 
> > https://gitlab.gbd-consult.de/gws/gws-dev/tree/master/data/shared 
> > (poi_scaled.qgs and poi / subfolder).
> 
> 
> 
> 
> On Wed, Mar 17, 2021 at 6:55 AM Otto Dassau  wrote:
> >
> > Dear Developers,
> >
> > i would like to describe a problem using QGIS WMS with defined scale 
> > visibility for layers. We already spent quite some time on it and for us it 
> > seems to be a wrong scale calculation in QGIS. But since we are not sure we 
> > would like to ask, if someone, deeper in the code, can have a look and, if 
> > it is the case, can provide a (payed) fix.
> >
> > To better describe the problem we provide a sample web project under 
> > https://gws-dev.gbd-consult.de/project/scales_qgis/@753753,6661615,10
> >
> > The "Bank" layer has a scale-dependent representation defined in QGIS 
> > between 10 - 8, but is not rendered by QGIS at the scale 10.
> >
> > QGIS server is called with these parameters:
> >
> > http://localhost:4000?
> > layers=Bank%2010-8
> > =%2Fdata%2Fshared%2Fpoi_scaled.qgs
> > =True
> > =748163.2561805135,6646683.920240255,767707.2561805135,6679247.920240255
> > =698
> > =1163
> > =EPSG%3A3857
> > =image%2Fpng
> > =GetMap
> > =1.1.1
> > =WMS
> > =
> >
> > The resolution (meter per pixel) results from bbox and width
> >
> > (767707.2561805135 - 748163.2561805135) / 698 = 28
> >
> > According to OGC specifications, 1px = 0.28 mm x 0.28 mm, i.e. the scale 
> > here must be exactly 10. But QGIS calculates it differently (excerpt 
> > from the debug log):
> >
> > src/core/geometry/qgsrectangle.cpp:152 : (toString) [0ms] Extents : 
> > 748163.2561805135337636,6646683.9202402550727129 : 
> > 767707.2561805135337636,6679247.9202402550727129
> > src/core/qgsmapsettings.cpp:222 : (updateDerived) [0ms] 
> > 748163.2561805135337636,6646683.9202402550727129 : 
> > 767707.2561805135337636,6679247.9202402550727129
> > src/core/qgsmapsettings.cpp:223 : (updateDerived) [1ms] Adjusted map units 
> > per pixel (x,y) : 28, 28
> > src/core/qgsmapsettings.cpp:224 : (updateDerived) [0ms] Recalced pixmap 
> > dimensions (x,y) : 698, 1163
> > src/core/qgsmapsettings.cpp:225 : (updateDerived) [0ms] Scale (assuming 
> > meters as map units) = 1:100314.9605275292903
> >
> > The scale (with the same bbox / width) is calculated as "1: 100314", and 
> > because that is greater than 100,000, the layer is not rendered by QGIS.
> >
> > We assume that there is a rounding error somewhere. As said we would be 
> > happy if a QGIS dev could have a look. The project file and data are in 
> > https://gitlab.gbd-consult.de/gws/gws-dev/tree/master/data/shared 
> > (poi_scaled.qgs and poi / subfolder).
> >
> > Thanks a lot!
> > Otto
> >
> > --
> > Geoinformatikbüro Dassau GmbH
> > Rethelstrasse 153
> > D - 40237 Düsseldorf
> > Tel: +49-211-69937750
> > Mobil:  +49-171-4687540
> > https://www.gbd-consult.de
> >
> > Registergericht: Amtsgericht Düsseldorf, HR B 74022
> > Geschäftsführer: Otto Dassau
> > ___
> > QGIS-Developer mailing list
> > QGIS-Developer@lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> 
> 
> 
> -- 
> Alessandro Pasotti
> QCooperative:  www.qcooperative.net
> ItOpen:   www.itopen.it


-- 
Geoinformatikbüro Dassau GmbH 
Rethelstrasse 153
D - 40237 Düsseldorf
Tel: +49-211-69937750
Mobil:  +49-171-4687540
https://www.gbd-consult.de

Registergericht: Amtsgericht Düsseldorf, HR B 74022
Geschäftsführer: Otto Dassau
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


[QGIS-Developer] Problems with adopting scaled representation from QGIS

2021-03-16 Thread Otto Dassau
Dear Developers,

i would like to describe a problem using QGIS WMS with defined scale visibility 
for layers. We already spent quite some time on it and for us it seems to be a 
wrong scale calculation in QGIS. But since we are not sure we would like to 
ask, if someone, deeper in the code, can have a look and, if it is the case, 
can provide a (payed) fix.

To better describe the problem we provide a sample web project under 
https://gws-dev.gbd-consult.de/project/scales_qgis/@753753,6661615,10

The "Bank" layer has a scale-dependent representation defined in QGIS between 
10 - 8, but is not rendered by QGIS at the scale 10.

QGIS server is called with these parameters:

http://localhost:4000?
layers=Bank%2010-8
=%2Fdata%2Fshared%2Fpoi_scaled.qgs
=True
=748163.2561805135,6646683.920240255,767707.2561805135,6679247.920240255
=698
=1163
=EPSG%3A3857
=image%2Fpng
=GetMap
=1.1.1
=WMS
=

The resolution (meter per pixel) results from bbox and width

(767707.2561805135 - 748163.2561805135) / 698 = 28

According to OGC specifications, 1px = 0.28 mm x 0.28 mm, i.e. the scale here 
must be exactly 10. But QGIS calculates it differently (excerpt from the 
debug log): 

src/core/geometry/qgsrectangle.cpp:152 : (toString) [0ms] Extents : 
748163.2561805135337636,6646683.9202402550727129 : 
767707.2561805135337636,6679247.9202402550727129
src/core/qgsmapsettings.cpp:222 : (updateDerived) [0ms] 
748163.2561805135337636,6646683.9202402550727129 : 
767707.2561805135337636,6679247.9202402550727129
src/core/qgsmapsettings.cpp:223 : (updateDerived) [1ms] Adjusted map units per 
pixel (x,y) : 28, 28
src/core/qgsmapsettings.cpp:224 : (updateDerived) [0ms] Recalced pixmap 
dimensions (x,y) : 698, 1163
src/core/qgsmapsettings.cpp:225 : (updateDerived) [0ms] Scale (assuming meters 
as map units) = 1:100314.9605275292903

The scale (with the same bbox / width) is calculated as "1: 100314", and 
because that is greater than 100,000, the layer is not rendered by QGIS. 

We assume that there is a rounding error somewhere. As said we would be happy 
if a QGIS dev could have a look. The project file and data are in 
https://gitlab.gbd-consult.de/gws/gws-dev/tree/master/data/shared 
(poi_scaled.qgs and poi / subfolder).

Thanks a lot!
Otto

-- 
Geoinformatikbüro Dassau GmbH 
Rethelstrasse 153
D - 40237 Düsseldorf
Tel: +49-211-69937750
Mobil:  +49-171-4687540
https://www.gbd-consult.de

Registergericht: Amtsgericht Düsseldorf, HR B 74022
Geschäftsführer: Otto Dassau
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [QGIS-Developer] is_layer_active expression

2018-09-25 Thread Otto Dassau
thanks for the info Nyall!

Regards, 
Otto

Am Tue, 25 Sep 2018 16:37:38 +1000
schrieb Nyall Dawson :

> On Mon, 24 Sep 2018 at 19:20, Otto Dassau  wrote:
> >
> > Dear Devs,
> >
> > in QGIS 3 I found the expression "is_layer_active" within the copyright
> > decoration very useful. I would like to use this expression also within
> > the print composer, but it seems to be not available there.  
> 
> Confirmed -- fix incoming!
> 
> > Is this correct, are expressions not available all over QGIS within the
> > expression builder?  
> 
> Some expression functions/variables are "context dependent". E.g.
> is_layer_visible doesn't make any sense in expressions which aren't
> directly associated with a map. So the function won't be available as
> for expressions used as a field default value, or for a layout text
> label (since the layout may have multiple maps, each with a different
> layer set, and a label isn't linked to any map item in particular!).
> 
> > And how can I get this expression working for the print composer as
> > well?  
> 
> Wait for 3.4 ;)
> 
> Nyall

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] is_layer_active expression

2018-09-24 Thread Otto Dassau
Dear Devs,

in QGIS 3 I found the expression "is_layer_active" within the copyright
decoration very useful. I would like to use this expression also within the
print composer, but it seems to be not available there.

Is this correct, are expressions not available all over QGIS within the
expression builder? And how can I get this expression working for the print
composer as well? 

Thanks for any hint.

Regards, Otto
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] expression variable for rendering with QGIS server

2018-05-24 Thread Otto Dassau
Am Thu, 24 May 2018 08:59:25 +1000
schrieb Nyall Dawson <nyall.daw...@gmail.com>:

> On 24 May 2018 at 00:16, Otto Dassau <das...@gbd-consult.de> wrote:
> > Dear developers,
> >
> > I use expression variables within the rule based renderer. For example:
> >
> > CASE WHEN @project_title LIKE '%adult' THEN "fclass" = 'school' ELSE
> > "fclass" = 'kindergarten' END
> >
> > This works in QGIS desktop but not with QGIS Server Version 2 and 3. Does
> > QGIS server not support this feature at all? Or do I miss something?  
> 
> QGIS server in 2.x used an older, deprecated rendering facility, which
> had no knowledge of variables and how to set them. Changing this was a
> substantial body of work which was completed for 3.0.
> 
> (There's basically no fix possible for this in 2.x - the solution is
> to use 3.0 here.)
> 
> Nyall

Thanks Nyall for the explanation, we will go for version 3 then.

Regards,
Otto
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] expression variable for rendering with QGIS server

2018-05-23 Thread Otto Dassau
Hi,

after a second try, it seems that QGIS server version 3 supports expression
variables within the rule based renderer - sorry for the noise.

Thanks,
Otto

Am Wed, 23 May 2018 16:16:58 +0200
schrieb Otto Dassau <das...@gbd-consult.de>:

> Dear developers,
> 
> I use expression variables within the rule based renderer. For example:
> 
> CASE WHEN @project_title LIKE '%adult' THEN "fclass" = 'school' ELSE
> "fclass" = 'kindergarten' END
> 
> This works in QGIS desktop but not with QGIS Server Version 2 and 3. Does
> QGIS server not support this feature at all? Or do I miss something?
> 
> Thanks for any hint
> 
> Otto
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] expression variable for rendering with QGIS server

2018-05-23 Thread Otto Dassau
Dear developers,

I use expression variables within the rule based renderer. For example:

CASE WHEN @project_title LIKE '%adult' THEN "fclass" = 'school' ELSE
"fclass" = 'kindergarten' END

This works in QGIS desktop but not with QGIS Server Version 2 and 3. Does
QGIS server not support this feature at all? Or do I miss something?

Thanks for any hint

Otto
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] lizmap configuration disappeared

2017-06-01 Thread Otto Dassau
Hi,

login as admin to lizmap client (3.0.4) I cannot see the menu entry "my
account" anymore to configure the client. I only can click on "exit". I must
have set some wrong hooks somewhere during another session :( and after that
the menu disapeared. 

Can I change some values in a config file to be able to see the Lizmap
configuration as admin again?

Hope the qgis lists is the right place for such questions. I haven't found a
lizmap ml.

thanks a lot
Otto
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] qgis server / xvfb on ubuntu xenial

2016-09-17 Thread Otto Dassau
Hi,

I have a problem using xvfb with qgis server on ubuntu xenial: 

* QGIS server 2.16 on trusty with xvfb 2:1.15.1 works well as described by
  Alessandro: http://www.itopen.it/qgis-server-setup-notes/ . We use it to
  render HTML in GetPrint.

* QGIS server 2.16 on xenial with xvfb 2:1.18.3 doesn't work. It doesn't
  crash but the HTML part stays empty. It seems that the xenial xvfb
  package doesn't work together with current qgis server.

Do others have similar experiences?

Regards,
Otto






___
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] Change PSC Community Manager Role

2016-08-23 Thread Otto Dassau
Dear Community,

there will be a change in the QGIS PSC. 

I (Otto) decided to step back from my PSC role as Community Advisor. I
enjoyed being part of the PSC for a couple of years but realized that I
won't find enough time in the future for this job anymore.

At the hackfest in Bonn the PSC decided not to recast the Community Advisor
role. Instead there will be team managers who together with a team of
contributors will take care about the tasks this role has included so far.

In this context we are happy to announce that we have already found two well
known community members to fill this gap - Lene Fischer from Denmark and Yves
Jacoline from France. Lene will concentrate on community tasks and Yves on
documentation.  

More details about the new structure will be announced by the PSC in the
near future.

Best wishes
Otto



___
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] * Important* Preparations for QGIS Developer Meeting in Bonn

2016-08-02 Thread Otto Dassau
Hi,

here are some news for people who are still looking for accomodation in
Bonn. We called some hotels and this is the result: 

2 have still enough space for the 10-15 people that are probably still
looking for rooms.:

1) IBIS Hotel (5km from Basecamp), but with good connection by public
  transport http://www.ibis.com/gb/hotel-1441-ibis-bonn/index.shtml
 
  Costs for Single and Double are the same (128€) for 2 nights from 21.-23.
  August. 

2) Hotel Garni Jacobs (15 min walk)  http://www.hotel-jacobs-garni.de/

  Enough rooms for 10-15 people. Costs are 65EUR/75EUR for Weekend/Week in a
  single room and 90EUR/100EUR for Weekend/Week in a double.

Since we have no idea how long you want to stay and what you prefer, we
would kindly ask you to make a reservation personally. And if you need help,
we can assist, of course. Just send me an email.

Regards,
Otto

Am Mon, 1 Aug 2016 20:54:15 +0200
schrieb Otto Dassau <das...@gbd-consult.de>:

> Hi,
> 
> we are now about 30 people on the wiki lists for the hackfest in Bonn and
> we added some more accomodations to the github wiki:
> 
> https://wiki.osgeo.org/wiki/FOSS4G_2016_Code_Sprint#Registered_Attendees
> https://github.com/qgis/QGIS/wiki/QGIS-Hackfest---Bonn---August-2016
> 
> but I have heard, that there are still people missing on the wiki list and
> there are also still (about 10-15) people looking for accomodation. Please
> add your names (also important for us to organize the dinner).
> 
> We are in contact with places close to the basecamp. If you need help,
> please send an email directly to me, so I can organize something for you.
> 
> Regards,
> Otto
> 
> 
> Am Thu, 21 Jul 2016 12:00:00 +0200
> schrieb Otto Dassau <das...@gbd-consult.de>:
> 
> > Hi,
> > 
> > we started to prepare our own QGIS wiki page to organize the upcoming
> > hackfest in Bonn and to make sure that our hackfest will be fun. Many of
> > you already registered at foss4g wiki page at
> > 
> > https://wiki.osgeo.org/wiki/FOSS4G_2016_Code_Sprint#Registered_Attendees
> > 
> > and I tried already to put it in sync this with our new internal page at
> > 
> > https://github.com/qgis/QGIS/wiki/QGIS-Hackfest---Bonn---August-2016
> > 
> > But I need your help and would like to ask you to do the following for
> > us:
> > 
> > a) If you want to participate, please register twice in the FOSS4G Wiki
> > and in the QGIS Wiki. This is important to have a smooth organisation on
> > QGIS and FOSS4G side.
> > 
> > b) If you already registered at one of the pages, please check again and
> > make sure you appear in both lists.
> > 
> > To organize further accomodation and our well-known dinner, we need your
> > information as quick and as complete as possible.
> > 
> > Thanks a lot
> > Otto
> > ___
> > 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
> 


-- 
Geoinformatikbüro Dassau GmbH 
Rethelstrasse 153
D - 40237 Düsseldorf
Tel: +49-211-69937750
Fax: +49-211-69937751
Mobile  +49-171-4687540
http://www.gbd-consult.de

Registergericht: Amtsgericht Düsseldorf, HR B 74022
Geschäftsführer: Otto Dassau

Member of QGIS Project Steering Committee (PSC)
___
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] * Important* Preparations for QGIS Developer Meeting in Bonn

2016-08-01 Thread Otto Dassau
Hi,

we are now about 30 people on the wiki lists for the hackfest in Bonn and we
added some more accomodations to the github wiki:

https://wiki.osgeo.org/wiki/FOSS4G_2016_Code_Sprint#Registered_Attendees
https://github.com/qgis/QGIS/wiki/QGIS-Hackfest---Bonn---August-2016

but I have heard, that there are still people missing on the wiki list and
there are also still (about 10-15) people looking for accomodation. Please
add your names (also important for us to organize the dinner).

We are in contact with places close to the basecamp. If you need help,
please send an email directly to me, so I can organize something for you.

Regards,
Otto


Am Thu, 21 Jul 2016 12:00:00 +0200
schrieb Otto Dassau <das...@gbd-consult.de>:

> Hi,
> 
> we started to prepare our own QGIS wiki page to organize the upcoming
> hackfest in Bonn and to make sure that our hackfest will be fun. Many of
> you already registered at foss4g wiki page at
> 
> https://wiki.osgeo.org/wiki/FOSS4G_2016_Code_Sprint#Registered_Attendees
> 
> and I tried already to put it in sync this with our new internal page at
> 
> https://github.com/qgis/QGIS/wiki/QGIS-Hackfest---Bonn---August-2016
> 
> But I need your help and would like to ask you to do the following for us:
> 
> a) If you want to participate, please register twice in the FOSS4G Wiki and
> in the QGIS Wiki. This is important to have a smooth organisation on QGIS
> and FOSS4G side.
> 
> b) If you already registered at one of the pages, please check again and
> make sure you appear in both lists.
> 
> To organize further accomodation and our well-known dinner, we need your
> information as quick and as complete as possible.
> 
> Thanks a lot
> Otto
> ___
> 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] * Important* Preparations for QGIS Developer Meeting in Bonn

2016-07-21 Thread Otto Dassau
Hi,

we started to prepare our own QGIS wiki page to organize the upcoming
hackfest in Bonn and to make sure that our hackfest will be fun. Many of you
already registered at foss4g wiki page at

https://wiki.osgeo.org/wiki/FOSS4G_2016_Code_Sprint#Registered_Attendees

and I tried already to put it in sync this with our new internal page at

https://github.com/qgis/QGIS/wiki/QGIS-Hackfest---Bonn---August-2016

But I need your help and would like to ask you to do the following for us:

a) If you want to participate, please register twice in the FOSS4G Wiki and
in the QGIS Wiki. This is important to have a smooth organisation on QGIS
and FOSS4G side.

b) If you already registered at one of the pages, please check again and make
sure you appear in both lists.

To organize further accomodation and our well-known dinner, we need your
information as quick and as complete as possible.

Thanks a lot
Otto
___
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-community-team] Giving credits to documentation authors [Was: Books section on our website]

2015-10-13 Thread Otto Dassau
Am Wed, 14 Oct 2015 07:37:01 +0200
schrieb Paolo Cavallini :

> Il 14/10/2015 01:55, Alexandre Neto ha scritto:
> 
> > I believe the answer to your original question, "why it seems to be
> > attractive to write about QGIS there (in books) and not within the
> > project (oficial doxumentation)?", is given by the early testimony.
> > Writting good updated documentation takes lots of time, effort and
> > patience,  things that people don't seem to be willing to give for free
> > (at least not the desirable quantity).
> > 
> > While adding ad hoc non sponsored new features are fun and give their
> > authors some prestige and recognition, Writting documentation doesn't.
> 
> I think money is not really an issue here: compensation for writing
> books is usually ridiculous, and not worth the effort. Want people wants
> is recognition: having your name in print, on a book thousands of people
> read, is the driving force.
> Unfortunately this is difficult to achieve for a cooperative effort, but
> perhaps we should giving due and appropriate credits to authors more
> clearly (maybe a page with names and statistics: number of lines
> written, number of commits?). I'm sure this may motivate some people.
> All the best.

I also thought that money is most important. But it seems to be only a
(minor) factor. Giving people recognition seems to be very important, too.
I agree with Paolo and maybe we can improve that.

Another thing I thought about is, if writing the official documentation in
QGIS is still too complicated? We tried to make it as simple as possible,
but I am not sure, if it is easy enough. Maybe not explained good enough?

Regards,
Otto   

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

Re: [Qgis-developer] SVG Icons from US national park service

2015-10-13 Thread Otto Dassau
Am Tue, 13 Oct 2015 12:03:22 +0200
schrieb Paolo Cavallini :

> Il 13/10/2015 11:30, Andreas Neumann ha scritto:
> 
> > If you agree - I may volunteer to convert them from PDF/Adobe
> > Illustrator to SVG - making sure they also have replaceable fill/stroke
> > colors.
> 
> I'd welcome these additions. Please check http://hub.qgis.org/issues/7981
> Ultimately, I think we should have for symbols the same system as for
> plugins, so users will be able to both contribute and dowload their own
> set. Thanks.

yes, that is a nice idea.

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

[Qgis-developer] Call for applications: QGIS Manual Update and Improvement

2015-10-05 Thread Otto Dassau
Dear QGIS community,

In the last few years we have been steadily improving the amount of funding
we are able to accumulate in the QGIS project. Our goal in obtaining funding
is always to 'make QGIS better'. Up until now we have focussed funding on
high profile aspects of the project: Funding regular hackfests, paying for
bug fixing work prior to releases, funding infrastructure such as servers,
domain name registrations etc. 

With improved funding levels we now have the opportunity to also start
addressing some of the many less obvious components of QGIS that badly need
attention, but often don't attract volunteers. In our PSC meetings it was
agreed that we would start this initiative by funding one or more
experienced users to improve the QGIS manual. Here, briefly, is the vision:

As an experienced QGIS user you currently have two main resources: The QGIS
manual and the QGIS training manual. In this call we focus on the manual,
which is already an excellent resource on available functionality in QGIS.
The challenge is to keep it synchronised with all new features, and examples
and figures often run the risk of being out of date. This is the case
already for several chapters of the manual for the latest QGIS releases and
we want to start optimizing this.

We would love to see the QGIS manual providing a readable narrative
explaining the purpose (with images and illustrations if needed) of each
feature. It can also provide short sample snippet where useful, which in
many cases you can simply cut and paste into your code and then tweak to get
started.

For this funded effort we are thus seeking one or more individuals to lay
the foundation for this work:

* verify and improve the norms and guidelines of the documentation and
  especially its update process together with the PSC.
* update the manual to include all features that are available within the
  latest QGIS release (2.12).
* update figures, if necessary according to the defined guidelines (size,
  desktop-environment, resolution,...).
* populate the manual with further short examples and improved descriptions,
  without competing with the training manual.
* do these in a nice clear and concise writing style, taking inspiration
  from other software manuals, if available.

If you think this is something you are able to do, please contact the QGIS
PSC using this form and let us know!

http://goo.gl/forms/18vTEOg7Be

Best wishes,
Otto


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


[Qgis-developer] qgis wms search engine broken ?

2015-07-07 Thread Otto Dassau
Hi,

for a couple of months the wms search engine from http://geopole.org seems
to be broken. Does anybody know more about it? 

Regards,
Otto 

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


Re: [Qgis-developer] feature freeze on master lifted

2015-06-29 Thread Otto Dassau
Am Fri, 26 Jun 2015 15:03:47 +0200
schrieb Jürgen E. Fischer j...@norbit.de:

 Hi people,
 
 the new version was just branched off, the new tar ball[1] was made and
 packaging can begin and the feature freeze on master is now over.
 
 The new version will be announced once packages for some platforms are
 available.
 
 
 Jürgen
 
 
 [1] http://qgis.org/downloads/qgis-latest.tar.bz2

Hi,

OpenSuSE packages are available for 13.1, 13.2 and Tumbleweed.

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

[Qgis-developer] QGIS CRS handling question

2015-05-22 Thread Otto Dassau
Hi,

I would like to understand QGIS behavior a little better for CRS handling. 

I have a tif/tfw file (input.tif) and would like to create compressed geotiff
tiles from it (output.tif).

1) When I use

gdal_translate -co COMPRESS=JPEG -co PHOTOMETRIC=YCBCR -co TILED=YES \
 -a_srs EPSG:25833 input.tif output.tif

gdalinfo shows:

Driver: GTiff/GeoTIFF
Files: output.tif
Size is 16100, 15300
Coordinate System is:
LOCAL_CS[ETRS89 / UTM zone 33N,
GEOGCS[ETRS89,
DATUM[unknown,
SPHEROID[unretrievable - using WGS84,6378137,298.257223563],
TOWGS84[0,0,0,0,0,0,0]],
PRIMEM[Greenwich,0],
UNIT[degree,0.0174532925199433]],
AUTHORITY[EPSG,25833],
UNIT[metre,1]]
[...]

loading this file in QGIS I am asked to provide the CRS for the layer,
although it should be written in the GeoTiff header. 

2) When I use 

gdal_translate -co COMPRESS=JPEG -co PHOTOMETRIC=YCBCR -co TILED=YES \
 -a_srs +proj=utm +zone=33 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m \
 +no_defs input.tif output.tif

gdalinfo shows:

Driver: GTiff/GeoTIFF
Files: output.tif
Size is 16100, 15300
Coordinate System is:
PROJCS[UTM Zone 33, Northern Hemisphere,
GEOGCS[GRS 1980(IUGG, 1980),
DATUM[unknown,
SPHEROID[GRS80,6378137,298.257222101],
TOWGS84[0,0,0,0,0,0,0]],
PRIMEM[Greenwich,0],
UNIT[degree,0.0174532925199433]],
PROJECTION[Transverse_Mercator],
PARAMETER[latitude_of_origin,0],
PARAMETER[central_meridian,15],
PARAMETER[scale_factor,0.9996],
PARAMETER[false_easting,50],
PARAMETER[false_northing,0],
UNIT[metre,1,
AUTHORITY[EPSG,9001]]]


loading this file in QGIS, I am *not* asked to provide the CRS for the
layer, but QGIS assigns the wrong CRS. In my case I want EPSG 25833 but get
EPSG 3006 (which has the same parameters as 25833, but is not what I want).

How can I make QGIS read the CRS correctly? Does anybody has a solution for
this?

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


[Qgis-developer] remove background layers in qgis webclient

2015-04-23 Thread Otto Dassau
Hi,

is there a way to easily disable the background layers in the qgis webclient
and remove the Background Layers group from the legend?

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


Re: [Qgis-developer] remove background layers in qgis webclient

2015-04-23 Thread Otto Dassau
Am Thu, 23 Apr 2015 20:42:34 +0200
schrieb Otto Dassau das...@gbd-consult.de:

 Hi,
 
 is there a way to easily disable the background layers in the qgis
 webclient and remove the Background Layers group from the legend?
 
 Regards,
 Otto
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer

sorry fr the noise, found that I only need to set these two lines to false
in the GlobalOptions.js:

var enableGoogleCommercialMaps = false;
var enableOSMMaps = false;

Regards
Otto

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


[Qgis-developer] website template for local QGIS user groups

2015-04-09 Thread Otto Dassau
Dear local QGIS communities,

the QGIS Project now provides a clone of the QGIS U.S. User Group site [1]
at https://github.com/qgis/qgis-template.github.io. The aim is to provide a
generalized template, that local user groups can use for their website. 

The british [2] and italian [3] QGIS user group already started their site
based on the template. You are welcome to join but of course you don't have
to.

[1] http://qgis.us/
[2] http://qgis.uk/
[3] http://qgis.it/

If you have questions or need help, subscribe and send an email to the
Qgis-community-team list.

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


Re: [Qgis-developer] load tif/tfw layer with rotation terms

2015-03-06 Thread Otto Dassau
Am Fri, 6 Mar 2015 07:11:45 +1100
schrieb Nyall Dawson nyall.daw...@gmail.com:

 On 6 Mar 2015 12:00 am, Otto Dassau das...@gbd-consult.de wrote:
 
  Am Thu, 5 Mar 2015 08:27:13 +
  schrieb Giovanni Manghi giovanni.man...@gmail.com:
 
Hi,
   
when I load a tif with worldfile and the 2nd and 3rd row (rotation
terms) is not 0, QGIS is not able to put the layer to the right
position. Is this a know behavior? How can it be fixed?
  
   Hi Otto,
  
   is seems there is/was also this other long standing issue
  
   http://hub.qgis.org/issues/3794
  
  
   cheers
  
   -- Giovanni --
 
  Hi,
 
  I just tested with QGIS 2.6.1 and there it is working :(. If nobody has
  an idea, I will file a ticket.
 
 Try master or the ltr-dev version. This should already be fixed.
 
 Nyall

Thanks Nyall,

it is fixed in master.

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


Re: [Qgis-developer] load tif/tfw layer with rotation terms

2015-03-05 Thread Otto Dassau
Am Thu, 5 Mar 2015 08:27:13 +
schrieb Giovanni Manghi giovanni.man...@gmail.com:

  Hi,
 
  when I load a tif with worldfile and the 2nd and 3rd row (rotation
  terms) is not 0, QGIS is not able to put the layer to the right
  position. Is this a know behavior? How can it be fixed?
 
 Hi Otto,
 
 is seems there is/was also this other long standing issue
 
 http://hub.qgis.org/issues/3794
 
 
 cheers
 
 -- Giovanni --

Hi,

I just tested with QGIS 2.6.1 and there it is working :(. If nobody has an
idea, I will file a ticket.

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


[Qgis-developer] load tif/tfw layer with rotation terms

2015-03-04 Thread Otto Dassau
Hi,

when I load a tif with worldfile and the 2nd and 3rd row (rotation terms) is
not 0, QGIS is not able to put the layer to the right position. Is this a
know behavior? How can it be fixed?

With this tfw file the layer is not shown at the correct position:

0.317133539233554
-0.012952088380440
-0.012952088380440
-0.317133539233554
386370.45256274
5674529.73223443

With this tfw file the layer is shown at the correct position but the
rotation is missing.

0.317136839634324
0.000
0.000
-0.317136839634324
384372.80934352
5674611.33286690

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


Re: [Qgis-developer] login to postgres/postgis from QGIS

2015-03-03 Thread Otto Dassau
Hi,

thanks for your help. 

the database was spatially enabled, but it was necessary to grant some
rights (create/usage) to the public schema. 

I believe that a better message should point the user to the right
direction. A added a ticket for that.

http://hub.qgis.org/issues/12304

Regards
Otto

Am Fri, 27 Feb 2015 09:29:37 +0100
schrieb Yves Jacolin yjaco...@free.fr:

 On Friday, February 27, 2015 8:08:13 Otto Dassau wrote:
  Hi,
  
  I cannot login to a postgis database with QGIS as a normal user
  'testuser'. But I can login with psql and using pgadmin3.
  
  CREATE ROLE testuser LOGIN
NOSUPERUSER INHERIT NOCREATEDB NOCREATEROLE NOREPLICATION;
  
  I get following error in QGIS:
  
  CET ERROR:  function postgis_version() does not exist at character 8
  CET HINT:  No function matches the given name and argument types. You
  might need to add explicit type casts.
  CET STATEMENT:  SELECT postgis_version()
  
  If I create another user as SUPERUSER I can login without problems. What
  could be the reason for this?
  
  Thanks a lot
 Otto,
 
 Some tips:
 
 Check testuser can access to the public schema and geometry_column, 
 geography_column.
 
 Something like:
 GRANT ALL TO SCHEMA public to public;
 GRANT ALL ON ALL TABLES IN SCHEMA public TO public;
 
 public role is a specific role which contains all user.
 
 Y.

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


[Qgis-developer] login to postgres/postgis from QGIS

2015-02-26 Thread Otto Dassau
Hi,

I cannot login to a postgis database with QGIS as a normal user 'testuser'.
But I can login with psql and using pgadmin3. 

CREATE ROLE testuser LOGIN
  NOSUPERUSER INHERIT NOCREATEDB NOCREATEROLE NOREPLICATION;

I get following error in QGIS:

CET ERROR:  function postgis_version() does not exist at character 8
CET HINT:  No function matches the given name and argument types. You might
need to add explicit type casts.
CET STATEMENT:  SELECT postgis_version()

If I create another user as SUPERUSER I can login without problems. What
could be the reason for this? 

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


Re: [Qgis-developer] cannot compile qgis on opensuse 13.2 (64 bit) **newbie** **Fixed

2015-01-14 Thread Otto Dassau


Am Wed, 14 Jan 2015 20:19:47 +1100
schrieb h hdi...@bigpond.net.au:

 On Sun, 11 Jan 2015 17:34:57 +1100
 h hdi...@bigpond.net.au wrote:
 
  Hi,
  I have previously done compiles of qgis by following instructions
  similar to
  https://raw.githubusercontent.com/qgis/QGIS/master/INSTALL, with only
  minor trouble. I now have a new PC and new version opensuse - and I
  cannot work out why it is not compiling.
  
  The error I get is:
  
  make[2]: *** No rule to make target
  '/usr/lib/postgresql93/lib64/libpq.so', needed by
  'output/lib/qgis/plugins/libpostgresprovider.so'.  Stop.
  CMakeFiles/Makefile2:1978: recipe for target
  'src/providers/postgres/CMakeFiles/postgresprovider.dir/all' failed
  make[1]: ***
  [src/providers/postgres/CMakeFiles/postgresprovider.dir/all] Error 2
  
  
  My understanding is that libpq.so is part of postgres, and should not
  need to be built.
  In my install libpg.so is in /usr/lib64.
  
  I have tried a number of different values for the POSTGRESQL_PREFIX
  value in ccmake, without any success.
  
  Could someone please give me an idea how to get libpostgresprovider.so
  to build.
  
  I do have an active postgres database which I have used to provide
  data to an installed version of qgis.
  
  With thanks,
  H
  
  Qgis-developer mailing list
  Qgis-developer@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-developer
 
 A did a fetch on qgis, and had an update of my distro and now have a
 completed build.
 
 H

Hi,

the POSTGRES_LIBRARY path to libpq.so is /usr/lib64/libpq.so. You need to
adapt that.

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


Re: [Qgis-developer] Documentation roadmap?

2014-11-05 Thread Otto Dassau
Hi Giovanni,

Am Wed, 05 Nov 2014 11:44:30 +0100
schrieb Richard Duivenvoorde rdmaili...@duif.net:

 On 05-11-14 10:40, G. Allegri wrote:
  I know, I know, this is a delicate topic :) We need sponsors,
  volunteers, etc., as usual.
  Is there a roadmap for the update of the documentation? Since 2.2 a lot
  of (great) features have populated QGIS, and they worth an update to the
  docs.
  Who is coordinating the docs now?
 
 Hi G,
 
 coordination: Otto
 
 Most documentation related stuff is discussed on the community list:
 
 http://lists.osgeo.org/pipermail/qgis-community-team/2014-October/003888.html
 
 I asked there if we want to build, and decided to wait for Diethard to
 update the print composer part.
 
 He is asking for help there, so :-)
 
 If either Otto or Diethard gives me a green light, I start building 2.6.
 
 Regards,
 
 Richard Duivenvoorde

Diethard will wave the green light I guess and help is very much appreciated.
Please write to the community list, if you want to help.

http://lists.osgeo.org/mailman/listinfo/qgis-community-team

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


[Qgis-developer] Options in Spatial Query Plugin

2014-11-03 Thread Otto Dassau
Hi,

for the Spatial Query Plugin in the Result feature ID's area the options
Invalid source and Invalid reference are unclear.

http://hub.qgis.org/issues/11530

Can someone describe what it means, we will add it to the manual then.

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


[Qgis-developer] 4 new qgis case studies from Afghanistan, India and Portugal

2014-10-15 Thread Otto Dassau
Dear Community,

we have 4 new QGIS case studies that I haven't officially announced yet.

1) Danish Demining Group using QGIS in Kabul, Afghanistan by Edward Crowther


Edward Crowther is Deputy Country Director at Danish Demining Group
Afghanistan. Prior to joining DDG in Afghanistan, Edward worked with the
humanitarian mineclearance agency The HALO Trust in Angola and Sri Lanka. He
holds an MSc in Development Studies from the University of London’s School
of Oriental and African Studies.

You find the whole story here:
http://www.qgis.org/en/site/about/case_studies/afghanistan.html

2) Trainings  Research activities at NIRDPR-NERC by Alajangi Simhachalam
###

Alajangi Simhachalam is working at Adjunct Faculty, NIRD-NERC in India. 

You find the whole story here:
http://www.qgis.org/en/site/about/case_studies/india_guwahati.html

3) Using the LecosS plugin for landscape characterization by André Duarte 
##

André Duarte is an Engineering Degree in Forest Resources and Master of
Forestry Resources from the Escola Superior Agrária de Coimbra. Graduate in
Geographic Information Systems by Geopoint. He currently collaborates with
Grupo Portucel Soporcel.

You find the whole story here:
http://www.qgis.org/en/site/about/case_studies/portugal_coimbra.html

4) Use of python console to prepare offline map from WMS by Prashant Kadgi
###

Prashant Kadgi works as consultant in GIS APP Consultancy Services. Since
2009 he is using GIS  RS in NRM, forestry, e-governance, software
development projects in different regions of India and the world.

You find the whole story here:
http://www.qgis.org/en/site/about/case_studies/india_pune.html

We would like to thank all case study writers for their contribution!

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

[Qgis-developer] QGIS hackfest Linuxhotel News

2014-09-25 Thread Otto Dassau
Hi,

I have some not so good news for all who arrive on wednesday and before
thursday late afternoon. I was just informed by the linuxhotel, that
they will have another big event on thursday, 2nd october. They have given
priority to this event, because that's what they make money with (we only
pay a very reduced price).

For us it means, we only have one smaller room (maybe for 15 people)
available on thursday until maybe 7pm and all others have to split up to
several other rooms in the linuxhotel.

We will find a solution anyway, there is internet everywhere, but I wanted
to inform you, so you are not disappointed, if we are not able to work all
together in one room until thursday evening.

Whish you all a save journey to Essen!

Regards
Otto



 

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


[Qgis-developer] plan to update the QGIS manual in Essen

2014-09-21 Thread Otto Dassau
Hi,

during the hackfest we plan to update the english manual from version
2.2 to the upcoming 2.6. We already updated the manual task list in the wiki

http://hub.qgis.org/wiki/quantum-gis/ManualTasks#Updates-QGIS-24-User-Guide
http://hub.qgis.org/wiki/quantum-gis/ManualTasks#Updates-QGIS-26-User-Guide

and would be happy, if there are more people joining our effort in Essen (or
virtually at home).

Please add your name to the wiki and/or add a note to the Developer Meeting
wiki, if you want to join us:
http://hub.qgis.org/wiki/quantum-gis/12_QGIS_Developer_Meeting_in_Essen_2014

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


[Qgis-developer] QGIS Hackfest organization

2014-09-18 Thread Otto Dassau
Hi,

the hackfest in the linuxhotel officially starts on Oct, 2nd (Thursday) but
there are already some people using the 1st Oct for arrival. This is fine for
a few, but please be aware that we can use the large rooms for hacking not
before the evening (6-7pm), because they are still conducting trainings on
wednesday.

To have a better overview, please add your arrival time to the wiki, so we
can plan where to stay, if it is before the evening.

http://hub.qgis.org/wiki/quantum-gis/12_QGIS_Developer_Meeting_in_Essen_2014

Thanks a lot

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


[Qgis-developer] Arrival and Departure time for the QGIS Developer Meeting in Essen

2014-09-10 Thread Otto Dassau
Hi,

can you please add your arrival and departure time and place (airport, train
station, ..) to the planning wiki as well? This makes it easier for us to
plan the arrivals and you can find other people to share a taxi from/to the
airports or train stations.

http://hub.qgis.org/wiki/quantum-gis/12_QGIS_Developer_Meeting_in_Essen_2014#Participation

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


[Qgis-developer] Accommodation for the QGIS Developer Meeting in Essen

2014-09-01 Thread Otto Dassau
Hi,

all 27 beds of the linuxhotel are now occupied. I added a new column to the
accommodation list Share room with and would like to ask everybody to find
other persons he would like to share the room with. We will try to respond
to your wishes.

These rooms are still available:

6 x 2 people (double)
3 x 3 people (double with 1 additional bed)
1 x 4 people (shared apartment (with 4 single rooms))

http://hub.qgis.org/wiki/quantum-gis/12_QGIS_Developer_Meeting_in_Essen_2014#Participation

If you already arrive on the 1st October, please add a note, when you plan
to be at the linuxhotel.

Regards
Otto 

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


Re: [Qgis-developer] [Qgis-user] Stress about release plans

2014-07-23 Thread Otto Dassau
Hi Simon,

this sounds like a very good idea to me.

At the moment documenters look at the commit logs for a [FEATURE] comment
and add it to a wiki list. Then search through all mls, wikis and blogs, if
there is some howto available or at a least a short discussion or
description about that feature. If not we have to ask for help - all this
takes time...

If we have a simple skeleton about the feature automatically provided by
developers, we would be happy and it would be much easier to write a better
documentation.

Regards,
Otto

Am Wed, 23 Jul 2014 13:41:08 +1000
schrieb Simon Cropper simoncrop...@fossworkflowguides.com:

 Hi All,
 
 It is hard to figure out where in the conversation to interject but 
 Victors counter-suggestion appears appropriate to me.
 
 Being involved in several open source projects, creating tutorials for 
 these and having in the past been involved with trying to contribute to 
 the main documentation for these packages it is obvious to me that 
 developers need to be involved in documentation.
 
 Users rarely are able to decipher code and trying to figure out when and 
 how to use a particular feature can be quite daunting even for the most 
 experienced person.
 
 Developers must provide at least basic information on what each new 
 feature does and what each feature (drop down box, radio button, etc) is 
 for. Without this users need to ferret through hundreds of emails and 
 forum posts, and pester the developers anyway. It is easier for devs to 
 provide a simple skeleton -- this does this, that does that, here is a 
 link, check out this bug etc. All this information is available at the 
 developers fingertips while they are working on the new feature anyway 
 -- it is just committing 30 minutes at the end to put some details down 
 on he page.
 
 With this basic information, documenters are better equipped to present 
 the feature in context and explain how it should be used.


 On 22/07/14 20:01, Victor Olaya wrote:
  +1 to what Otto said. Very good point. Those creating training materials
  should coordinate and help the core QGIS documentation (both the manual
  and the training manual) improve.
 
  The solution is very simple: Require up to date, accurate
  documentation for all commits of new features. This is one for the
  PSC. After all, what's the point in having tons of features if no-one
  knows how to use them or what they do?
  Will it slow down new feature feature commit? Probably, but I figure
  that's a small price to pay for actually having documentation. And
  from that documentation, universal training materials can be
  developed much more easily.
 
 
  -1 from me. Features are also  documented by people using them, not just
  by the devs. We like to say that you can contribute to open source
  projects not just by coding, but if we do that, I don't think we are
  going to get many contributions from users, leaving the documentation to
  be written only by developers.
 
  I try to keep the Processing documentation up to date, but only
  documenting the interface itself and the framework, not the algorithms.
  That's the reason why a large part of algorithms in Processing are not
  documented. Fortunately, some users have contributed documentation, and
  they have added descriptions of several algorithms, but the have done
  that *after* using the (hitherto undocumented) algorithm and becoming
  familiar with it. No one is going to document something that he cannot
  use yet.
 
  Let's encourage developers to commit features when they are well
  documented, but let's also give some flexibility, since that's not
  always going to be possible.
 
  my 2 cents
 
  Cheers
  Víctor
 
 
 


-- 
Geoinformatikbüro Dassau - http://www.gbd-consult.de
FOSSGIS consulting , training , support and analysis
Ackerstrasse 144c ,  D - 40233 Düsseldorf  , Germany
Tel: +49-(0)211-47468178 , Mobil: +49-(0)171-4687540

--
Community Advisor - QGIS Project Steering Committee
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] [Qgis-user] Stress about release plans

2014-07-23 Thread Otto Dassau
Hi Nathan,

thanks for the offer, but this is not the problem. After feature freeze we
currently do a git log --since=date --grep='FEATURE', that's ok. And Tims
changelog is also very helpful and often already fine as a beginning.

The result is in the wiki: http://hub.qgis.org/wiki/17/ManualTasks

But this covers not all changes we need to document nor does it usually
describe the usage. We still we have to search the web, so it would be great
to have a simple skeleton with a short description of all functionality of a
feature from the developers, if that is possible. 

Maybe we can offer 2 ways. If developers write about features in their blog
and describe how it works, as you do, you could just add the link
somewhere where documenters can look it up. For others a simple
documentation skeleton could be used as a standard.

Whatever we finally use, it would be good to improve the current procedure.

Regards
Otto  

Am Wed, 23 Jul 2014 17:43:51 +1000
schrieb Nathan Woodrow madman...@gmail.com:

 We could make a script to just pull out everything with [FEATURE] in the
 commit between a date range if that will help.  Maybe we could create stubs
 in Tims changelog system using something like this.
 
 - Nathan
 
 
 On Wed, Jul 23, 2014 at 5:28 PM, Otto Dassau das...@gbd-consult.de wrote:
 
  Hi Simon,
 
  this sounds like a very good idea to me.
 
  At the moment documenters look at the commit logs for a [FEATURE]
  comment and add it to a wiki list. Then search through all mls, wikis
  and blogs, if there is some howto available or at a least a short
  discussion or description about that feature. If not we have to ask for
  help - all this takes time...
 
  If we have a simple skeleton about the feature automatically provided by
  developers, we would be happy and it would be much easier to write a
  better documentation.
 
  Regards,
  Otto
 
  Am Wed, 23 Jul 2014 13:41:08 +1000
  schrieb Simon Cropper simoncrop...@fossworkflowguides.com:
 
   Hi All,
  
   It is hard to figure out where in the conversation to interject but
   Victors counter-suggestion appears appropriate to me.
  
   Being involved in several open source projects, creating tutorials for
   these and having in the past been involved with trying to contribute to
   the main documentation for these packages it is obvious to me that
   developers need to be involved in documentation.
  
   Users rarely are able to decipher code and trying to figure out when
   and how to use a particular feature can be quite daunting even for the
   most experienced person.
  
   Developers must provide at least basic information on what each new
   feature does and what each feature (drop down box, radio button, etc)
   is for. Without this users need to ferret through hundreds of emails
   and forum posts, and pester the developers anyway. It is easier for
   devs to provide a simple skeleton -- this does this, that does that,
   here is a link, check out this bug etc. All this information is
   available at the developers fingertips while they are working on the
   new feature anyway -- it is just committing 30 minutes at the end to
   put some details down on he page.
  
   With this basic information, documenters are better equipped to present
   the feature in context and explain how it should be used.
  
  
   On 22/07/14 20:01, Victor Olaya wrote:
+1 to what Otto said. Very good point. Those creating training
  materials
should coordinate and help the core QGIS documentation (both the
manual and the training manual) improve.
   
The solution is very simple: Require up to date, accurate
documentation for all commits of new features. This is one for
the PSC. After all, what's the point in having tons of features if
no-one knows how to use them or what they do?
Will it slow down new feature feature commit? Probably, but I
  figure
that's a small price to pay for actually having documentation.
And from that documentation, universal training materials can be
developed much more easily.
   
   
-1 from me. Features are also  documented by people using them, not
  just
by the devs. We like to say that you can contribute to open source
projects not just by coding, but if we do that, I don't think we are
going to get many contributions from users, leaving the documentation
  to
be written only by developers.
   
I try to keep the Processing documentation up to date, but only
documenting the interface itself and the framework, not the
algorithms. That's the reason why a large part of algorithms in
Processing are not documented. Fortunately, some users have
contributed documentation, and they have added descriptions of
several algorithms, but the have done that *after* using the
(hitherto undocumented) algorithm and becoming familiar with it. No
one is going to document something that he cannot use yet.
   
Let's encourage developers to commit

[Qgis-developer] attribute table row cache

2014-07-23 Thread Otto Dassau
Hi,

the option Attribute table row cache under settings - options - data
sources makes it possible to save the last loaded N attribute rows so that
working with the attribute table will be quicker. The cache will be deleted
when closing the attribute table.

What is the maximum number of lines here and what happens, if I set it to
0 - would that cache all line or no lines? I would like to load the complete
attribute table from an external database into the cache. Is that option
possible?

Thanks
Otto



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


Re: [Qgis-developer] attribute table row cache

2014-07-23 Thread Otto Dassau
Am Wed, 23 Jul 2014 12:45:37 +0200
schrieb Matthias Kuhn matthias.k...@gmx.ch:

 Hi Otto,
 
 Currently you will need to set a number large enough to hold all your 
 records.
 
 It would be a very simple fix to switch to the (quite sensible) 
 operation mode you describe (0: cache all).
 
 Would it be possible for you to test a pull request/branch if I create 
 one?
 
 Matthias

sure, I can do that.

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


Re: [Qgis-developer] [Qgis-user] Stress about release plans

2014-07-22 Thread Otto Dassau
Hi,

I would prefere another solution instead of changing the releases. The
documentation team is in the same situation. We are always behind the
releases, but the problem I see is that there are not enough people working
on the documents. At the moment we were not even able to start updating the
manual for 2.4 yet :(. 

From my experience, we get many new features for every release because
developers work together on the master source.

For some reason trainers prefere starting from scratch working on her/his
own documents and training material, which is ok, of course but leads into
the situation Lene discribed.

Here are two ideas that come to my mind:

a) Trainers could combine their forces and prepair general training materials
together that everybody can use and extend. All tools and the document basis
is available and provided by QGIS project in the documentation repository. I
know there are many people conducting trainings on QGIS, if they all work
together as developers already do, we would probably be in a much better
situation.

b) An idea that already works for the development of QGIS features is paying
some amount or percantage of each development for good documentation and
training material. Many new features in QGIS are payed by customers. But
usually customers and developers don't think about also spending an
additional little amount to document the feature in the QGIS docs and
training material. I don't know why, but that's reality.

So for me, the problem is not just about changing the releases cycles. It is
more about bringing documenters and trainers closer to the project again to
combine their forces. And to make customers/users/developers aware, that
documentation and training material is an important part of the software and
should not be forgotten and maybe automatically added to an offer, if new
(payed) features are added.

Regards,
Otto

Am Tue, 22 Jul 2014 08:43:02 +0300
schrieb Micha Silver mi...@arava.co.il:

 I also do some short training courses using QGIS, and I fully understand
 and support Lene's idea.
 
 
 On 21/07/2014 18:35, Lene Fischer wrote:
 
 Hi,
 
 This is not a mail about bugs or issues on a special feature – just a
 matter of time.
 
 Right now I´m preparing a 3 week intensive GIS course at university level
 - looking forward to these annual events. But I get stressed when I see
 that there are only 94 days until next version of QGIS. Because in
 November I start over again with a 8 week course and in February a 3 week
 course, in may a 3 week course. All in all we have more than 140 students
 learning QGIS every year – and they are impressed of this program!!!
 
  
 
 I love getting new features in the program, but fear the work to run
 through every assignment, every video and being a bit unsure how the
 program works in the latest version on the different platforms.
 
 Small changes which I haven´t noticed and therefore unaware of. So a new
 version so soon gives me a lot of stress and so many hours of work –
  hours which could be used to ex. testing.
 
  
 
 When I ask users to download the program they take the official latest
 version – sometimes with bugs included… It gives an impression of an
 unprofessional product (not my words), it gives me- and others hard times
 to fix or explain. I´ve been talking to other users/administrators who has
 the same experience.
 
 What if we had :
 
 ·    A long term stable version for ex. 12 months with bugfix only
 
 ·    A developer version for 4 months with new features and bugfixes
 = Stable version with short bugfix-period = New developer……..
 
  
 
 I do know it will give the developers more work – I do know it will cost
 more money – But I´m sure a lot of administrators will recommend,  use and
 support if we get a more stable environment.
 
 So please – consider another release plan in the future.
 
 Regards
 
 Lene Fischer
 
 Associate Professor
 
  
 
 Department of Geosciences and Natural Resource Management
 
 University of Copenhagen
 
 
  
 
 MOB +45 40115084
 
 l...@ign.ku.dk

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

[Qgis-developer] packages included in QGIS Windows build

2014-07-22 Thread Otto Dassau
Hi,

where can I lookup, what packages are included in QGIS Windows
standalone/OSGeo4W builds? I am looking for PyQt4.QtSql and libqt4-sql-odbc.

Are they already included?

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


[Qgis-developer] 12th QGIS Developer Meeting at Linuxhotel in Essen, Germany

2014-05-08 Thread Otto Dassau
Dear all,

two years ago we already enjoyed a QGIS hackfest in Essen, Germany and we
are now happy to announce, that the next QGIS hackfest will be held at the
Linuxhotel in Essen again from October 2nd - 5th 2014.

The meeting will be organized in the wiki, where you find all important
information:

http://hub.qgis.org/wiki/quantum-gis/12_QGIS_Developer_Meeting_in_Essen_2014

Regards,
Otto

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


Re: [Qgis-developer] [Qgis-community-team] 12th QGIS Developer Meeting at Linuxhotel in Essen, Germany

2014-05-08 Thread Otto Dassau
Hi Denis,

just add your name to the list. If there are more than 27 participants, we
will organize more accomodation.

Regards
Otto

Am Thu, 08 May 2014 13:35:25 +0200
schrieb Denis Rouzaud denis.rouz...@gmail.com:

 Thanks a lot!
 
 Regarding the hotel reservation, it's a bit unclear if we shall book 
 ourselves or if it will be handled by the organisation.
 
 Cheers,
 
 Denis
 
 
 On 08.05.2014 13:27, Paolo Cavallini wrote:
  Il 08/05/2014 13:07, Otto Dassau ha scritto:
  Dear all,
 
  two years ago we already enjoyed a QGIS hackfest in Essen, Germany and
  we are now happy to announce, that the next QGIS hackfest will be held
  at the Linuxhotel in Essen again from October 2nd - 5th 2014.
 
  The meeting will be organized in the wiki, where you find all important
  information:
 
  http://hub.qgis.org/wiki/quantum-gis/12_QGIS_Developer_Meeting_in_Essen_2014
  Thank you, Otto.
 
  *Users:* please consider supporting this event with your donations and
  sponsoring, to help making it yet another success in the history of QGIS
 
  *Developers:* please let me know if you need financial support to ease
  up your participation.
 
  All the best.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Case study about aerial photo archive management with QGIS at IRPI in Turin, Italy

2014-02-17 Thread Otto Dassau
Dear Community,

we have a new QGIS case study written by Danilo and Franco Godone.

Franco Research works at the Institute for Geo-hydrological Protection of
Turin (IRPI-CNR) as a specialized technician. 
Danilo is Postdoc grant holder, at Turin University, studying geomatic
contribution in landslide, glacier and, more generally, natural disasters
monitoring.

The case study is about an aerial photo archive management, where they use
QGIS to cope (manage and analyse) with the large amount of aerial imagery
and other data.

You find the whole story here:
http://qgis.org/en/site/about/case_studies/italy_turin.html

Thank you very much Danilo and Franco for your contribution!

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


Re: [Qgis-developer] next Hackfest: Vienna

2013-12-14 Thread Otto Dassau
Hi Richard,

thanks for the hint. 

do we have some prominent area at qgis.org, where we can announce those
community/devel/user events?

Regards
Otto

Am Sat, 14 Dec 2013 16:37:26 +0100
schrieb Richard Duivenvoorde rdmaili...@duif.net:

 Hi Devs,
 
 after last PSC meeting we decided to go to Vienna for the next QGIS
 Hackfest.
 
 This makes it possible for QGIS devs to spar a little with the Osgeo
 C-tribe devs, because Stephan is organizing an Osgeo Code sprint there.
 
 Because there is already an osgeo wiki page [0] we decided to not create
 one of our own, but reuse that resource. For most questions: please
 consult that page first: [0]
 
 So: if you want to join: please add your name to te participants list in
 the wiki page.
 
 Normally the QGIS hackfests are organized by some local organizer, often
 together with some (local/national) sponsors.
 Though we are joining the Code sprint, it will be VERY helpfull if
 people from our community would give a hand to Stephan for the
 organisation. 
 Please email the PSC or Stephan for this.
 
 
 Regards,
 
 Richard Duivenvoorde
 
 [0] http://wiki.osgeo.org/wiki/Vienna_Code_Sprint_2014
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] QGIS website download links

2013-11-06 Thread Otto Dassau
Hi Jonathan,

Am Wed, 6 Nov 2013 11:24:19 +
schrieb Jonathan Moules jonathanmou...@warwickshire.gov.uk:

 Hi folks,
 
 Couple of thoughts on the website:
 
 1) - There doesn't seem to be a link to the weeklies, or at least not one I
 can find on http://www.qgis.org/en/site/forusers/alldownloads.html

 2) That same page has a link under QGIS testing which 404's -
 http://download.opensuse.org/repositories/Application:/Geo/VERSION/ -
 looking closer that link is on the page three times.

for openSUSE packages VERSION means you add the opensuse version you work
with instead, e.g.:
http://download.opensuse.org/repositories/Application:/Geo/openSUSE_12.3/

I will better describe it, so people know what to do...

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


[Qgis-developer] old svg icons from = QGIS 1.8

2013-10-25 Thread Otto Dassau
Hi,

I found that for the new and default icon theme in QGIS 2 many svg symbols,
e.g. north arrows are missing. Is there a special reason, why they are
removed and not available anymore?

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


Re: [Qgis-developer] QGIS API 2.0 Documentation

2013-10-17 Thread Otto Dassau
sorry for the noise, just see that http://qgis.org/api/2.0/ is available,
too. Only the link on the main page is missing.

Regards
Otto

Am Thu, 17 Oct 2013 11:11:56 +0200
schrieb Otto Dassau das...@gbd-consult.de:

 Hi,
 
 in the web I find the QGIS API Documentation http://qgis.org/api/ for
 version:
 
 1.6
 1.7
 1.8
 2.1.0-Master
 
 Is there also a 2.0 version, or is it not necessary to distinguish between
 2.0 and master (2.1)?
 
 Regards
 Otto


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


Re: [Qgis-developer] Quantum GIS on www.osgeo.org

2013-09-17 Thread Otto Dassau
Am Tue, 17 Sep 2013 12:13:06 +0200
schrieb Jürgen E. Fischer j...@norbit.de:

 Hi,
 
 www.osgeo.org still mentions Quantum GIS instead of QGIS.  Anyone know
 who's available to change that?
 
 Jürgen

I updated http://www.osgeo.org/qgis but don't know how to change the menu on
www.osgeo.org

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

Re: [Qgis-developer] Quantum GIS on www.osgeo.org

2013-09-17 Thread Otto Dassau
Hi,

I will have a look later...

Regards
Otto

Am Tue, 17 Sep 2013 14:07:33 +0100
schrieb Saber Razmjooei saber.razmjo...@lutraconsulting.co.uk:

 While we are at it, is it possible to update the content. It looks
 completely out of date in terms of Plugin descriptions at least! I tried
 to do so, but no permission I suppose.
 
 Cheers,
 Saber
 
 
 -Original Message-
 From: qgis-developer-boun...@lists.osgeo.org
 [mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of Werner Macho
 Sent: 17 September 2013 11:51 To: Otto Dassau
 Cc: qgis-developer
 Subject: Re: [Qgis-developer] Quantum GIS on www.osgeo.org
 
 Probably Jeff can do something on osgeo?
 At least he should know whom to ask ..
 
 Anyone in Nottingham to ask him?
 
 
 
 On Tue, Sep 17, 2013 at 12:40 PM, Otto Dassau das...@gbd-consult.de
 wrote:
  Am Tue, 17 Sep 2013 12:13:06 +0200
  schrieb Jürgen E. Fischer j...@norbit.de:
 
  Hi,
 
  www.osgeo.org still mentions Quantum GIS instead of QGIS.  Anyone 
  know who's available to change that?
 
  Jürgen
 
  I updated http://www.osgeo.org/qgis but don't know how to change the 
  menu on www.osgeo.org
 
  Otto
  ___
  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] [qgis webclient] hide layer in menu

2013-08-28 Thread Otto Dassau
Hi,

if I want to hide the visibility of a layer in the qgis-weblient, so it is
not initially visible when I open the webclient in the browser but it
should still be possible to show the layer, if I want.

It seems that qgis webclient doesn't understand, if I hide the layer from
visibility in the QGIS project.

Is there a trick to achieve this?

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


Re: [Qgis-developer] [qgis webclient] hide layer in menu

2013-08-28 Thread Otto Dassau
thanks Andreas, that was it...

Regards

Otto

Am Wed, 28 Aug 2013 13:29:03 +0200
schrieb Andreas Neumann a.neum...@carto.net:

  Hi Otto,
 
  If you provide the visibleLayers property in the URL, it will be 
  used. If you do not provide this property it will use the visibility 
  setting from the QGIS project. You need to set
 
  var useGetProjectSettings = true;
 
  to be able to use the visibility from the QGIS project. It does not 
  work with GetCapabilities.
 
  Andreas
 
  On Wed, 28 Aug 2013 12:58:47 +0200, Otto Dassau wrote:
  Hi,
 
  if I want to hide the visibility of a layer in the qgis-weblient, so 
  it is
  not initially visible when I open the webclient in the browser but it
  should still be possible to show the layer, if I want.
 
  It seems that qgis webclient doesn't understand, if I hide the layer 
  from
  visibility in the QGIS project.
 
  Is there a trick to achieve this?
 
  Thanks
  Otto
  ___
  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

-- 
Geoinformatik Büro Dassau - http://www.gbd-consult.de
FOSSGIS consulting , training , support  and analysis
Ackerstrasse 144c  ,  D - 40233 Düsseldorf  , Germany
Tel: +49-(0)211-47468178 , Mobil: +49-(0)171-4687540

--
Community Advisor - QGIS Project Steering Committee
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Case study about the Burgundy Historical Landscapes Working Group

2013-08-26 Thread Otto Dassau
Dear Community,

we have a new QGIS case study written by Dr. Scott Madry. He is a research
associate professor in the Curriculum in Archaeology at the University of
North Carolina at Chapel Hill’s Research Laboratories of Archaeology. 

Additionally he is on the faculty of the International Space University in
Strasbourg, France, and is a chercheur associé du Laboratoire Archéologie et
Territoires de l'UMR 7324 CITERES, Université François-Rabelais/CNRS

The case study is about the Burgundy Historical Landscapes Working Group.
They are trying to understand the changing patterns of human settlement
and land use over a period of 2,000 years from the Iron Age, Gallo-Roman,
Medieval periods into the present.

You find the whole story here:
http://www.qgis.org/en/community/qgis-case-studies/burgundy-region-france.html

Thank you very much Scott Madry for your contribution!

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


[Qgis-developer] [qgis webclient] malformed header from script. Bad header=credentials for dbname

2013-08-25 Thread Otto Dassau
Hi,

I have some vector layers in a postgis2 database, provide them via QGIS
server (ubuntu package from master) and visualize with QGIS webclient. In
qgis-web-client-error.log I get following error

malformed header from script. Bad header=credentials for dbname='testdb':

I set up the qgs project file on my local PC and the error occurs, when I
copy the file to the server, where postgis and QGIS server is installed.

Thanks for any hints

Otto

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


Re: [Qgis-developer] [qgis webclient] malformed header from script. Bad header=credentials for dbname

2013-08-25 Thread Otto Dassau
Thanks Andreas and Jürgen,

now it is working

Regards
Otto

Am Sun, 25 Aug 2013 16:52:32 +0200
schrieb Jürgen E. Fischer j...@norbit.de:

 Hi Otto,
 
 On Sun, 25. Aug 2013 at 15:47:30 +0200, Otto Dassau wrote:
  I have some vector layers in a postgis2 database, provide them via QGIS
  server (ubuntu package from master) and visualize with QGIS webclient. In
  qgis-web-client-error.log I get following error
 
 The credentials in the project file are incomplete and therefore the server
 asks for username and password - which causes the webserver to complain
 that that's not a HTTP header.
 
 You should either complete the credentials into the project file, setup
 pg_hba.conf of your database to trust connections from the webserver or use
 the webservers user's .pgpass.
 
 
 Jürgen
 
 
 [1] http://www.postgresql.org/docs/current/static/auth-pg-hba-conf.html
 [2] http://www.postgresql.org/docs/current/static/libpq-pgpass.html
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Room booking in Brighton

2013-08-14 Thread Otto Dassau
Hi Matteo and maybe others,

there are several people willing to share their room in the wiki (including
me) - if it uptodate. If you want to share the room with me, could you
please contact the hotel directly to arrange it, if that is ok for you. I
will stay from friday - sunday.

further people are:
http://hub.qgis.org/wiki/quantum-gis/10_QGIS_Developer_Meeting_in_Brighton_2013

Luigi Pirelli
Carlos López Quintanilla
Martin Dobias
Marco Hugentobler
Mathias Walker

Regards
Otto

Am Wed, 14 Aug 2013 13:34:34 +0100
schrieb Saber Razmjooei saber.razmjo...@lutraconsulting.co.uk:

 Hi Matteo,
 
 If you find someone who is willing to share a room, you can contact the 
 hotel directly to arrange the room sharing.
 
 Cheers,
 Saber
 
 On 2013-08-14 09:54, matteo wrote:
  Hi Saber,
  thanks for the answer.
  Before looking for other accommodations I just wanted to know if
  anybody has the opportunity to share a room already booked.
 
  Matteo
  ___
  Qgis-developer mailing list
  Qgis-developer@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-developer
 
 
 --
 This email and any files transmitted with it are confidential and intended
 solely for the use of the individual or entity to whom they are addressed.
 If you have received this email in error please notify the system manager.
 This message contains confidential information and is intended only for
 the individual named. If you are not the named addressee you should not
 disseminate, distribute or copy this e-mail. Please notify the sender
 immediately by e-mail if you have received this e-mail by mistake and
 delete this e-mail from your system. If you are not the intended recipient
 you are notified that disclosing, copying, distributing or taking any
 action in reliance on the contents of this information is strictly
 prohibited.
 
 Whilst reasonable care has been taken to avoid virus transmission, no
 responsibility for viruses is taken and it is your responsibility to carry
 out such checks as you feel appropriate.
 
 Saber Razmjooei and Peter Wells trading as Lutra Consulting.
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer


-- 
Geoinformatik Büro Dassau - http://www.gbd-consult.de
FOSSGIS consulting , training , support  and analysis
Ackerstrasse 144c  ,  D - 40233 Düsseldorf  , Germany
Tel: +49-(0)211-47468178 , Mobil: +49-(0)171-4687540

--
Community Advisor - QGIS Project Steering Committee
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] New QGIS case study from Antarctica

2013-08-13 Thread Otto Dassau
Dear Community,

we have a new QGIS case study written by Anders Skoglund and Kenichi
Matsuok. Anders is GIS specialist and Kenichi glaciologist at the Norwegian
Polar Institute.

The case study is about Quantarctica, a collection of Antarctic geographical
datasets, developed as a tool for the research community, for classrooms and
for operational use in Antarctica.

You find the whole story here:
http://www.qgis.org/en/community/qgis-case-studies/antarctica.html

Thank you very much Anders Skoglund and Kenichi Matsuok for your
contribution!

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


Re: [Qgis-developer] update plugin to QGIS 2.0

2013-08-02 Thread Otto Dassau
Hi,

thanks for your hints, I think I am on the right track now. I had a look at
the value tool plugin and tried to adapt the method accordingly:

def sampleRaster20(self, layer, x, y):
   #success, data = layer.dataProvider().identify(QgsPoint(x,y))
   success, data = 
layer.dataProvider().identify(QgsPoint(x,y),QgsRaster.IdentifyFormatValue).results()
 
   for band, value in data.items(): 
  return value

But now I get another error message 

 File
 /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
 line 448, in printValue self.showValues() File
 /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
 line 454, in showValues self.plot() File
 /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
 line 526, in plot w = float(self.sampleRaster(self.InRastW.currentText(),
 self.xCoord, self.yCoord))/10 File
 /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
 line 300, in sampleRaster return self.sampleRaster20(layer, x, y) File
 /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
 line 285, in sampleRaster20 success, data =
 layer.dataProvider().identify(QgsPoint(x,y), QgsRaster.IdentifyFormatValue
 ).results() ValueError: need more than 1 value to unpack

Do you have an idea for this, too?

Thanks 
Otto

Am Thu, 1 Aug 2013 16:00:08 -0300
schrieb Etienne Tourigny etourigny@gmail.com:

 Have a look at the source of the value tool plugin, it calls the identify()
 method and has been updated to 2.0 api.
 
 Etienne
 
 On Thu, Aug 1, 2013 at 1:58 PM, Otto Dassau das...@gbd-consult.de wrote:
 
  Hi,
 
  I want to update a plugin from 1.8 to QGIS 2.0 and it throws following
  error:
 
  Traceback (most recent call last):
  File
 
 
  /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
  line 447, in printValue self.showValues() File
 
 
  /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
  line 453, in showValues self.plot() File
 
 
  /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
  line 514, in plot w = float(self.sampleRaster(self.InRastW.currentText(),
  self.xCoord, self.yCoord))/10 File
 
 
  /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
  line 299, in sampleRaster return self.sampleRaster20(layer, x, y) File
 
 
  /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
  line 284, in sampleRaster20 success, data =
  layer.dataProvider().identify(QgsPoint(x,y))
 
  TypeError:
  QgsRasterDataProvider.identify(QgsPoint, QgsRaster.IdentifyFormat,
  QgsRectangle theExtent=QgsRectangle(), int theWidth=0, int theHeight=0):
  not enough arguments
 
  I found at
  http://hub.qgis.org/wiki/quantum-gis/API_changes_for_version_20 the
  section QgsRasterDataProvider which should fit. And the Method, where I
  assume the error occurs should be this
 
  # get value at mouse position QGIS = 1.8 (working for 1.8)
  def sampleRaster18(self, layer, x, y):
 success, data = layer.identify(QgsPoint(x,y))
 for band, value in data.items():
   return value
 
  now what I tried but doesn't work (see error above)
 
  # get value at mouse position QGIS = 2.0 (not working yet :()
  def sampleRaster20(self, layer, x, y):
 success, data = layer.dataProvider().identify(QgsPoint(x,y))
 for band, value in data.items():
   return value
 
  my problem is, that I don't understand how to implement in sampleRaster20
  the new method from the API_changes_for_version_20 website which says:
 
  QMapint, QVariant identify( const QgsPoint  thePoint, IdentifyFormat
  theFormat, const QgsRectangle theExtent = QgsRectangle(), int theWidth =
  0, int theHeight = 0 )
 
  can anybody help?
 
  Thanks
 
  Otto
  ___
  Qgis-developer mailing list
  Qgis-developer@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-developer
 


-- 
Geoinformatik Büro Dassau - http://www.gbd-consult.de
FOSSGIS consulting , training , support  and analysis
Ackerstrasse 144c  ,  D - 40233 Düsseldorf  , Germany
Tel: +49-(0)211-47468178 , Mobil: +49-(0)171-4687540

--
Community Advisor - QGIS Project Steering Committee
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] update plugin to QGIS 2.0

2013-08-02 Thread Otto Dassau
Hi,

thanks for the hint. And if I need the value of the raster? If I understand
correctly, ident will always be 1, if I have a 1 band raster layer. But how
can I get the value at QgsPoint(x,y) of the raster? I don't understand that
from the value tool plugin.

In QGIS 1.8 I use :

success, data = layer.identify(QgsPoint(x,y))
   for band, value in data.items():
   return value

and in QGIS 2.0:

ident = 
layer.dataProvider().identify(QgsPoint(x,y),QgsRaster.IdentifyFormatValue).results()
   ?

Thanks again

Otto


Am Fri, 2 Aug 2013 08:50:08 -0300
schrieb Etienne Tourigny etourigny@gmail.com:

 from the api
 http://www.qgis.org/api/classQgsRasterIdentifyResult.html#a8537d25fdff215e7e9650b71a0a16783
 
 results() returns a QMapint, QVariant (one item for each band), it
 does not return a tuple, so you should actually call
 
 ident =
 layer.dataProvider().identify(QgsPoint(x,y),QgsRaster.IdentifyFormatValue).results()
 
 and then test that ident is not empty (i,e. ident is not None and
 ident.iterkeys() is not None)
 
 for each band, if the point is outside of the raster extent or is
 nodata, the value will be a null QVariant (i.e. QVariant()) which in
 python is None.
 
 
 cheers
 Etienne
 
 On Fri, Aug 2, 2013 at 7:13 AM, Otto Dassau das...@gbd-consult.de wrote:
 
  Hi,
 
  thanks for your hints, I think I am on the right track now. I had a look
  at the value tool plugin and tried to adapt the method accordingly:
 
  def sampleRaster20(self, layer, x, y):
 #success, data = layer.dataProvider().identify(QgsPoint(x,y))
 success, data =
  layer.dataProvider().identify(QgsPoint(x,y),QgsRaster.IdentifyFormatValue).results()
  for band, value in data.items(): return value
 
  But now I get another error message
 
   File
   
  /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
   line 448, in printValue self.showValues() File
   
  /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
   line 454, in showValues self.plot() File
   
  /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
   line 526, in plot w =
  float(self.sampleRaster(self.InRastW.currentText(), self.xCoord,
  self.yCoord))/10 File
  /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
  line 300, in sampleRaster return self.sampleRaster20(layer, x, y) File
  /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
  line 285, in sampleRaster20 success, data =
  layer.dataProvider().identify(QgsPoint(x,y),
  QgsRaster.IdentifyFormatValue ).results() ValueError: need more than 1
  value to unpack
 
  Do you have an idea for this, too?
 
  Thanks
  Otto
 
  Am Thu, 1 Aug 2013 16:00:08 -0300
  schrieb Etienne Tourigny etourigny@gmail.com:
 
   Have a look at the source of the value tool plugin, it calls the
   identify() method and has been updated to 2.0 api.
  
   Etienne
  
   On Thu, Aug 1, 2013 at 1:58 PM, Otto Dassau das...@gbd-consult.de
   wrote:
  
Hi,
   
I want to update a plugin from 1.8 to QGIS 2.0 and it throws
following error:
   
Traceback (most recent call last):
File
   
   
/home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
line 447, in printValue self.showValues() File
   
   
/home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
line 453, in showValues self.plot() File
   
   
/home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
line 514, in plot w =
float(self.sampleRaster(self.InRastW.currentText(), self.xCoord,
self.yCoord))/10 File
   
   
/home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
line 299, in sampleRaster return self.sampleRaster20(layer, x, y)
File
   
   
/home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
line 284, in sampleRaster20 success, data =
layer.dataProvider().identify(QgsPoint(x,y))
   
TypeError:
QgsRasterDataProvider.identify(QgsPoint, QgsRaster.IdentifyFormat,
QgsRectangle theExtent=QgsRectangle(), int theWidth=0, int
theHeight=0): not enough arguments
   
I found at
http://hub.qgis.org/wiki/quantum-gis/API_changes_for_version_20 the
section QgsRasterDataProvider which should fit. And the Method,
where I assume the error occurs should be this
   
# get value at mouse position QGIS = 1.8 (working for 1.8)
def sampleRaster18(self, layer, x, y):
   success, data = layer.identify(QgsPoint(x,y))
   for band, value in data.items():
 return value
   
now what I tried but doesn't work (see error above)
   
# get value at mouse position QGIS = 2.0 (not working yet :()
def sampleRaster20(self, layer, x, y):
   success, data = layer.dataProvider().identify(QgsPoint(x,y))
   for band, value in data.items():
 return value
   
my problem is, that I don't understand how to implement in
sampleRaster20 the new

Re: [Qgis-developer] update plugin to QGIS 2.0

2013-08-02 Thread Otto Dassau
Hi Etienne and Matthias,

fine - that was missing.

Thanks a lot
Otto

Am Fri, 2 Aug 2013 12:04:09 -0300
schrieb Etienne Tourigny etourigny@gmail.com:

 On Fri, Aug 2, 2013 at 11:58 AM, Otto Dassau das...@gbd-consult.de wrote:
  Hi,
 
  thanks for the hint. And if I need the value of the raster? If I
  understand correctly, ident will always be 1, if I have a 1 band raster
  layer. But how can I get the value at QgsPoint(x,y) of the raster? I
  don't understand that from the value tool plugin.
 
 no,  ident will be a dict with an element of key 1
 
 you get exactly the fist band's value at the point with ident[1] .
 
 the key of the map is the band number, and the value is the value (or
 None if nodata/out of bounds)
 
 so without any error checking you would do
 
 ident =
 layer.dataProvider().identify(QgsPoint(x,y),QgsRaster.IdentifyFormatValue).results()
 return ident[1]
 
 cheers
 Etienne
 
 
  In QGIS 1.8 I use :
 
  success, data = layer.identify(QgsPoint(x,y))
 for band, value in data.items():
 return value
 
  and in QGIS 2.0:
 
  ident =
  layer.dataProvider().identify(QgsPoint(x,y),QgsRaster.IdentifyFormatValue).results()
   ?
 
  Thanks again
 
  Otto
 
 
  Am Fri, 2 Aug 2013 08:50:08 -0300
  schrieb Etienne Tourigny etourigny@gmail.com:
 
  from the api
  http://www.qgis.org/api/classQgsRasterIdentifyResult.html#a8537d25fdff215e7e9650b71a0a16783
 
  results() returns a QMapint, QVariant (one item for each band), it
  does not return a tuple, so you should actually call
 
  ident =
  layer.dataProvider().identify(QgsPoint(x,y),QgsRaster.IdentifyFormatValue).results()
 
  and then test that ident is not empty (i,e. ident is not None and
  ident.iterkeys() is not None)
 
  for each band, if the point is outside of the raster extent or is
  nodata, the value will be a null QVariant (i.e. QVariant()) which in
  python is None.
 
 
  cheers
  Etienne
 
  On Fri, Aug 2, 2013 at 7:13 AM, Otto Dassau das...@gbd-consult.de
  wrote:
  
   Hi,
  
   thanks for your hints, I think I am on the right track now. I had a
   look at the value tool plugin and tried to adapt the method
   accordingly:
  
   def sampleRaster20(self, layer, x, y):
  #success, data = layer.dataProvider().identify(QgsPoint(x,y))
  success, data =
   layer.dataProvider().identify(QgsPoint(x,y),QgsRaster.IdentifyFormatValue).results()
   for band, value in data.items(): return value
  
   But now I get another error message
  
File

   /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
line 448, in printValue self.showValues() File

   /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
line 454, in showValues self.plot() File

   /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
line 526, in plot w =
   float(self.sampleRaster(self.InRastW.currentText(), self.xCoord,
   self.yCoord))/10 File
   /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
   line 300, in sampleRaster return self.sampleRaster20(layer, x, y) File
   /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
   line 285, in sampleRaster20 success, data =
   layer.dataProvider().identify(QgsPoint(x,y),
   QgsRaster.IdentifyFormatValue ).results() ValueError: need more than 1
   value to unpack
  
   Do you have an idea for this, too?
  
   Thanks
   Otto
  
   Am Thu, 1 Aug 2013 16:00:08 -0300
   schrieb Etienne Tourigny etourigny@gmail.com:
  
Have a look at the source of the value tool plugin, it calls the
identify() method and has been updated to 2.0 api.
   
Etienne
   
On Thu, Aug 1, 2013 at 1:58 PM, Otto Dassau das...@gbd-consult.de
wrote:
   
 Hi,

 I want to update a plugin from 1.8 to QGIS 2.0 and it throws
 following error:

 Traceback (most recent call last):
 File


 /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
 line 447, in printValue self.showValues() File


 /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
 line 453, in showValues self.plot() File


 /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
 line 514, in plot w =
 float(self.sampleRaster(self.InRastW.currentText(), self.xCoord,
 self.yCoord))/10 File


 /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
 line 299, in sampleRaster return self.sampleRaster20(layer, x, y)
 File


 /home/dassau/.qgis2/python/plugins/weibullanalyse/weibullanalysedialog.py,
 line 284, in sampleRaster20 success, data =
 layer.dataProvider().identify(QgsPoint(x,y))

 TypeError:
 QgsRasterDataProvider.identify(QgsPoint, QgsRaster.IdentifyFormat,
 QgsRectangle theExtent=QgsRectangle(), int theWidth=0, int
 theHeight=0): not enough arguments

 I found at
 http://hub.qgis.org/wiki

Re: [Qgis-developer] get mean of pixel values within defined area around current mouse position

2013-08-02 Thread Otto Dassau
Hi,

I have a question to update the code I sent in a former below to QGIS 2.0.
Again I need the mean value, currently use:

vpoly = QgsVectorLayer(Polygon, pointbuffer, memory)
feature = QgsFeature()
feature.setGeometry(QgsGeometry.fromPoint(QgsPoint(3517601,5406205)).buffer(1,5))
provider = vpoly.dataProvider()
provider.addFeatures( [feature] )
vpoly.commitChanges()
stats = QgsZonalStatistics(vpoly,/path/to/corine2006_z0_test_gk3.tif)
stats.calculateStatistics(None)
allAttrs = provider.attributeIndexes()   
for feature in vpoly.getFeatures():
   for attr in feature.attributes():
  return attr

attr in this case is probably the sum as I can see from the results, but I
need the mean again, as below. 

For QGIS 1.8 k==0 is number of pixels, k==1 is sum, k==2 is mean, see below.
But something like return attr[2] doesn't work. It says TypeError: 'float'
object has no attribute 'getitem'. Maybe someone has an idea how to solve
this?

Thanks a lot

Otto


Am Wed, 17 Jul 2013 09:21:55 +0200
schrieb Otto Dassau das...@gbd-consult.de:

 Hi,
 
 I wanted to give a short feedback. Finally my solution for qgis 1.8 with
 some help from Anita was to create a buffer polygon around the point as a
 memory layer and calculated the mean value with QgsZonalStatistics. Here
 is the code I used, maybe useful for others:
 
 from qgis.analysis import QgsZonalStatistics
 from PyQt4.QtGui import *
 
 vpoly = QgsVectorLayer(Polygon, pointbuffer, memory)
 feature = QgsFeature()
 feature.setGeometry( 
 QgsGeometry.fromPoint(QgsPoint(3517601,5406205)).buffer(1,5))
 provider = vpoly.dataProvider()
 vpoly.startEditing()
 provider.addFeatures( [feature] ) 
 vpoly.commitChanges()
 stats=qgis.analysis.QgsZonalStatistics(vpoly,/path/to/rasterlayer.tif)
 stats.calculateStatistics(None)
 allAttrs = provider.attributeIndexes()
 provider.select(allAttrs)
 provider.nextFeature(feature)
 attrs = feature.attributeMap()
 for (k,attr) in attrs.iteritems():
   if k==2:
 
 QMessageBox.information(qgis.utils.iface.mainWindow(),'Info',attr.toString())
 
 Regards
 Otto
 
 Am Wed, 3 Jul 2013 09:36:45 +0200
 schrieb Otto Dassau das...@gbd-consult.de:
 
  Hi Fred,
  
  thanks for the hints, A and B sound interesting - PostGIS is not an
  option here. 
  
  One more question, because you already used these workarounds. What
  solution A or B should be more usable (faster) from your opinion, if I
  need to calculate the mean while moving the mouse over the map canvas?
  
  Regards
  Otto
  
  Am Tue, 2 Jul 2013 18:05:10 +0100
  schrieb Fred Lehodey leho...@gmail.com:
  
   Hi,
   
   Not sure it's the best way but I did something similar with these
   workarounds:
   
   A - with gdal:
   1 - the user click and you get your buffer. (already done)
   2 - use gdalwarp with -cutline and *-*crop_to_cutline options to
   extract a new raster. (python subprocess)
   3 - read the created raster in a numpy array to do all the statistics
   you need.
   
   B - with matplotlib:
   1 - with the buffer: create an array of the vertices
   2 - read the raster into another numpy array
   3 - use the points_inside_poly function of matplotlib lib to
   create a numpy mask.
   
   Not tried but postgis raster should do the job.
   
   Hth,
   Fred
   
   
   On Tue, Jul 2, 2013 at 1:12 PM, Otto Dassau das...@gbd-consult.de
   wrote:
   
Hi,
   
for a qgis 1.8 plugin I would like to query the mean of pixel values
of a raster layer within a defined buffer for the current mouse
position (not for
an existing point layer).
   
For the buffer it works:
   
...
feat.geometry().asPoint()
(3.5176e+06,5.4062e+06)
buff_geom = feat.geometry().buffer(1000, 5)
buff_geom.asPolygon() [[(3.5186e+06,5.4062e+06),
(3.51855e+06,5.4059e+06), (3.51841e+06,5.40562e+06),
(3.51819e+06,5.4054e+06), (3.51791e+06,5.40525e+06),
(3.5176e+06,5.4052e+06), (3.51729e+06,5.40525e+06),
(3.51701e+06,5.4054e+06),...]]
   
but now I try to find a solution to query the raster pixels within
the buffer zone and calculate the mean, but I don't know how and if
this is possible in QGIS 1.8 at all. I found QgsZonalStatistics, but
that doesn't work for my task.
   
Does anybody have a solution for this or a better idea, how to solve
this?
   
Thanks
   
Otto
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer
   
  
  
 
 


-- 
Geoinformatik Büro Dassau - http://www.gbd-consult.de
FOSSGIS consulting , training , support  and analysis
Ackerstrasse 144c  ,  D - 40233 Düsseldorf  , Germany
Tel: +49-(0)211-47468178 , Mobil: +49-(0)171-4687540

--
Community Advisor - QGIS Project Steering Committee
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] get mean of pixel values within defined area around current mouse position

2013-07-17 Thread Otto Dassau
Hi,

I wanted to give a short feedback. Finally my solution for qgis 1.8 with some
help from Anita was to create a buffer polygon around the point as a memory
layer and calculated the mean value with QgsZonalStatistics. Here is the
code I used, maybe useful for others:

from qgis.analysis import QgsZonalStatistics
from PyQt4.QtGui import *

vpoly = QgsVectorLayer(Polygon, pointbuffer, memory)
feature = QgsFeature()
feature.setGeometry( 
QgsGeometry.fromPoint(QgsPoint(3517601,5406205)).buffer(1,5))
provider = vpoly.dataProvider()
vpoly.startEditing()
provider.addFeatures( [feature] ) 
vpoly.commitChanges()
stats=qgis.analysis.QgsZonalStatistics(vpoly,/path/to/rasterlayer.tif)
stats.calculateStatistics(None)
allAttrs = provider.attributeIndexes()
provider.select(allAttrs)
provider.nextFeature(feature)
attrs = feature.attributeMap()
for (k,attr) in attrs.iteritems():
  if k==2:

QMessageBox.information(qgis.utils.iface.mainWindow(),'Info',attr.toString())

Regards
Otto

Am Wed, 3 Jul 2013 09:36:45 +0200
schrieb Otto Dassau das...@gbd-consult.de:

 Hi Fred,
 
 thanks for the hints, A and B sound interesting - PostGIS is not an option
 here. 
 
 One more question, because you already used these workarounds. What
 solution A or B should be more usable (faster) from your opinion, if I
 need to calculate the mean while moving the mouse over the map canvas?
 
 Regards
 Otto
 
 Am Tue, 2 Jul 2013 18:05:10 +0100
 schrieb Fred Lehodey leho...@gmail.com:
 
  Hi,
  
  Not sure it's the best way but I did something similar with these
  workarounds:
  
  A - with gdal:
  1 - the user click and you get your buffer. (already done)
  2 - use gdalwarp with -cutline and *-*crop_to_cutline options to
  extract a new raster. (python subprocess)
  3 - read the created raster in a numpy array to do all the statistics you
  need.
  
  B - with matplotlib:
  1 - with the buffer: create an array of the vertices
  2 - read the raster into another numpy array
  3 - use the points_inside_poly function of matplotlib lib to create a
  numpy mask.
  
  Not tried but postgis raster should do the job.
  
  Hth,
  Fred
  
  
  On Tue, Jul 2, 2013 at 1:12 PM, Otto Dassau das...@gbd-consult.de
  wrote:
  
   Hi,
  
   for a qgis 1.8 plugin I would like to query the mean of pixel values
   of a raster layer within a defined buffer for the current mouse
   position (not for
   an existing point layer).
  
   For the buffer it works:
  
   ...
   feat.geometry().asPoint()
   (3.5176e+06,5.4062e+06)
   buff_geom = feat.geometry().buffer(1000, 5)
   buff_geom.asPolygon() [[(3.5186e+06,5.4062e+06),
   (3.51855e+06,5.4059e+06), (3.51841e+06,5.40562e+06),
   (3.51819e+06,5.4054e+06), (3.51791e+06,5.40525e+06),
   (3.5176e+06,5.4052e+06), (3.51729e+06,5.40525e+06),
   (3.51701e+06,5.4054e+06),...]]
  
   but now I try to find a solution to query the raster pixels within the
   buffer zone and calculate the mean, but I don't know how and if this is
   possible in QGIS 1.8 at all. I found QgsZonalStatistics, but that
   doesn't work for my task.
  
   Does anybody have a solution for this or a better idea, how to solve
   this?
  
   Thanks
  
   Otto
   ___
   Qgis-developer mailing list
   Qgis-developer@lists.osgeo.org
   http://lists.osgeo.org/mailman/listinfo/qgis-developer
  
 
 


-- 
Geoinformatik Büro Dassau - http://www.gbd-consult.de
FOSSGIS consulting , training , support  and analysis
Ackerstrasse 144c  ,  D - 40233 Düsseldorf  , Germany
Tel: +49-(0)211-47468178 , Mobil: +49-(0)171-4687540

--
Community Advisor - QGIS Project Steering Committee
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] qgis-webclient - sample data 200M

2013-07-10 Thread Otto Dassau
Hi,

I just wanted to update my fork of the qgis-web-client from master and found
following error message:

Total 64 (delta 45), reused 0 (delta 0)
remote: Error code: 5e0226a6eeb7f2d80768c4e7996297dc
remote: warning: Error GH413: Large files detected.
remote: warning: See http://git.io/iEPt8g for more information.
remote: warning: File data/SR_50M.tif is 55.70 MB; this is larger than
GitHub's recommended maximum file size of 50 MB remote: error: File
data/HYP_50M_SR_W.tif is 166.94 MB; this exceeds GitHub's file size limit of
100 MB

Can I tell github to change the accepted file size or would it be possible
to use smaller test data? 

167M - HYP_50M_SR_W.tif
56M  - SR_50M.tif

Regards
Otto

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


Re: [Qgis-developer] qgis-webclient - sample data 200M

2013-07-10 Thread Otto Dassau
Hi Andreas,

for 50M to 100M you get a warning, but the HYP_50M_SR_W.tif is 166.94 MB and
that's too much. For both files I resampled output files from 0.03 to 0.08 
degree
pixel resolution. That is 4500 x 2250 instead of 10800, 5400 pixel. Still
sufficient I think.

Both would now be below 50M of size. Is that ok? Then I would commit the
changes.

Regards
Otto

Am Wed, 10 Jul 2013 12:09:47 +0200 schrieb Andreas Neumann
a.neum...@carto.net:

 Hi Otto,
 
 Thank you for pointing this out. Isn't this just a warning?
 
 If you have a good test project with smaller data to share I am happy to
 replace it with a smaller project.
 
 I just did not have the time to work on the sample project.
 
 Anyway - the file could be checked out by hand or it can just be ignored.
 
 Andreas
 
 Am 10.07.2013 11:49, schrieb Otto Dassau:
  Hi,
  
  I just wanted to update my fork of the qgis-web-client from master and
  found following error message:
  
  Total 64 (delta 45), reused 0 (delta 0)
  remote: Error code: 5e0226a6eeb7f2d80768c4e7996297dc
  remote: warning: Error GH413: Large files detected.
  remote: warning: See http://git.io/iEPt8g for more information.
  remote: warning: File data/SR_50M.tif is 55.70 MB; this is larger than
  GitHub's recommended maximum file size of 50 MB remote: error: File
  data/HYP_50M_SR_W.tif is 166.94 MB; this exceeds GitHub's file size
  limit of 100 MB
  
  Can I tell github to change the accepted file size or would it be
  possible to use smaller test data? 
  
  167M - HYP_50M_SR_W.tif
  56M  - SR_50M.tif
  
  Regards
  Otto
  
  ___
  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


-- 
Geoinformatik Büro Dassau - http://www.gbd-consult.de
FOSSGIS consulting , training , support  and analysis
Ackerstrasse 144c  ,  D - 40233 Düsseldorf  , Germany
Tel: +49-(0)211-47468178 , Mobil: +49-(0)171-4687540

--
Community Advisor - QGIS Project Steering Committee
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Building QGIS 1.8 in openSUSE 12.3

2013-07-05 Thread Otto Dassau
Hi Nikos,

why don't you use the packages from application:geo repository:
http://hub.qgis.org/projects/quantum-gis/wiki/Download#24-openSUSE

And if you need to compile, you can take a look at the spec file here:
https://build.opensuse.org/package/view_file/Application:Geo/qgis?expand=1file=qgis.spec

Maybe this helps

Regards
Otto

Am Thu, 04 Jul 2013 23:51:27 +0300
schrieb n...@nikosalexandris.net:

 Hi QGIS devs!
 
 I recently switch (and still am in a testing phase) from (K)Ubuntu to
 openSUSE (12.3).  Feels great so far, stable -- very.
 
 I am trying to  compile QGIS 1.8 from source but I have some difficulties
 as I am not sure how similar the process is comparing to (K)Ubuntu
 (Debian-based) Linux.
 
 
 I think I have (already) installed build dependencies with
 
 sudo zypper si -d qgis
 
 Reading installed packages...
 Loading repository data...
 Resolving package dependencies...
 
 Nothing to do.
 
 
 
 Next, I have instructed in /etc/ld.so.conf.d/osgeo.conf
 
 /osgeo/src/Quantum-GIS/build/output/lib/
 
 
 
 The configuration (ccmake) goes fine and then, the compilation fails:
 
 Linking CXX shared library ../../output/lib/libqgis_gui.so
 [ 47%] Built target qgis_gui
 make: *** [all] Error 2
 
 
 
 The file mentioned above exists in
 
 /osgeo/src/Quantum-GIS/build/output/lib/libqgis_gui.so
 
 
 
 What is next to do/search in order to get qgis compiled?
 
 Thanks, Nikos
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer


-- 
Geoinformatik Büro Dassau - http://www.gbd-consult.de
FOSSGIS consulting , training , support  and analysis
Ackerstrasse 144c  ,  D - 40233 Düsseldorf  , Germany
Tel: +49-(0)211-47468178 , Mobil: +49-(0)171-4687540

--
Community Advisor - QGIS Project Steering Committee
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] get mean of pixel values within defined area around current mouse position

2013-07-03 Thread Otto Dassau
Hi Fred,

thanks for the hints, A and B sound interesting - PostGIS is not an option
here. 

One more question, because you already used these workarounds. What solution
A or B should be more usable (faster) from your opinion, if I need to
calculate the mean while moving the mouse over the map canvas?

Regards
Otto

Am Tue, 2 Jul 2013 18:05:10 +0100
schrieb Fred Lehodey leho...@gmail.com:

 Hi,
 
 Not sure it's the best way but I did something similar with these
 workarounds:
 
 A - with gdal:
 1 - the user click and you get your buffer. (already done)
 2 - use gdalwarp with -cutline and *-*crop_to_cutline options to
 extract a new raster. (python subprocess)
 3 - read the created raster in a numpy array to do all the statistics you
 need.
 
 B - with matplotlib:
 1 - with the buffer: create an array of the vertices
 2 - read the raster into another numpy array
 3 - use the points_inside_poly function of matplotlib lib to create a
 numpy mask.
 
 Not tried but postgis raster should do the job.
 
 Hth,
 Fred
 
 
 On Tue, Jul 2, 2013 at 1:12 PM, Otto Dassau das...@gbd-consult.de wrote:
 
  Hi,
 
  for a qgis 1.8 plugin I would like to query the mean of pixel values of a
  raster layer within a defined buffer for the current mouse position (not
  for
  an existing point layer).
 
  For the buffer it works:
 
  ...
  feat.geometry().asPoint()
  (3.5176e+06,5.4062e+06)
  buff_geom = feat.geometry().buffer(1000, 5)
  buff_geom.asPolygon() [[(3.5186e+06,5.4062e+06),
  (3.51855e+06,5.4059e+06), (3.51841e+06,5.40562e+06),
  (3.51819e+06,5.4054e+06), (3.51791e+06,5.40525e+06),
  (3.5176e+06,5.4052e+06), (3.51729e+06,5.40525e+06),
  (3.51701e+06,5.4054e+06),...]]
 
  but now I try to find a solution to query the raster pixels within the
  buffer zone and calculate the mean, but I don't know how and if this is
  possible in QGIS 1.8 at all. I found QgsZonalStatistics, but that doesn't
  work for my task.
 
  Does anybody have a solution for this or a better idea, how to solve
  this?
 
  Thanks
 
  Otto
  ___
  Qgis-developer mailing list
  Qgis-developer@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-developer
 


-- 
Geoinformatik Büro Dassau - http://www.gbd-consult.de
FOSSGIS consulting , training , support  and analysis
Ackerstrasse 144c  ,  D - 40233 Düsseldorf  , Germany
Tel: +49-(0)211-47468178 , Mobil: +49-(0)171-4687540

--
Community Advisor - QGIS Project Steering Committee
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] get mean of pixel values within defined area around current mouse position

2013-07-02 Thread Otto Dassau
Hi,

for a qgis 1.8 plugin I would like to query the mean of pixel values of a
raster layer within a defined buffer for the current mouse position (not for
an existing point layer).

For the buffer it works:

... 
feat.geometry().asPoint() 
(3.5176e+06,5.4062e+06)
buff_geom = feat.geometry().buffer(1000, 5)
buff_geom.asPolygon() [[(3.5186e+06,5.4062e+06), (3.51855e+06,5.4059e+06),
(3.51841e+06,5.40562e+06), (3.51819e+06,5.4054e+06),
(3.51791e+06,5.40525e+06), (3.5176e+06,5.4052e+06),
(3.51729e+06,5.40525e+06), (3.51701e+06,5.4054e+06),...]]

but now I try to find a solution to query the raster pixels within the
buffer zone and calculate the mean, but I don't know how and if this is
possible in QGIS 1.8 at all. I found QgsZonalStatistics, but that doesn't
work for my task.

Does anybody have a solution for this or a better idea, how to solve this?

Thanks 

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


Re: [Qgis-developer] QGIS crashes on any file-open operation

2013-06-27 Thread Otto Dassau
Hi Bernhard,

yes, the package I extracted from master on 24 June seems to be broken. I
updated from trunk today, it should be available soon and hopefully work
again.

Regards
Otto

Am Thu, 27 Jun 2013 16:21:23 +0200
schrieb Bernhard Ströbl bernhard.stro...@jena.de:

 Hi,
 
 when trying to use any of the open-file buttons (e.g. open project) or 
 trying to browse for a file after clicking load vector QGIS crashes 
 (loading a vector from the browser works ok).
 
 This is QGIS master (59222a0) on OpenSuse 12.2 (64 bit).
 
 anyone confirms?
 
 Bernhard

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


Re: [Qgis-developer] QGIS master packages for opensuse

2013-06-25 Thread Otto Dassau
Hi,

you cannot install them in parallel. You need to decide, what QGIS version to
use.

Regards
Otto

Am Mon, 24 Jun 2013 19:41:13 +0300
schrieb Kari Salovaara kari.salova...@pp1.inet.fi:

 Hi,
 
 this is great, thanks.
 I've only one problem - I cannot have Release version 1.8.0-9.5 with 
 QGIS Master version, there will be error in qgis-plugin-grass.
 Or what will happen if I ignore some of its depencies ?
 It would be really nice to have running version when translating.
 
 Regards,
 Kari
 
 
 On 24.06.2013 17:57, Otto Dassau wrote:
  Hi,
 
  for testing and bug hunting I added QGIS master packages to the
  Application:Geo repository for opensuse. You can install them as qgis2
  package. They are not build automatically, but I will try to update
  regularly.
 
  http://hub.qgis.org/wiki/quantum-gis/Download#24-openSUSE
 
  Regards
  Otto
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] QGIS master packages for opensuse

2013-06-24 Thread Otto Dassau
Hi,

for testing and bug hunting I added QGIS master packages to the
Application:Geo repository for opensuse. You can install them as qgis2
package. They are not build automatically, but I will try to update
regularly.

http://hub.qgis.org/wiki/quantum-gis/Download#24-openSUSE

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


Re: [Qgis-developer] Packt

2013-06-19 Thread Otto Dassau
Am Wed, 19 Jun 2013 07:04:39 -0700
schrieb Gary Sherman gsher...@geoapt.com:

 
 On Jun 19, 2013, at 4:23 AM, Paolo Cavallini cavall...@faunalia.it wrote:
 
  Hi all.
  Many of us have been contacted by this publisher, to author a QGIS book.
  While this interest is obviously a sign of QGIS success, it seems quite
  strange that so many people are asked the same thing. I asked
  clarifications to the publisher, and got no reply.
  All the best.
 
 If you really want to write a book on QGIS, talk to me :)
 Locate Press can give you better terms than most publishers.
 
 -gary

... or join the qgis documentation team :)

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


Re: [Qgis-developer] changing srs.db with coordinate system updater Plugin

2013-05-14 Thread Otto Dassau
Hi,

together with Diethard Jansen we found that the plugin we wrote seems to
work. But if we use the plugin and the crs is updated in srs.db the new
parameters are not used. But the parameters are used, if I create a user
defined crs.
 
Maybe I am missing something? Does QGIS save/use crs information somewhere
else?

Any help/information about this is welcome.

Regards
Otto

Am Mon, 13 May 2013 10:43:14 +0200
schrieb Otto Dassau das...@gbd-consult.de:

 Hi,
 
 for QGIS 1.8 I tried to update the srs.db file
 in /usr/share/qgis/ressources/ with the coordinate system updater Plugin. I
 see the changed crs in tbl_srs and the former original crs is stored in
 srids4restore - so the plugin seems to work. 
 
 The problem is, that the projection according to the new parameters does
 not work, although I can see the parameters in QGIS. QGIS still seems to
 use the former parameters. 
 
 If I define a user defined projection in QGIS with the new parameters, the
 layer is projected with the new parameters.
 
 Does anybody has a solution for this? 
 
 Thanks 
 Otto
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] We need help with the new bootstrap website

2013-04-30 Thread Otto Dassau
Dear Community,

at the hackfest in Valmiera we started to plan the new QGIS website based on
bootstrap and there is a group of people who would like to help/assist
working on it. 

What we now need to create the new website is someone who is willing to take
the lead for the web project. Someone who has already knowledge with
sphinx/bootstrap and knows how to proceed and who can implement it and
coordinate the group of volunteers to assist.

If you think you are the right person and have some time to spend for the
new website, please tell us. Any help is appreciated.

Kind regards
Otto

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


Re: [Qgis-developer] [Qgis-user] [Qgis-psc] Logo

2013-04-25 Thread Otto Dassau
Hi,

I would also like to keep it abstract and only Qgis as text in the logo and
not Quantum GIS. I like the idea of #33. It looks still like an evolution of
our current logo with arrow.

http://99designs.de/logo-design/contests/qgis-needs-logo-210397/entries/33

But I would also like to see #33 more abstract and less colourful as in #65.

http://99designs.de/logo-design/contests/qgis-needs-logo-210397/entries/65

So my favourite would be a mixture between #33 and #65 and only with QGIS
and not Quantum GIS as text.

Regards
Otto

Am Thu, 25 Apr 2013 09:19:02 +0200
schrieb Tim Sutton li...@linfiniti.com:

 Hi
 
 On Thu, Apr 25, 2013 at 9:05 AM, Noli Sicad nsi...@gmail.com wrote:
  @Andyzendy #50 is good. However, would it be possible to have new
  design based on #50a (e.g. #50a)  with a globe inside Q or a raster +
  vector graphics inside the Q.
 
 For me -1 to have a globe in it - I would prefer it more abstract.
 Also she should remove the 'uantum' from the logo so it just says
 'QGIS'.
 
 Regards
 
 Tim
 
  Thanks, Noli
 
 
 
  On 4/25/13, Nathan Woodrow madman...@gmail.com wrote:
  Hey all,
 
  The logo comp has now moved into the final rounds and we have to pick at
  winner out the designers left. The designs there are not final yet and I
  will be giving feedback to the designers to iterate their designs into
  something that we like. I have updated the design brief to include the
  community aspect and that it must also work as a desktop icon.
 
  I have just sent of an email to 99designs to get the final round
  extended by another 7 days in order to collect more designs and have
  time for people to view and comment.   If there are any variations of
  the designs. or a new direction, please post it here and I will update
  the comp with those details.
 
  The round with the designs is here
  http://99designs.com.au/logo-design/contests/qgis-needs-logo-210397.
 
  REMEMBER: These designs are not final until the last minute so we must
  get feedback to the designers if we would like to see something
  different.
 
  Regards,
  Nathan
 
 
  On Sun, Apr 21, 2013 at 6:11 AM, Tim Sutton t...@linfiniti.com wrote:
 
  Hi
 
 
  On Sat, Apr 20, 2013 at 11:41 PM, Anita Graser anitagra...@gmx.at
  wrote:
 
  Hi,
 
  http://99designs.com/logo-**design/contests/qgis-needs-**
  logo-210397/entries/267http://99designs.com/logo-design/contests/qgis-needs-logo-210397/entries/267
 
  is a little too similar to
 
  http://www.laudontech.com/
 
 
  Hmm you are right. Its a pity as that was my favourite.
 
  T
 
  for my taste.
 
  Best wishes,
  Anita

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


Re: [Qgis-developer] qgis-webclient - weblinks from features and base layers

2013-04-24 Thread Otto Dassau
Hi Bernhard,

now a class=popupLink href=http://www.qgis.org;QGIS Homepage/a also
works.

Thanks a lot
Otto

Am Tue, 23 Apr 2013 15:56:41 +0200
schrieb Otto Dassau das...@gbd-consult.de:

 Hi Bernhard,
 
 thanks a lot for this, I will test it, once it is approved.
 
 Regards
 Otto
 
 Am Tue, 23 Apr 2013 15:50:45 +0200
 schrieb Bernhard Ströbl bernhard.stro...@jena.de:
 
  Otto,
  
  I made a pull request fixing this issue. If a url is detected 
  (http://something) in an attribute it is checked whether there is an 
  opening a - tag and only if this is false the tag is automagically 
  created. So if you store a complete html-formatted link in your 
  attribute it should be displayed as stored.
  
  Bernhard
  
  Am 23.04.2013 14:34, schrieb Otto Dassau:
   Hi Bernhard,
  
   yes, that doesn't work properly.
  
   a class=popupLink href=http://www.qgis.org;QGIS Homepage/a
  
   ends up in a string (QGIS Homepage' target=_blankQGIS Homepage),
   where the second link (QGIS Homepage) works and the first one is wrong.
   So that doesn't work well.
  
   Buta href=http://www.qgis.orgQGIS Homepage/a  is fine.
  
   Regards
   Otto
  
   Am Tue, 23 Apr 2013 13:37:00 +0200
   schrieb Bernhard Ströblbernhard.stro...@jena.de:
  
   Hi Otto,
  
   you are right. This won't work. The automatic url detection is for
   simpler cases where users store a pure url in a field. This url is
   detected and displayed as a link without any html writing necessary.
   So if you want to individually format a complete link with html tags
   you may do it as you showed. If you do
   a class=popupLink  the link gets styled as defined in
   popup.css. I cannot test currently but I think that you might get
   anothera  tag around your link. Is that true?
  
   Bernhard
  
   Am 23.04.2013 12:47, schrieb Otto Dassau:
   Hi Bernhard,
  
   thanks for the hint, but how would that work in pratice, if I don't
   want to show the complete link but a description?
  
   At the moment to display QGIS Homepage I use:
  
   a href=http://www.qgis.orgQGIS Homepage/a
  
   Regards
   Otto
  
   Am Tue, 23 Apr 2013 12:26:27 +0200
   schrieb Bernhard Ströblbernhard.stro...@jena.de:
  
   Hi Otto,
  
   actually this works but is a bit outdated. If you are using the
   latest webclient with the popups you should be able to simply store
   an URL in a field and qwc automgically detects it and forms
   thea-tag around it so it becomes a clickable link.
  
   Bernhard
  
   Am 23.04.2013 09:43, schrieb l...@gis3w.it:
   Hi Otto
  
   you can see the replay of Bernard Stroebl about this:
  
   http://lists.osgeo.org/pipermail/qgis-user/2012-October/019798.html
  
   Regards
   Leonardo
  
  
   On Tue, 23 Apr 2013 09:25:23 +0200, Otto
   Dassaudas...@gbd-consult.de wrote:
   Hi,
  
   is it possible to have clickable web links from features in the
   qgis webclient? And if yes, would I need qgis master to use it?
  
   And another question. I saw that e.g. qgiscloud allows to choose
   base layers
   from google, bing, ... with qgis webclient. This does not seem to
   be
   part
   of the official repository in github - right? Is it planned to
   integrate
   this functionality or is somebody already working on it?
  
   I found several mailings but not really a solution or clear hint.
  
   Regards
   Otto
  
 
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer


-- 
Geoinformatik Büro Dassau - http://www.gbd-consult.de
FOSSGIS consulting , training , support  and analysis
Ackerstrasse 144c  ,  D - 40233 Düsseldorf  , Germany
Tel: +49-(0)211-47468178 , Mobil: +49-(0)171-4687540

--
Community Advisor - QGIS Project Steering Committee
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] valuetool plugin but with average value by radius ?

2013-04-24 Thread Otto Dassau
Hi,

I am working with the valuetool plugin and would now like to get the
average raster value around the mouse position for a given radius. Is there
already a solution in another plugin for that or does anybody has an idea how
to solve this with pyqgis? 

Thanks a lot
Otto

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


[Qgis-developer] update layer list in python plugin

2013-04-24 Thread Otto Dassau
Hi,

how is it possible to update the list of available layers in a python plugin
automatically, when I add or remove layers from QGIS legend?

To load the layers I use QgsMapLayerRegistry

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


[Qgis-developer] qgis-webclient - weblinks from features and base layers

2013-04-23 Thread Otto Dassau
Hi,

is it possible to have clickable web links from features in the qgis
webclient? And if yes, would I need qgis master to use it?

And another question. I saw that e.g. qgiscloud allows to choose base layers
from google, bing, ... with qgis webclient. This does not seem to be part
of the official repository in github - right? Is it planned to integrate
this functionality or is somebody already working on it?

I found several mailings but not really a solution or clear hint.

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


Re: [Qgis-developer] qgis-webclient - weblinks from features and base layers

2013-04-23 Thread Otto Dassau
Hi Leonardo,

thanks! That works perfectly... already with 1.8.

Regards
Otto

Am Tue, 23 Apr 2013 09:43:50 +0200
schrieb l...@gis3w.it:

 Hi Otto
 
 you can see the replay of Bernard Stroebl about this:
 
 http://lists.osgeo.org/pipermail/qgis-user/2012-October/019798.html
 
 Regards
 Leonardo
 
 
 On Tue, 23 Apr 2013 09:25:23 +0200, Otto Dassau das...@gbd-consult.de
 wrote:
  Hi,
  
  is it possible to have clickable web links from features in the qgis
  webclient? And if yes, would I need qgis master to use it?
  
  And another question. I saw that e.g. qgiscloud allows to choose base
  layers
  from google, bing, ... with qgis webclient. This does not seem to be
 part
  of the official repository in github - right? Is it planned to
 integrate
  this functionality or is somebody already working on it?
  
  I found several mailings but not really a solution or clear hint.
  
  Regards
  Otto
  ___
  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] qgis-webclient - weblinks from features and base layers

2013-04-23 Thread Otto Dassau
Hi Bernhard,

thanks for the hint, but how would that work in pratice, if I don't want to
show the complete link but a description?

At the moment to display QGIS Homepage I use:

a href=http://www.qgis.orgQGIS Homepage/a

Regards
Otto

Am Tue, 23 Apr 2013 12:26:27 +0200
schrieb Bernhard Ströbl bernhard.stro...@jena.de:

 Hi Otto,
 
 actually this works but is a bit outdated. If you are using the latest 
 webclient with the popups you should be able to simply store an URL in a 
 field and qwc automgically detects it and forms the a-tag around it so 
 it becomes a clickable link.
 
 Bernhard
 
 Am 23.04.2013 09:43, schrieb l...@gis3w.it:
  Hi Otto
 
  you can see the replay of Bernard Stroebl about this:
 
  http://lists.osgeo.org/pipermail/qgis-user/2012-October/019798.html
 
  Regards
  Leonardo
 
 
  On Tue, 23 Apr 2013 09:25:23 +0200, Otto Dassaudas...@gbd-consult.de
  wrote:
  Hi,
 
  is it possible to have clickable web links from features in the qgis
  webclient? And if yes, would I need qgis master to use it?
 
  And another question. I saw that e.g. qgiscloud allows to choose base
  layers
  from google, bing, ... with qgis webclient. This does not seem to be
  part
  of the official repository in github - right? Is it planned to
  integrate
  this functionality or is somebody already working on it?
 
  I found several mailings but not really a solution or clear hint.
 
  Regards
  Otto

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


Re: [Qgis-developer] qgis-webclient - weblinks from features and base layers

2013-04-23 Thread Otto Dassau
Hi Bernhard,

yes, that doesn't work properly. 

a class=popupLink href=http://www.qgis.org;QGIS Homepage/a

ends up in a string (QGIS Homepage' target=_blankQGIS Homepage), where
the second link (QGIS Homepage) works and the first one is wrong. So that
doesn't work well.

But a href=http://www.qgis.orgQGIS Homepage/a is fine.

Regards
Otto

Am Tue, 23 Apr 2013 13:37:00 +0200
schrieb Bernhard Ströbl bernhard.stro...@jena.de:

 Hi Otto,
 
 you are right. This won't work. The automatic url detection is for 
 simpler cases where users store a pure url in a field. This url is 
 detected and displayed as a link without any html writing necessary.
 So if you want to individually format a complete link with html tags you 
 may do it as you showed. If you do
 a class=popupLink  the link gets styled as defined in popup.css.
 I cannot test currently but I think that you might get another a tag 
 around your link. Is that true?

 Bernhard
 
 Am 23.04.2013 12:47, schrieb Otto Dassau:
  Hi Bernhard,
 
  thanks for the hint, but how would that work in pratice, if I don't want
  to show the complete link but a description?
 
  At the moment to display QGIS Homepage I use:
 
  a href=http://www.qgis.orgQGIS Homepage/a
 
  Regards
  Otto
 
  Am Tue, 23 Apr 2013 12:26:27 +0200
  schrieb Bernhard Ströblbernhard.stro...@jena.de:
 
  Hi Otto,
 
  actually this works but is a bit outdated. If you are using the latest
  webclient with the popups you should be able to simply store an URL in a
  field and qwc automgically detects it and forms thea-tag around it so
  it becomes a clickable link.
 
  Bernhard
 
  Am 23.04.2013 09:43, schrieb l...@gis3w.it:
  Hi Otto
 
  you can see the replay of Bernard Stroebl about this:
 
  http://lists.osgeo.org/pipermail/qgis-user/2012-October/019798.html
 
  Regards
  Leonardo
 
 
  On Tue, 23 Apr 2013 09:25:23 +0200, Otto Dassaudas...@gbd-consult.de
  wrote:
  Hi,
 
  is it possible to have clickable web links from features in the qgis
  webclient? And if yes, would I need qgis master to use it?
 
  And another question. I saw that e.g. qgiscloud allows to choose base
  layers
  from google, bing, ... with qgis webclient. This does not seem to be
  part
  of the official repository in github - right? Is it planned to
  integrate
  this functionality or is somebody already working on it?
 
  I found several mailings but not really a solution or clear hint.
 
  Regards
  Otto
 
 
 
  __ Information from ESET Mail Security, version of virus
  signature database 8256 (20130423) __
 
  The message was checked by ESET Mail Security.
  http://www.eset.com
 
 
 
 
 
 __ Information from ESET Mail Security, version of virus signature
 database 8256 (20130423) __
 
 The message was checked by ESET Mail Security.
 http://www.eset.com
 
 


-- 
Geoinformatik Büro Dassau - http://www.gbd-consult.de
FOSSGIS consulting , training , support  and analysis
Ackerstrasse 144c  ,  D - 40233 Düsseldorf  , Germany
Tel: +49-(0)211-47468178 , Mobil: +49-(0)171-4687540

--
Community Advisor - QGIS Project Steering Committee
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] qgis-webclient - weblinks from features and base layers

2013-04-23 Thread Otto Dassau
Hi Bernhard,

thanks a lot for this, I will test it, once it is approved.

Regards
Otto

Am Tue, 23 Apr 2013 15:50:45 +0200
schrieb Bernhard Ströbl bernhard.stro...@jena.de:

 Otto,
 
 I made a pull request fixing this issue. If a url is detected 
 (http://something) in an attribute it is checked whether there is an 
 opening a - tag and only if this is false the tag is automagically 
 created. So if you store a complete html-formatted link in your 
 attribute it should be displayed as stored.
 
 Bernhard
 
 Am 23.04.2013 14:34, schrieb Otto Dassau:
  Hi Bernhard,
 
  yes, that doesn't work properly.
 
  a class=popupLink href=http://www.qgis.org;QGIS Homepage/a
 
  ends up in a string (QGIS Homepage' target=_blankQGIS Homepage),
  where the second link (QGIS Homepage) works and the first one is wrong.
  So that doesn't work well.
 
  Buta href=http://www.qgis.orgQGIS Homepage/a  is fine.
 
  Regards
  Otto
 
  Am Tue, 23 Apr 2013 13:37:00 +0200
  schrieb Bernhard Ströblbernhard.stro...@jena.de:
 
  Hi Otto,
 
  you are right. This won't work. The automatic url detection is for
  simpler cases where users store a pure url in a field. This url is
  detected and displayed as a link without any html writing necessary.
  So if you want to individually format a complete link with html tags you
  may do it as you showed. If you do
  a class=popupLink  the link gets styled as defined in popup.css.
  I cannot test currently but I think that you might get anothera  tag
  around your link. Is that true?
 
  Bernhard
 
  Am 23.04.2013 12:47, schrieb Otto Dassau:
  Hi Bernhard,
 
  thanks for the hint, but how would that work in pratice, if I don't
  want to show the complete link but a description?
 
  At the moment to display QGIS Homepage I use:
 
  a href=http://www.qgis.orgQGIS Homepage/a
 
  Regards
  Otto
 
  Am Tue, 23 Apr 2013 12:26:27 +0200
  schrieb Bernhard Ströblbernhard.stro...@jena.de:
 
  Hi Otto,
 
  actually this works but is a bit outdated. If you are using the latest
  webclient with the popups you should be able to simply store an URL
  in a field and qwc automgically detects it and forms thea-tag
  around it so it becomes a clickable link.
 
  Bernhard
 
  Am 23.04.2013 09:43, schrieb l...@gis3w.it:
  Hi Otto
 
  you can see the replay of Bernard Stroebl about this:
 
  http://lists.osgeo.org/pipermail/qgis-user/2012-October/019798.html
 
  Regards
  Leonardo
 
 
  On Tue, 23 Apr 2013 09:25:23 +0200, Otto
  Dassaudas...@gbd-consult.de wrote:
  Hi,
 
  is it possible to have clickable web links from features in the qgis
  webclient? And if yes, would I need qgis master to use it?
 
  And another question. I saw that e.g. qgiscloud allows to choose
  base layers
  from google, bing, ... with qgis webclient. This does not seem to be
  part
  of the official repository in github - right? Is it planned to
  integrate
  this functionality or is somebody already working on it?
 
  I found several mailings but not really a solution or clear hint.
 
  Regards
  Otto
 

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


Re: [Qgis-developer] Thank you all for the great HF!!

2013-04-16 Thread Otto Dassau
Hi,

yes, we definitely should and will write about the activities. Whose blog can
we use? Paolo, can we use yours from Faunalia?

As for Essen I prepared a Result section in the wiki. Can everybody write
some notes about what people did during the hackfest. I already started for
things I know...

http://hub.qgis.org/wiki/quantum-gis/9_QGIS_Developer_Meeting_in_Valmiera_2013#Results

Pēteris can you send me the pictures you took from the group? And all
others, if you have some nice photos of the event, please send it to me...

Regards
Otto

Am Tue, 16 Apr 2013 00:19:16 +0700
schrieb Tim Sutton li...@linfiniti.com:

 Hi
 
 Could someone write up a blog post or similar highlighting the key
 activities that happened at the hackfest? Us poor souls who were not
 there are starved for details :-)
 
 Regards
 
 Tim
 
 On Mon, Apr 15, 2013 at 3:26 PM, Victor Olaya vola...@gmail.com wrote:
  I agree 100%. Awesome hackfest, and great organization. You did a
  great job organizing this. I am looking forward to participating in
  the next hackfest :-)
 
  Cheers
  Victor
 
  2013/4/15 Werner Macho werner.ma...@gmail.com:
  Hi!
 
  I have to say .. Same from me
  Thanks for the great Hackfest and the nice discussions - I think we all
  did a huge step forward in the right direction.
  It was greatly organized and I had a lot of fun finding my way home with
  Radim in the night. :)
  Special thanks to Matthias for his prompt reaction on every problem I
  found in his branch :)
  And as Alessandro already said .. Sorry for not saying goodbye to
  everybody .. I also had to leave early.
  Somebody kept me drinking beer .. You know who you are.
 
  Hope to see you all next time!
 
  Just to be sure that work on the new webpage will not get lost I attach
  the 3 main topics we decided in Freemind format to be further
  discussed and - converted to a nice looking webpage.
 
  regards
  Werner
 
 
  On Mon, Apr 15, 2013 at 9:20 AM, Alessandro Pasotti apaso...@gmail.com
  wrote:
 
  Hi,
 
  I wish to thank everybody for the great organization, it was nice to
  meet you again, I'm just sorry I couldn't greet everybody of you
  before leaving (too much beer and too late ;)
 
 
  --
  Alessandro Pasotti
  w3:   www.itopen.it
 
  ___
  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
 
 
 


-- 
Geoinformatik Büro Dassau - http://www.gbd-consult.de
FOSSGIS consulting , training , support  and analysis
Ackerstrasse 144c  ,  D - 40233 Düsseldorf  , Germany
Tel: +49-(0)211-47468178 , Mobil: +49-(0)171-4687540

--
Community Advisor - QGIS Project Steering Committee
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Website about the activities at the developer meeting in Valmiera

2013-04-16 Thread Otto Dassau
Dear Community,

as you can see from the comments on the mailing lists, the ninth hackfest in
Valmiera was a great success and very well organized by the latvian team
from SuGIS - Maris Nartiss, Peteris Bruns and Raitis Berzins. 

On behalf of the PSC I would like to thank all participants, organizers,
sponsors and donors who spent their time, energy and money to make QGIS
again a little better. 

I added a webpage with information and further links about the people, their
activities and photos from the Valmiera event here:

http://www.qgis.org/en/developer-meetings/valmiera-42013.html

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


Re: [Qgis-developer] [Qgis-community-team] New website: update

2013-04-13 Thread Otto Dassau
Hi,

I adapted the scripts on the server. According to the cronjob the new
documentation page ist now build 3 times a day.

All web and doc content is build from master branch and additionally the
docs and translations from 1.8 is added.

You find the current status here:

QGIS master doc repo with future website:
http://docs.qgis.org  = links to http://docs.qgis.org/2.0/html/en/

QGIS 1.8 documentation:
http://docs.qgis.org/1.8 = links to http://docs.qgis.org/1.8/html/en/

Regards
Otto

Am Fri, 12 Apr 2013 14:46:41 +0200
schrieb Otto Dassau das...@gbd-consult.de:

 Hi,
 
 fine, i will have a look at the post_translate and pre_translate scripts.
 
 Regards
 Otto
 
 Am Fri, 12 Apr 2013 14:37:01 +0200
 schrieb Paolo Cavallini cavall...@faunalia.it:
 
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
  
  Hi all.
  Back from a short meeting with Otto, Werner, Raynold, and Alessandro.
  Main conclusions:
  * we should move all the nerdy stuff to another section of the site,
  quite separate (but readily accessible) from it
  * as a consequence, the user website should be even leaner and
  simpler, listing only the info really essential for the users
  * we need to improve the current script to build up the website based
  on current GH, so everybody can see and comment the results
  * we need a suitable theme, but we can publish the pages with the
  current one until we find a better one
  * we *need help* on a small but important issue: adding links to the
  table of content, in the form:
  
  .. toctree::
  :maxdepth: 2
  :hidden:
  
  website/download
  docs/user_manual/index
  docs/gentle_gis_introduction/index
  http://plugins.qgis.org
  
  works, but the resulting link has a label None. Does anybody know
  how to add a proper label to it? I tried with the normal rst syntax
  `Plugins http://plugins.qgis.org`_ but it does not work.
  This is a stumbling block for the publication.
  * in the meantime, we are migrating content.
  
  Thanks to all.
 ___
 Qgis-community-team mailing list
 qgis-community-t...@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-community-team


-- 
Geoinformatik Büro Dassau - http://www.gbd-consult.de
FOSSGIS consulting , training , support  and analysis
Ackerstrasse 144c  ,  D - 40233 Düsseldorf ,  Germany
Tel: +49-(0)211-47468178 , Mobile: +49-(0)171-4687540

--
Community Advisor - QGIS Project Steering Committee
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] [Qgis-community-team] New website: update

2013-04-13 Thread Otto Dassau
Hi Richard,

Am Sat, 13 Apr 2013 10:59:41 +0200
schrieb Richard Duivenvoorde rich...@duif.net:

 On 13-04-13 10:09, Otto Dassau wrote:
  Hi,
 
  I adapted the scripts on the server. According to the cronjob the new
  documentation page ist now build 3 times a day.
 
  All web and doc content is build from master branch and additionally the
  docs and translations from 1.8 is added.
 
 Hi Otto,
 
 great, thanks!
 
 I've not been looking in the scripts, but from the url's it seems that 
 the 1.8 and the 2.0 are full copies of the Documentation tree.
 
 While I thought, that only the Manual (and probably the Python Cookbook) 
 would be 'versioned'. The rest of the website and docs will probably not 
 change during a version bump?

the website stuff were just dummies in the 1.8 branch, I removed them so
with the next build we will only have the docs manual and PyQGIS Coobook
available. And maybe even the Cookbook could be removed?

 Am I right in this?
 If not, it will be more work for website translators to keep up with 
 every version.
 
 (by the way, because of this viewpoint I thought it would be easier to 
 have just one 'tree' in github)

If you look at the script on the server I currently use 2 clones, build them
seperately and copy things we need from the 1.8 clone into the output folder
of the master clone. This makes it quite flexible, if we want to decide what
to show on the website and easy to handle.

And therefore it was not necessary to make many changes to the pre/post
translate scripts, which are not only used on the server but also locally by
doc writers and translators. 

Instead I mostly adapted the build_qgis-docs.sh script on the server.

If you have another or better solution, we can improve it of course.

 Regards,
 
 Richard Duivenvoorde

Regards
Otto

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


Re: [Qgis-developer] [Qgis-community-team] New website: update

2013-04-12 Thread Otto Dassau
Hi,

fine, i will have a look at the post_translate and pre_translate scripts.

Regards
Otto

Am Fri, 12 Apr 2013 14:37:01 +0200
schrieb Paolo Cavallini cavall...@faunalia.it:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi all.
 Back from a short meeting with Otto, Werner, Raynold, and Alessandro.
 Main conclusions:
 * we should move all the nerdy stuff to another section of the site,
 quite separate (but readily accessible) from it
 * as a consequence, the user website should be even leaner and
 simpler, listing only the info really essential for the users
 * we need to improve the current script to build up the website based
 on current GH, so everybody can see and comment the results
 * we need a suitable theme, but we can publish the pages with the
 current one until we find a better one
 * we *need help* on a small but important issue: adding links to the
 table of content, in the form:
 
 .. toctree::
 :maxdepth: 2
 :hidden:
 
 website/download
 docs/user_manual/index
 docs/gentle_gis_introduction/index
 http://plugins.qgis.org
 
 works, but the resulting link has a label None. Does anybody know
 how to add a proper label to it? I tried with the normal rst syntax
 `Plugins http://plugins.qgis.org`_ but it does not work.
 This is a stumbling block for the publication.
 * in the meantime, we are migrating content.
 
 Thanks to all.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] doc translation

2013-04-12 Thread Otto Dassau
Hi,

we also had a small discussion about the current translation process and we
think it would be the best solution for now, if we only use the local
translation process and not transifex. We need to find out first a good
workflow, how the conversion between tx and git works without conflicts.

Do we have any transifex/git experts on this list, who can have a look?

Apart from that it would be important to have a look at the documentation
of the local translation process and see if we need to improve this for
normal users, who don't know much about git, github, linguist,  Is there
someone, who is willing to do that? The document is here:

https://github.com/qgis/QGIS-Documentation/blob/master/source/docs/documentation_guidelines/do_translations.rst

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


Re: [Qgis-developer] Adding a raster file to the QGIS sample dataset

2013-04-03 Thread Otto Dassau
Hi Anita,

Am Wed, 03 Apr 2013 15:26:01 +0200
schrieb Paolo Cavallini cavall...@faunalia.it:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Il 03/04/2013 15:22, Anita Graser ha scritto:
 
  I would like to propose adding another raster file to the Alaska sample
  dataset that we provide for our users. Currently it only contains a
  small raster with landcover information. I'd like to add a hillshade
  raster (which I clipped from the global Natural Earth hillshade and
  reprojected for Alaska). I think it would be a useful addition for
  different demonstration purposes.
  
  What do you think? Who has access and can change the download file?
 
 agreed, a more comprehensive sample package would be very useful.
 I would not object splitting it in two, a basic package, kept small, and a
 full, with OSM, Landsat, etc.
 Obviously, this make sense if there is a maintainer of the package, to
 keep it updated and add new stuff as it comes out.
 All the best.
 
 - -- 
 Paolo Cavallini - Faunalia

great idea. I have access and can update the zip file ... could you also
update the README.html file? 

http://download.osgeo.org/qgis/data/README.html

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


[Qgis-developer] New QGIS case study from Assam, India

2013-03-11 Thread Otto Dassau
Dear Community,

we have a new QGIS case study written by Rajendra Garawad. He is Field
Director of the Nameri Tiger Reserve, Assam, India and holds Master Degrees
in Forestry Science and Conservation  Land Management.

The case study is about monitoring tigers using camera traps in the Nameri
Tiger Reserve, Assam, India. You can read it here:

http://www.qgis.org/en/community/qgis-case-studies/assam-india.html

Thank you very much Rajendra for your contribution!

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


Re: [Qgis-developer] [Qgis-community-team] QGIS-documentation repo empty

2013-02-27 Thread Otto Dassau
Hi,

the QGIS-documentation repository should be ok again. Unfortunately we
lost/removed the repo some hours ago. I updated it from a fork I did this
morning again. I hope nothing is lost - but please check.

If you are a translation maintainer, please create a new fork and organize
with your translators, that they update/fork their repo again as well.
We are sorry for the inconvenience and please ask on the community-team
list, if there are any problems or questions.

Regards
Otto


Am Wed, 27 Feb 2013 21:04:29 +0100
schrieb Vincent Picavet vincent...@oslandia.com:

 Hi,
 I just received an email from github about my access rights on the
 QGIS-documentation repository. I checked the repo and it's empty !
 Has anyone got a clue on what happened ?
 Would anybody have a local and uptodate version of the repo to upload it 
 again?
 
 Vincent
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] 10th QGIS hackfest will be in Brighton (autumn 2013)

2013-02-26 Thread Otto Dassau
Dear QGIS Community,

as you probably know, the FOSS4G conference 2013 will take place in
Nottingham from 17th - 21st September and we are happy that we are able to
combine it with the 10th QGIS hackfest.

Saber Razmjooei and Peter Wells from Lutra Consulting offered to host the
hackfest in Brighton from 12.-16. September 2013 right before the FOSS4G
(17th-21st September 2013). 

For people who are interested in going to FOSS4G afterwards it is not a long
trip from Brighton to Nottingham and we will try to organize the transfer.

As usual you will find all information in the wiki (not much to see yet):
http://hub.qgis.org/wiki/quantum-gis/10_QGIS_Developer_Meeting_in_Brighton_2013

We will start planning after the hackfest in Valmiera, which will take place
soon from 11th - 14th of April 2013:
http://hub.qgis.org/wiki/quantum-gis/9_QGIS_Developer_Meeting_in_Valmiera_2013

Regards
Otto

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


[Qgis-developer] New case study from Missouri, USA

2013-02-19 Thread Otto Dassau
Dear Community,

we have a new case study written by Brian Edmond. He is a Senior Systems
Analyst in Computer Services at Missouri State University and has spent his
career in the intergrade zone between biology and technology.

The case study is about using QGIS to create maps of Historic Herpetofaunal
Records in Missouri, USA. You can read it here:

http://www.qgis.org/en/community/qgis-case-studies/missouri-usa.html

Thank you very much Brian for your contribution!

Kind Regards
Otto

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


[Qgis-developer] select a loaded raster layer from qgis legend into python plugin

2013-01-17 Thread Otto Dassau
Hi,

I would like to write a small python plugin to analyse some raster data,
but I haven't managed to select a loaded layer yet. I searched the howtos and
found several simple examples about:

# get the currently active layer
  layer = self.iface.mapCanvas().currentLayer()

but as I said I would like to select one of the loaded raster layers from the
qgis legend using a QtGui.QComboBox in the plugin dialog. At the moment I
tried the getRasterLayersNames() function I found in several other plugins
but it seems I am missing something, because the raster layers are not
selectable. Can someone point me to a simple example to understand the
general procedure?

Thanks a lot
Otto





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


Re: [Qgis-developer] select a loaded raster layer from qgis legend into python plugin

2013-01-17 Thread Otto Dassau
Hi Matthias,

thanks for your help. I guess it is similar to what I found?

def getRasterLayersNames():
layerList = []
layerMap = QgsMapLayerRegistry.instance().mapLayers()
for name, layer in layerMap.iteritems():
if layer.type() == QgsMapLayer.RasterLayer and
  ( layer.usesProvider() and layer.providerKey() ==
  'gdal' ): layerList.append( unicode( layer.name()))
return layerList

If I understand correctly your function selects all raster layers from
QgsMapLayerRegistry. Now I would like to visualize the layer list in the
combobox (InRastA) of the plugin dialog file. I found something that works
for vector layers:

def manageGui(self):
myList = []
self.ui.InRastA.clear()
myList = initLayerCombobox()
self.ui.InRastA.addItems( myList )
return 

But is doesn't work for raster that way, if I use your function. How is it
possible to make the raster layers selectable / show up in the plugin dialog?

Regards
Otto

Am Thu, 17 Jan 2013 16:21:51 +0100
schrieb Matthias Kuhn matthias.k...@gmx.ch:

 Hi Otto,
 
 here a small extract from a plugin I wrote:
 
 Just check for the layer type to only list raster layers
 
 def initLayerCombobox(self,combobox, default):
 reg = QgsMapLayerRegistry.instance()
 for ( key, layer ) in reg.mapLayers().iteritems():
 combobox.addItem( layer.name(), key )
 
 idx = combobox.findData( default )
 if idx != -1:
 combobox.setCurrentIndex( idx )
 
 Regards
 
 On Thu, 2013-01-17 at 15:54 +0100, Otto Dassau wrote:
  Hi,
  
  I would like to write a small python plugin to analyse some raster data,
  but I haven't managed to select a loaded layer yet. I searched the
  howtos and found several simple examples about:
  
  # get the currently active layer
layer = self.iface.mapCanvas().currentLayer()
  
  but as I said I would like to select one of the loaded raster layers
  from the qgis legend using a QtGui.QComboBox in the plugin dialog. At
  the moment I tried the getRasterLayersNames() function I found in
  several other plugins but it seems I am missing something, because the
  raster layers are not selectable. Can someone point me to a simple
  example to understand the general procedure?
  
  Thanks a lot
  Otto

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


Re: [Qgis-developer] select a loaded raster layer from qgis legend into python plugin

2013-01-17 Thread Otto Dassau
Hi Matthias,

that works. Thanks a lot!

Regards
Otto

Am Thu, 17 Jan 2013 17:24:43 +0100
schrieb Matthias Kuhn matthias.k...@gmx.ch:

 Hi Otto,
 
 Try this
 
 class MyPluginDialog (QDialog,Ui_MyPluginDialog)::
  def __init__(self):
  self.setupUi(self)
  self.initLayerCombobox( self.ui.InRastA, 'key_of_default_layer' )
 
  def initLayerCombobox(self,combobox, default):
  combobox.clear()
  reg = QgsMapLayerRegistry.instance()
  for ( key, layer ) in reg.mapLayers().iteritems():
  if layer.type() == QgsMapLayer.RasterLayer and
 ( layer.usesProvider() and layer.providerKey() == 'gdal' ):
 combobox.addItem( layer.name(), key ) 
  idx = combobox.findData( default )
  if idx != -1:
  combobox.setCurrentIndex( idx )
 
 
 Matthias
 
 On 01/17/2013 05:07 PM, Otto Dassau wrote:
  Hi Matthias,
 
  thanks for your help. I guess it is similar to what I found?
 
  def getRasterLayersNames():
  layerList = []
  layerMap = QgsMapLayerRegistry.instance().mapLayers()
  for name, layer in layerMap.iteritems():
  if layer.type() == QgsMapLayer.RasterLayer and
( layer.usesProvider() and layer.providerKey() ==
'gdal' ): layerList.append( unicode( layer.name()))
  return layerList
 
  If I understand correctly your function selects all raster layers from
  QgsMapLayerRegistry. Now I would like to visualize the layer list in the
  combobox (InRastA) of the plugin dialog file. I found something that
  works for vector layers:
 
  def manageGui(self):
  myList = []
  self.ui.InRastA.clear()
  myList = initLayerCombobox()
  self.ui.InRastA.addItems( myList )
  return
 
  But is doesn't work for raster that way, if I use your function. How is
  it possible to make the raster layers selectable / show up in the plugin
  dialog?
 
  Regards
  Otto
 
  Am Thu, 17 Jan 2013 16:21:51 +0100
  schrieb Matthias Kuhn matthias.k...@gmx.ch:
 
  Hi Otto,
 
  here a small extract from a plugin I wrote:
 
  Just check for the layer type to only list raster layers
 
   def initLayerCombobox(self,combobox, default):
   reg = QgsMapLayerRegistry.instance()
   for ( key, layer ) in reg.mapLayers().iteritems():
   combobox.addItem( layer.name(), key )
   
   idx = combobox.findData( default )
   if idx != -1:
   combobox.setCurrentIndex( idx )
 
  Regards
 
  On Thu, 2013-01-17 at 15:54 +0100, Otto Dassau wrote:
  Hi,
 
  I would like to write a small python plugin to analyse some raster
  data, but I haven't managed to select a loaded layer yet. I searched
  the howtos and found several simple examples about:
 
  # get the currently active layer
 layer = self.iface.mapCanvas().currentLayer()
 
  but as I said I would like to select one of the loaded raster layers
  from the qgis legend using a QtGui.QComboBox in the plugin dialog. At
  the moment I tried the getRasterLayersNames() function I found in
  several other plugins but it seems I am missing something, because the
  raster layers are not selectable. Can someone point me to a simple
  example to understand the general procedure?
 
  Thanks a lot
  Otto
  ___
  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


-- 
Geoinformatik Büro Dassau - http://www.gbd-consult.de
FOSSGIS consulting , training , support  and analysis
Ackerstrasse 144c  ,  D - 40233 Düsseldorf ,  Germany
Tel: +49-(0)211-47468178 , Mobile: +49-(0)171-4687540

--
Community Advisor - QGIS Project Steering Committee
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] New case study about the Fundy Footpath Trail

2013-01-04 Thread Otto Dassau
Dear Community,

I am pleased to announce a new case study, this time from the Fundy coast of
New Brunswick, Canada. 

There is a wonderful trail created, maintained, and promoted by a group of
volunteers known as the Fundy Hiking Trail Association Inc. (FHTA)(1975). As
a non-profit organization the FHTA raises funds for its activities through
the sale of guidebooks that include a trail map.

The case study is about creating the Fundy Footpath Trail Map with Quantum
GIS. Author is Jarrett Totton. He is a GIS Technologist living in Alberta,
Canada.

You find the case study here:
http://www.qgis.org/en/community/qgis-case-studies/new-brunswick-canada.html

Thank you very much for this contribution!

Kind Regards
Otto

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


Re: [Qgis-developer] Settings - Panels vs. Settings - Customization - Docks

2012-12-02 Thread Otto Dassau
Am Sat, 1 Dec 2012 12:53:44 +0100
schrieb Radim Blazek radim.bla...@gmail.com:

 On Fri, Nov 30, 2012 at 2:34 PM, Martin Dobias wonder...@gmail.com wrote:
 
  On Wed, Nov 28, 2012 at 5:17 PM, Otto Dassau das...@gbd-consult.de
  wrote:
 
  Hi,
 
  in QGIS 1.8 you can (de)activate panels under Settings - Panels. Under
  settings Customization the panels are described as Docks. Would it be
  possible to have only one name for it? Or is there a reason, why we have
  two names for it?
 
 Changed to Panels. Also added new enable customization checkbox in the
 dialog.
 
 Radim
 
 
  Hi Otto
 
  as far as I know, there's no reason for two names, it's the same
  thing... I guess panel is a term that users are more familiar with.
 
  Regards
  Martin

Thanks a lot for changing it!

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


[Qgis-developer] Settings - Panels vs. Settings - Customization - Docks

2012-11-28 Thread Otto Dassau
Hi,

in QGIS 1.8 you can (de)activate panels under Settings - Panels. Under
settings Customization the panels are described as Docks. Would it be
possible to have only one name for it? Or is there a reason, why we have two
names for it?

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


  1   2   >