Re: [Qgis-developer] Problems with installing QGIS on Linux Mint

2015-12-16 Thread James Stott
Thanks Jürgen, its working again now.

On Tue, 15 Dec 2015 at 21:24 Jürgen E.  wrote:

> Hi James,
>
> On Tue, 15. Dec 2015 at 19:24:39 +0000, James Stott wrote:
> > I tried to upgrade QGIS on my system without success. I have also tried
> to
> > uninstalling and to reinstall but I cannot get it to work.
>
> See http://hub.qgis.org/issues/13981
>
>
> Jürgen
>
> --
> Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
> Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
> Software Engineer   D-26506 Norden
> http://www.norbit.de
> QGIS release manager (PSC)  GermanyIRC: jef on FreeNode
> ___
> 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] Problems with installing QGIS on Linux Mint

2015-12-15 Thread James Stott
I tried to upgrade QGIS on my system without success. I have also tried to
uninstalling and to reinstall but I cannot get it to work.

I have recently upgraded to Linux Mint 17.3 (dont know if thats relevant).

I get the following error when I try to install (apologies my system is in
Norwegian):

Setter opp qgis-providers-common
(1:2.12.1+git20151211+80c5cb6+20trusty-ubuntugis) ...
cp: cannot stat ‘/usr/share/qgis/resources/srs-template.db’: No such file
or directory
dpkg: error processing package qgis-providers-common (--configure):
 underprosessen installerte post-installation-skript returnerte feilstatus 1
dpkg: dependency problems prevent configuration of qgis-providers:
 qgis-providers krever qgis-providers-common (=
1:2.12.1+git20151211+80c5cb6+20trusty-ubuntugis). Men:
  Pakke qgis-providers-common er ikke satt opp enda.

dpkg: error processing package qgis-providers (--configure):
 kravproblem - setter ikke opp pakken
dpkg: dependency problems prevent configuration of qgis:
 qgis krever qgis-providers (=
1:2.12.1+git20151211+80c5cb6+20trusty-ubuntugis). Men:
  Pakke qgis-providers er ikke satt opp enda.

dpkg: error processing package qgis (--configure):
 kravproblem - setter ikke opp pakken
dpkg: dependency problems prevent configuration of qgis-plugin-grass:
 qgis-plugin-grass krever qgis (=
1:2.12.1+git20151211+80c5cb6+20trusty-ubuntugis). Men:
  Pakke qgis er ikke satt opp enda.

dpkg: error processing package qgis-plugin-grass (--configure):
 kravproblem - setter ikke opp pakken (dependancy problem - cannotg
Det oppsto feil ved behandling av:
 qgis-providers-common
 qgis-providers
 qgis
 qgis-plugin-grass

I can open QGIS, but I get two errors on startup and the python
console,plugin installer, database manager are not available:

An error occured during execution of following code:
import pyplugin_installer

traceback.print_exception() failed

and

An error occured during execution of following code:
pyplugin_installer.initPluginInstaller()

traceback.print_exception() failed

Can anyone help?
___
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] QgsComposerMap zoomToExtent problem

2015-11-22 Thread James Stott
Hi,

I have a QgsComposerMap that I want to zoom to the extent of a feature in a
vector layer.

geomBBRect = geometry.boundingBox()
myComposerMap.zoomToExtent(geomBBRect)

I am trying to use zoomToExtent to make the map show the correct area.
However, I get a blank map when I run my code. If I check what the current
scale is, its returned as 'nan'.

I tried using setNewExtent() before, but this alters the size of my
QgsComposerMap. I want to keep the same map size each time.

After doing a little bit of checking, it seems that:

myComposerMap.currentMapExtent().xMinimum()))
myComposerMap.currentMapExtent().xMaximum()))

both return 'nan' but yMinimum and yMaximum return coordinates.

I can not figure out why. Can anyone help shed any light on the problem? I
can provide more code if needed.

James
___
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] Add multiple frames to a composer attribute table using PyQGIS

2015-11-03 Thread James Stott
Hi Nyall,

Thanks very much for the advice. It is working now.

That was an excellent tip about checking the unit tests.

James

On Sun, 1 Nov 2015 at 10:23 Nyall Dawson  wrote:

> On 1 November 2015 at 20:09, James Stott  wrote:
> > I have an attribute table that is around two hundred rows of data (but
> only
> > two columns wide). I would like to add an attribute table to a composer
> with
> > this data, and to do this I need to add multiple frames so I can add the
> > whole attribute table to one page. Doing this manually in the composer I
> > just add 5 frames side by side to one composer page, and I manage to get
> all
> > my data on one page.
> >
> > I cannot figure out how to add an attribute table with multiple frames
> to a
> > composer using PyQGIS. I am problably missing something really obvious,
> but
> > I am stuck here.
> >
> > When I try to define a QgsComposerFrame, I am told that I must specify
> the
> > QgsComposerMultiFrame it belongs to:
> >
> > QgsComposerFrame (QgsComposition *c, QgsComposerMultiFrame *mf, qreal x,
> > qreal y, qreal width, qreal height)
> >
> > How do I create the QgsComposerMultiFrame. It is an abstract class, I am
> > told that it is an abstract class and cannot be instantiated. If I try
> >
> > multiFrame = QgsComposerMultiFrame(myCompositionTable, False)
> >
> > I get the following error when I run my code.
> >
> > qgis._core.QgsComposerMultiFrame represents a C++ abstract class and
> cannot
> > be instantiated
>
> You create a QgsComposerAttributeTableV2 instead, which derives from
> QgsComposerMultiFrame. Here's some c++ code which does this, which
> should be pretty straightforward to translate to Python:
>
>
> mComposerAttributeTable = new QgsComposerAttributeTableV2(
> mComposition, false );
> mComposition->addMultiFrame( mComposerAttributeTable );
>
> mFrame1 = new QgsComposerFrame( mComposition, mComposerAttributeTable,
> 5, 5, 100, 30 );
> mFrame2 = new QgsComposerFrame( mComposition, mComposerAttributeTable,
> 5, 40, 100, 30 );
>
> mComposerAttributeTable->addFrame( mFrame1 );
> mComposerAttributeTable->addFrame( mFrame2 );
>
> mComposition->addComposerTableFrame( mComposerAttributeTable, mFrame1 );
> mComposition->addComposerTableFrame( mComposerAttributeTable, mFrame2 );
>
> mComposerAttributeTable->setVectorLayer( mVectorLayer );
> mComposerAttributeTable->setDisplayOnlyVisibleFeatures( false );
> mComposerAttributeTable->setMaximumNumberOfFeatures( 10 );
> mComposerAttributeTable->setContentFont(
> QgsFontUtils::getStandardTestFont() );
> mComposerAttributeTable->setHeaderFont(
> QgsFontUtils::getStandardTestFont() );
> mComposerAttributeTable->setBackgroundColor( Qt::yellow );
>
> When in doubt for something like this and you can't find any examples
> online, a good last resort to check is in the QGIS unit tests:
> https://github.com/qgis/QGIS/tree/master/tests/src
> (or in this case
>
> https://github.com/qgis/QGIS/blob/master/tests/src/core/testqgscomposertablev2.cpp
> )
>
> They are filled with minimal test cases such as this which are useful
> for seeing how various classes are intended to be used.
>
> Nyall
>
>
>
>
> >
> > I cant find any documentation or examples on how to do this. So if
> someone
> > could shed some light on this it would be most appreciated. I am happy to
> > write up a bit of documentation once I have managed to do this.
> >
> > Many thanks,
> >
> > James
> >
> > ___
> > 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] Add multiple frames to a composer attribute table using PyQGIS

2015-11-01 Thread James Stott
I have an attribute table that is around two hundred rows of data (but only
two columns wide). I would like to add an attribute table to a composer
with this data, and to do this I need to add multiple frames so I can add
the whole attribute table to one page. Doing this manually in the composer
I just add 5 frames side by side to one composer page, and I manage to get
all my data on one page.

I cannot figure out how to add an attribute table with multiple frames to a
composer using PyQGIS. I am problably missing something really obvious, but
I am stuck here.

When I try to define a QgsComposerFrame, I am told that I must specify the
QgsComposerMultiFrame it belongs to:

QgsComposerFrame

 (QgsComposition  *c,
QgsComposerMultiFrame
 *mf,
qreal x , qreal y
, qreal width, qreal height)

How do I create the QgsComposerMultiFrame. It is an abstract class, I am
told that it is an abstract class and cannot be instantiated. If I try

multiFrame = QgsComposerMultiFrame(myCompositionTable, False)

I get the following error when I run my code.

qgis._core.QgsComposerMultiFrame represents a C++ abstract class and cannot
be instantiated

I cant find any documentation or examples on how to do this. So if someone
could shed some light on this it would be most appreciated. I am happy to
write up a bit of documentation once I have managed to do this.

Many thanks,

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

Re: [Qgis-developer] Expressions in print composer

2012-09-25 Thread James Stott
Agree on keeping $CURRENT_DATE() backwards compatibility. We use that on every 
drawing we create.


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/ 

http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp

From: qgis-developer-boun...@lists.osgeo.org 
[mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of Andreas Neumann
Sent: 25 September 2012 10:14
To: qgis-developer@lists.osgeo.org
Subject: Re: [Qgis-developer] Expressions in print composer

 Hi Hugo,

 I am open to replacements of $CURRENT_DATE(). We'd need to make sure,  
however, that the new proposal of [% $now %] would also allow a way to  set the 
date format, e.g. german date, french date, english date or some  specific user 
defined format.

 Is your proposed change in line with what other text replacements of  the new 
expression builder do, e.g. in the label placement?

 Would the label in print composer gain a new GUI that would allow the  user to 
specify an expression?

 How about backwards compatibility of $CURRENT_DATE() ? Although it  wasn't 
well documented, I taught a lot of people about using
 $CURRENT_DATE() - would the old syntax still work with the new proposal?

 It would be best if Marco H. could comment, since he implemented the  current 
label object in print composer.

 Thanks,
 Andreas

 On Tue, 25 Sep 2012 11:01:05 +0200, Hugo Mercier wrote:
> Hi all,
>
> I am currently working on the integration of the Atlas plugin into the 
> core.
>
> I noticed the "replaceDateText" method of the QgsComposerLabel class 
> that is aimed at dealing with the very specific "$CURRENT_DATE"
> expression and replace it with ... the current date.
>
> For the sake of homogeneity and considering we have a powerful way of 
> handling expressions, why not consider text in labels where 
> expressions are surrounded by '[%' and '%]'. So $CURRENT_DATE would be 
> replaced by date manipulations based on '[% $now %]' ?
>
> The other change I propose is to enhance the optional "substitution 
> map" that can be set on an expression text. It is used to define 
> special column names like $layerid, $CWD and so on when using Actions 
> on a layer. Until now, they are used for text replacement and cannot 
> be used within an expression.
> My proposal is to make them first-class citizen within the grammar.
>
> I have a local branch with these proposed changes. If there is no 
> special objections, I am about to propose them.

--
 --
 Andreas Neumann
 Böschacherstrasse 10A
 8624 Grüt (Gossau ZH)
 Switzerland
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] New plugin - Locked Layers Manager

2012-08-09 Thread James Stott
Hi all,

Just thought I would let you all know that I have created a new plugin
that allows you to add layers to and remove layers from the layerset of
a composermap object on a composer. It's in the QGIS official
repository.

http://hub.qgis.org/projects/lockedlayers

This is useful if you want to see what layers are currently locked to a
composermap, and also to alter the layerset without having to recreate
the layers in the map canvas and then unlocking and relocking the
composermap.

This is my first attempt at a plugin so hopefully it works well. Any
problems with it please let me know. 

I am hoping to improve it as time goes on, and eventually would like to
add it as a widget on the composer window.

James



James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/ 

http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp

http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Plugin project problem

2012-08-08 Thread James Stott
Thanks for the reply.

I do not see anywhere on the information page to change the sub-project.


There are fields for:

Name, Description, Indentifier, Homepage and Public. 

Then there are the Trackers and Customfields sections after this.

Also, if I go to http://hub.qgis.org/projects/qgis-user-plugins I do not
see the New Subproject link anywhere (I am logged in).


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/ 
-Original Message-
From: Etienne Tourigny [mailto:etourigny@gmail.com] 
Sent: 08 August 2012 14:03
To: James Stott
Cc: qgis-developer@lists.osgeo.org
Subject: Re: [Qgis-developer] Plugin project problem

Go to settings->information, you can make it a sub-project of "user
plugins"

Note that now the "user plugins" page has a "new subproject "link to
create a sub-project directly, although you have to be logged in I
think.

Etienne

On Wed, Aug 8, 2012 at 7:30 AM, James Stott
 wrote:
> I have submitted a plugin and I thought I would create a project page 
> for it as well.
>
> Doing this I have managed to creat a plugin project page but it didn't

> add it as a sub project of the User Plugins. It seems to have added it

> as a separate project
>
> How do I change this?
>
> There was no add new sub project button on the User Plugins page so I 
> thought it would let me set this layer on.
>
> James
>
> James Stott BSc (Hons) MSc | Senior Professional Nicholas Pearson 
> Associates | 30 Brock Street | Bath | BA1 2LN
> T: 01225 445548 | M: -
> http://www.npaconsult.co.uk/
>
> http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
>
> http://www.npaconsult.co.uk/terms.asp
> This Electronic Transmission is intended only for the attention of the
addressee. It may contain privileged and confidential information. If
you are not the person for whom it is intended, you must not copy,
distribute or take any action in reliance on it. If you have received
this electronic transmission in error please notify us immediately by
telephone, delete the transmission and destroy any hard copies.
> Nicholas Pearson Associates has used all reasonable efforts to ensure
that this message and any attachments are free from viruses.
> Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44

> (0) 01225 445548, Fax: +44 (0) 01225 312387, Website: 
> http://www.npaconsult.co.uk/ 
> ___
> 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] Diagram improvements

2012-08-08 Thread James Stott
What would also be useful is to be able to include a number inside the
pie segment to indicate either the percentage of the pie or the actual
number of whatever the segment represents (i.e. 10 apple out of 35
pieces of fruit in total rather than just being able to have 28%).

It would be good if this number could sit outside of the pie chart with
a line pointing into the segment that it refers to - excel does this
quite nicely.

I think you have covered most of the options needed for the legend - I
think the reference circle sizes is definitely needed.


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/ 

http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp

From: Kuhn Matthias, Vermessung [mailto:matthias.k...@stadt-uster.ch] 
Sent: 08 August 2012 10:39
To: James Stott; qgis-developer@lists.osgeo.org
Subject: RE: [Qgis-developer] Diagram improvements

Good point.

This deserves deffinitely to be looked at.

Basic integration would have to include a rectangle with the colors for
the pie-pieces (or bars...) with labels Then attribute names should be
customizable. Attribute names tend to be technical.
The more advanced part would include some size reference circles.

What else would be needed for such a legend?

--
Matthias Kuhn
 

> -Original Message-
> From: qgis-developer-boun...@lists.osgeo.org
> [mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of James 
> Stott
> Sent: Tuesday, August 07, 2012 5:51 PM
> To: qgis-developer@lists.osgeo.org
> Subject: Re: [Qgis-developer] Diagram improvements
> 
> It  would be excellent if you can get the diagrams working in legends 
> on composers too.
> 
> 
> James Stott BSc (Hons) MSc | Senior Professional Nicholas Pearson 
> Associates | 30 Brock Street | Bath | BA1 2LN
> T: 01225 445548 | M: -
> http://www.npaconsult.co.uk/
> 
> http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
> 
> From: qgis-developer-boun...@lists.osgeo.org
> [mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of Paolo 
> Cavallini
> Sent: 07 August 2012 16:44
> To: qgis-developer@lists.osgeo.org
> Subject: Re: [Qgis-developer] Diagram improvements
> 
> Il 07/08/2012 17:37, Matthias Kuhn ha scritto:
> > Hi,
> >
> > I recently started an internship at Uster (a city in
> Switzerland). My
> > job will mostly be to improve QGIS. I'm really looking
> forward to this
> 
> > great opportunity.
> >
> > My first job is, to improve the diagrams. Any comments are highly
> >
> 
> what good news! definitely, diagrams are in the need for some love.
> I assume you are going to work on the newer implementation, right?
> I think one very important thing is to implement the missing features 
> from the old diagrams, so that we can keep only one, and reduce 
> redundancy.
> A second issue is cleaning the interface, that most users find 
> difficult to understand.
> When are you planning to issue a pull request against master?
> Thanks a lot.
> All the best.
> 
> --
> Paolo Cavallini - Faunalia
> www.faunalia.eu
> Full contact details at www.faunalia.eu/pc Nuovi corsi QGIS e PostGIS:
> http://www.faunalia.it/calendario
> 
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
> 
> http://www.npaconsult.co.uk/terms.asp
> This Electronic Transmission is intended only for the attention of the

> addressee. It may contain privileged and confidential information. If 
> you are not the person for whom it is intended, you must not copy, 
> distribute or take any action in reliance on it. If you have received 
> this electronic transmission in error please notify us immediately by 
> telephone, delete the transmission and destroy any hard copies.
> Nicholas Pearson Associates has used all reasonable efforts to ensure 
> that this message and any attachments are free from viruses.
> Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN ,
> Tel: +44 (0) 01225 445548, Fax: +44 (0) 01225 312387,
> Website: http://www.npaconsult.co.uk/ 
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
> 

http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us imme

[Qgis-developer] Plugin project problem

2012-08-08 Thread James Stott
I have submitted a plugin and I thought I would create a project page
for it as well. 

Doing this I have managed to creat a plugin project page but it didn't
add it as a sub project of the User Plugins. It seems to have added it
as a separate project 

How do I change this?

There was no add new sub project button on the User Plugins page so I
thought it would let me set this layer on.

James 

James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/ 

http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp

http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Diagram improvements

2012-08-07 Thread James Stott
It  would be excellent if you can get the diagrams working in legends on
composers too.


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/ 

http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp

From: qgis-developer-boun...@lists.osgeo.org
[mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of Paolo
Cavallini
Sent: 07 August 2012 16:44
To: qgis-developer@lists.osgeo.org
Subject: Re: [Qgis-developer] Diagram improvements

Il 07/08/2012 17:37, Matthias Kuhn ha scritto:
> Hi,
>
> I recently started an internship at Uster (a city in Switzerland). My 
> job will mostly be to improve QGIS. I'm really looking forward to this

> great opportunity.
>
> My first job is, to improve the diagrams. Any comments are highly
>

what good news! definitely, diagrams are in the need for some love.
I assume you are going to work on the newer implementation, right?
I think one very important thing is to implement the missing features
from the old diagrams, so that we can keep only one, and reduce
redundancy.
A second issue is cleaning the interface, that most users find difficult
to understand.
When are you planning to issue a pull request against master?
Thanks a lot.
All the best.

--
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc Nuovi corsi QGIS e PostGIS:
http://www.faunalia.it/calendario

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

http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] [Qgis-user] Python Plugin utilising SOAP

2012-08-01 Thread James Stott
Thanks for the responses.

I will concentrate on telling the users they need it for now and let
them decide how best to manage that.

I am having problems with suds though. 

I point it to the wsdl and all I get back is an error as below:

RuntimeError: maximum recursion depth exceeded while pickling an object

May try one of the other libraries that are out there.


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/ 
-Original Message-
From: qgis-user-boun...@lists.osgeo.org
[mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Alexandre Badez
Sent: 31 July 2012 18:36
To: t...@wildintellect.com
Cc: qgis-u...@lists.osgeo.org; qgis-developer
Subject: Re: [Qgis-user] Python Plugin utilising SOAP

James,

I'm using suds in my plugin on windows 7 64bits.

The problem as you mention it, is how to include it in your plugin.
For my self I didn't bother because I made a setup.exe that install suds
and the plugin where they need to be.

I suppose you can copy it in your plugin dir and do something like:
from my_plugin import suds
suds.blabla

It should work.



On Tue, Jul 31, 2012 at 6:25 PM, Alex Mandel
 wrote:
> James,
>
> This discussion would be better for the qgis-developer mailing list.
>
> To get started, are you talking about a C++ or a python plugin, and 
> what language is the Suds library in?
>
> Thanks,
> Alex
>
>
> On 07/31/2012 07:12 AM, James Stott wrote:
>> I would like to write a plugin which retrieves data using web
services.
>>
>> It would appear I need to use SOAP to send and receive  requests. How

>> would I go about setting up soap? I have OSGeo4W installed on Windows

>> 7
>> 64 bit.
>>
>> Could anyone advise me on what the best method to go about this would

>> be? I am using OSGEO4W but I cannot find a SOAP library in the 
>> package listing.
>>
>> I have found the Suds library which looks promising. How would I go 
>> about making sure this would be usable in a plugin in QGIS on all 
>> platforms - is there a way to include the suds library with my
plugin?
>>
>> James
>>
>>
>>
>>
>>
>> James Stott BSc (Hons) MSc | Senior Professional Nicholas Pearson 
>> Associates | 30 Brock Street | Bath | BA1 2LN
>> T: 01225 445548 | M: -
>> http://www.npaconsult.co.uk/
>>
>> http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.as
>> p
>>
>> http://www.npaconsult.co.uk/terms.asp
>> This Electronic Transmission is intended only for the attention of
the addressee. It may contain privileged and confidential information.
If you are not the person for whom it is intended, you must not copy,
distribute or take any action in reliance on it. If you have received
this electronic transmission in error please notify us immediately by
telephone, delete the transmission and destroy any hard copies.
>> Nicholas Pearson Associates has used all reasonable efforts to ensure
that this message and any attachments are free from viruses.
>> Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: 
>> +44 (0) 01225 445548, Fax: +44 (0) 01225 312387, Website: 
>> http://www.npaconsult.co.uk/ 
>> ___
>> Qgis-user mailing list
>> qgis-u...@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
> ___
> Qgis-user mailing list
> qgis-u...@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user



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


Re: [Qgis-developer] [Qgis-user] Query Layer / Rule Based Rendering Problem

2012-06-01 Thread James Stott
To update this post,

I have compared the project file code for both the layer that works and
the layer that doesn't and I have found differences in the
customproperties section. This section does not exist in the layer that
works - it only exists for the layer that I copied the style for.
Removing it makes the layer show on the map.




















































Using QGIS 1.8.0 on Windows 7

James 


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/ 

-Original Message-
From: qgis-user-boun...@lists.osgeo.org
[mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of James Stott
Sent: 31 May 2012 16:22
To: qgis-u...@lists.osgeo.org
Subject: [Qgis-user] Query Layer / Rule Based Rendering Problem

I have created a query in the DB Manager SQL Window (data is in a
PostGIS database). The query is then added to the map as a layer.

I copy the style from another layer (rule based style), paste it to my
query layer and the polygons disappear from the map and QGIS gives a
nextFeature() without select() error. This also happens if I apply a qml
style file to the layer.

If I change the styles back to Single Symbol they do not come back. I
can see the records in the Attribute table, and I can select them and
zoom to them on the map, I just cannot see them. 

I have to re-add the query layer using the DB Manager SQL window again.

It only seems to be the polygon layers that cause problems at the
moment.

Does anyone know the cause of this?

James 

James Stott BSc (Hons) MSc | Senior Professional Nicholas Pearson
Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/ 


http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp

http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the
addressee. It may contain privileged and confidential information. If
you are not the person for whom it is intended, you must not copy,
distribute or take any action in reliance on it. If you have received
this electronic transmission in error please notify us immediately by
telephone, delete the transmission and destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure
that this message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44
(0) 01225 445548, Fax: +44 (0) 01225 312387, Website:
http://www.npaconsult.co.uk/
___
Qgis-user mailing list
qgis-u...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Icons from Maki

2012-05-10 Thread James Stott
Has anyone seen this set of icons?

http://mapbox.com/maki/

Would it be worth adding these to QGIS? They are in a .png format in the
download.

According to the site they plan to keep adding things to the icon set.


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/


http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


RE: [Qgis-developer] Re: [Qgis-user] Raster Layers obscuring other layers using master

2012-05-03 Thread James Stott
That was the problem.

I never set QGIS to change from rendering using the legend.

Is there a reason this might have changed on its own?


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/

-Original Message-
From: Tim Sutton [mailto:li...@linfiniti.com]
Sent: 03 May 2012 14:59
To: giovanni.man...@faunalia.pt
Cc: John Callahan; qgis-u...@lists.osgeo.org; Qgis-developer@lists.osgeo.org; 
James Stott
Subject: Re: [Qgis-developer] Re: [Qgis-user] Raster Layers obscuring other 
layers using master

Hi

On Thu, May 3, 2012 at 2:41 PM, Giovanni Manghi  
wrote:
>
>
> On Thu, 2012-05-03 at 08:38 -0400, John Callahan wrote:
>> I have exactly the same problem.  The rasters I used were both TIF
>> and sid images.  They covered the rasters, regardless of its layer
>> positioning.  Works fine with the latest stable build (1.7.x).
>

Can you check that you are indeed using the legend to manage render order?

Regards

Tim

> Someone can test if this issue affects also the code freezed for 1.8?
> If yes please file a ticket and -as it is a regression- tag it as
> "blocker".
>
> cheers
>
> -- Giovanni --
>
>
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer



--
Tim Sutton - QGIS Project Steering Committee Member (Release  Manager) 
==
Please do not email me off-list with technical support questions. Using the 
lists will gain more exposure for your issues and the knowledge surrounding 
your issue will be shared with all.

Visit http://linfiniti.com to find out about:
 * QGIS programming and support services
 * Mapserver and PostGIS based hosting plans
 * FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
==

http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Tables without geometry force QGIS to incorrectly Zoom Full

2012-05-02 Thread James Stott
Can anyone else confirm this?

If I have a table with no geometry in my QGIS project, when I push the
Zoom Full button it zooms out further than the extent of the layers with
geometry.

If I remove the layer without geometry, the Zoom Full works as expected.

QGIS master with PostGIS 2.0 on Windows 7 64 bit.

James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/


http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


RE: [Qgis-developer] Possible display bugs

2012-04-10 Thread James Stott
I updated QGIS Master this morning.


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/

-Original Message-
From: Giovanni Manghi [mailto:giovanni.man...@gmail.com]
Sent: 10 April 2012 10:22
To: James Stott
Cc: Marco Hugentobler; qgis-developer@lists.osgeo.org
Subject: RE: [Qgis-developer] Possible display bugs

On Tue, 2012-04-10 at 09:28 +0100, James Stott wrote:
> I was just able to recreate the issue on Ubuntu (64 bit running in 
> VirtualBox). I have updated the ticket.


Hi James,

I still cannot see the issue on Ubuntu (64bit), did you updated to the latest 
build?

cheers

-- Giovanni --


http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


RE: [Qgis-developer] Possible display bugs

2012-04-10 Thread James Stott
I was just able to recreate the issue on Ubuntu (64 bit running in VirtualBox). 
I have updated the ticket.


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/

-Original Message-
From: qgis-developer-boun...@lists.osgeo.org 
[mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of Giovanni Manghi
Sent: 09 April 2012 10:49
To: Marco Hugentobler
Cc: qgis-developer@lists.osgeo.org
Subject: Re: [Qgis-developer] Possible display bugs

>  I cannot reproduce the
> second one (didn't try on Win yet).

It really happens just on Win, not Linux (didn't tested Mac).

cheers

-- Giovanni --

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

http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Possible display bugs

2012-04-05 Thread James Stott
I am using QGIS Master on Windows 7 64bit.

Whenever I add a new layer to the map QGIS zooms to the extent of all
layers in the map. This can be very slow when using layers with lots of
data in them.

Also, if I select all of the layers in the layer control and untick
them, not all of them untick. It seems to untick different layers each
time I do it but not all of them.

Can anyone else reproduce?


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/


http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Scale bar problems with 2 maps on 1 composer

2012-02-10 Thread James Stott
I am getting a problem where if I have two maps on a composer. When I
reopen a project the scale bar is reverting to the wrong one (map 1
which is my inset map rather than map 0 which is my main map).

To reproduce, place two maps on a composer (set the 2nd one to a
different scale to the first one - in my project the maps are at 1:4
and 1:1).
Tell the scale bar to be linked to map 0.
Save project, close QGIS then reopen and load project again.
Open composer
Scale bar now is linked to map 1 not map 0 and the size of the bar will
have changed.

It seems to remember all the other settings (e.g. segment size stays the
same which leads the scale bar to be very wide).

Can anyone else confirm?

Using OSGEO4W qgis-dev.

James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/


http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


RE: [Qgis-developer] Composer redesign

2012-02-06 Thread James Stott
Thank you Nathan that would be great if any of those things could happen. 
Controlling what updates would be one way around it.



I did have another thought with regards to multi line legend items, it could 
possibly be useful to allow the use of a character which signifies the need to 
use a new line, like in the new labelling where you can 'Wrap label on 
character'.



Andreas - good point, we always have a standard legend panel so it doesn't 
affect us - the legend always stays the same dimensions.



From: Nathan Woodrow [mailto:madman...@gmail.com]
Sent: 06 February 2012 14:10
To: James Stott
Cc: Andreas Neumann; qgis-developer@lists.osgeo.org
Subject: Re: [Qgis-developer] Composer redesign



Jamas and Andreas,



I see what you mean.  It is a bit of a pain, not very ideal.



I'll see what I can do to improve this. Can't promise anything yes but I'll 
have look anyway.



I suspect a redesign of the legend widget to allow more finer control of each 
item is in order.  One thing I have thought of is control what gets updated 
when you click update e.g. only update style; only update text; update style 
and text.  Things like that.



- Nathan

On Mon, Feb 6, 2012 at 11:48 PM, James Stott  
wrote:

Nathan that would be really good if you could take a look at whether multi line 
item labels are possible.

That does do it for 2 but it then reverts back to what it was originally if you 
update the layer in the legend doesn't it or have I missed something?

I want to be able to update all legend items in one go and not have to tweak 
the legend text each time. Clients can be very good at changing the styles a 
lot (even when a map is pretty much finished) and if I update then I have to 
change the text again in the legend. It's very easy to forget to make the 
legend as it was before you updated it to reflect the style change.

Andreas, I use the following workaround for the 'Legend' Title text issue.

1) Place a rectangle on your composer as the boundary of your legend area.
2) Place a legend within the rectangle
3) For the legend, delete the text 'Legend'
4) On General Options for the legend, set it to have no frame and make it 
completely opaque (slide the opacity slider right to the left).
5) Then realign your legend on the composer so that the top item in the legend 
is just below the frame of the rectangle.

This will then make it look like there isn't a gap at the top of the legend.


James


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/

-Original Message-
From: qgis-developer-boun...@lists.osgeo.org 
[mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of Andreas Neumann

Sent: 06 February 2012 13:38
To: qgis-developer@lists.osgeo.org
Subject: Re: [Qgis-developer] Composer redesign

> For 2) I normally just delete the text in the Legend Items tab for
> each item I don't want to show including layer names or group names.
>  Does this do what you need? or have I missed something.

 At least with the "Title" you also have to set the font to something
 really small (1pt), otherwise you would still get an empty row at the
 top of the legend. This is obvious if you also use a frame around the
 legend. Event with setting the font-very small you would still get more
 margin on top of the legend than on the bottom or the sides.

 For the groups or layernames - yes, you can delete them manually. But
 it would be more handy if one could suppress all of them with a
 checkbox. Whereas for groups and layers there is a manual workaround,
 for the "Title" there is no satisfying workaround in my opinion.

 Andreas


--
 --
 Andreas Neumann
 Böschacherstrasse 10A
 8624 Grüt (Gossau ZH)
 Switzerland
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp 
<http://www.npaconsult.co.uk/http:/www.npaconsult.co.uk/about-news.asp>
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associat

RE: [Qgis-developer] Composer redesign

2012-02-06 Thread James Stott
Nathan that would be really good if you could take a look at whether multi line 
item labels are possible.

That does do it for 2 but it then reverts back to what it was originally if you 
update the layer in the legend doesn’t it or have I missed something?

I want to be able to update all legend items in one go and not have to tweak 
the legend text each time. Clients can be very good at changing the styles a 
lot (even when a map is pretty much finished) and if I update then I have to 
change the text again in the legend. It's very easy to forget to make the 
legend as it was before you updated it to reflect the style change.

Andreas, I use the following workaround for the 'Legend' Title text issue.

1) Place a rectangle on your composer as the boundary of your legend area.
2) Place a legend within the rectangle
3) For the legend, delete the text 'Legend'
4) On General Options for the legend, set it to have no frame and make it 
completely opaque (slide the opacity slider right to the left).
5) Then realign your legend on the composer so that the top item in the legend 
is just below the frame of the rectangle.

This will then make it look like there isn't a gap at the top of the legend.

James


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/

-Original Message-
From: qgis-developer-boun...@lists.osgeo.org 
[mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of Andreas Neumann
Sent: 06 February 2012 13:38
To: qgis-developer@lists.osgeo.org
Subject: Re: [Qgis-developer] Composer redesign

> For 2) I normally just delete the text in the Legend Items tab for
> each item I don't want to show including layer names or group names.
>  Does this do what you need? or have I missed something.

 At least with the "Title" you also have to set the font to something
 really small (1pt), otherwise you would still get an empty row at the
 top of the legend. This is obvious if you also use a frame around the
 legend. Event with setting the font-very small you would still get more
 margin on top of the legend than on the bottom or the sides.

 For the groups or layernames - yes, you can delete them manually. But
 it would be more handy if one could suppress all of them with a
 checkbox. Whereas for groups and layers there is a manual workaround,
 for the "Title" there is no satisfying workaround in my opinion.

 Andreas


--
 --
 Andreas Neumann
 Böschacherstrasse 10A
 8624 Grüt (Gossau ZH)
 Switzerland
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


RE: [Qgis-developer] Composer redesign

2012-02-06 Thread James Stott
The new composer works fine for me. Nice changes - I like the new layout. It's 
really good to see the composer getting some work on it.

Nathan, just out of interest do you know how much effort it would take to 
implement the following:

1)  Text over two lines for legend item text
2)  Tick boxes to allow you to turn off the following in the vector legend 
on a composer:
a.  Title text
b.  Group text
c.  Layer text

Number 1 above is really holding us back from producing our maps straight from 
QGIS. Some of the text that we have to put in legends is too long to go on one 
line, and just goes off the edge of the page.

2c above, we do not always want to show text for a layer name (Layer Text) but 
would rather show the text next to the swatch sample on the legend (i.e. Item 
Text in the legend). At the moment to work around this we have to set the layer 
name to nothing and use one of the rule based renderers to get text into the 
item text. The downside with this is that if you want to do anything with the 
layers (i.e. use them in any of the tools within QGIS); you cannot see the 
layer name in any of the drop down menus as we have set this to nothing. Having 
the ability to turn off the Layer text in the legend would enable us to give 
layers names, but not have them show up on the legend.

James


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/

-Original Message-
From: qgis-developer-boun...@lists.osgeo.org 
[mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of Andreas Neumann
Sent: 05 February 2012 15:23
To: Nathan Woodrow
Cc: qgis-developer@lists.osgeo.org
Subject: Re: [Qgis-developer] Composer redesign

Hi Nathan

> I have changed the add shape to now behave like this.  In the future it
> might be best to create a whole toolbar just for drawing stuff but for now
> this will do.

cool thanks! yeah - of course one can improve the drawing tools - but
the question is how far one should go. There are more powerful tools for
drawing complex elements, like Inkscape.

> I did have some ideas about creating a way to have custom objects so that
> you could create a title block from an image, a legend and a label, then
> save it as its own object you can drop onto the canvas pre-built. However
> that is a little out of my skills and time at the moment so I'll leave that
> up to someone else to play with if they are game.

Currently one can use the templates. This works fine for my purpose.

Thanks for the improvements. No issues so far - I will send a bug-report
if I come across problems.

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

http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Composers are not showing as seperate windows in Windows Taskbar

2012-01-26 Thread James Stott
I updated QGIS-dev this morning. When I open a composer it is not
showing as a separate window in Windows on the taskbar. When I minimise
a composer window it minimises within the QGIS main window.

Is this intentional or a bug?

Also the icons on the composer toolbars ignored the icon size of the
main QGIS window.



James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/


http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Editing MapInfo Layers?

2012-01-12 Thread James Stott
I have noticed in the latest version of QGIS from OSGEO4W that I am able
to make MapInfo tab files editable but when I try and save the edits it
errors with

Could not commit changes to layer Pond Locations

Errors: ERROR: 1 attribute value change(s) not applied.

The Toggle Editing Mode and Save Edits buttons are available on the main
QGIS dialog window but are greyed out on attribute table dialog.

Is this a bug?

James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/


http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


RE: [Qgis-developer] WMS Error when accessing layer properties

2011-12-22 Thread James Stott
How would I get the debug output and gdb backtrace so I can submit them?


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/

-Original Message-
From: Ivan Mincik [mailto:ivan.min...@gmail.com]
Sent: 21 December 2011 21:26
To: James Stott
Cc: qgis-developer@lists.osgeo.org
Subject: Re: [Qgis-developer] WMS Error when accessing layer properties

On Wed, Dec 21, 2011 at 4:24 PM, James Stott
 wrote:
> It still won't work on Windows (OSGeo4W - updated this morning to 1.9.90-25).
>
> I was hoping that I could somehow edit the project file to set it to 
> grayscale. But I can't even test if I can set a WMS to grayscale as I cannot 
> get into any WMS feeds properties.

Maybe You can provide some debug output and gdb backtrace to help devs
to understand the problem.

http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


RE: [Qgis-developer] WMS Error when accessing layer properties

2011-12-21 Thread James Stott
It still won't work on Windows (OSGeo4W - updated this morning to 1.9.90-25).

I was hoping that I could somehow edit the project file to set it to grayscale. 
But I can't even test if I can set a WMS to grayscale as I cannot get into any 
WMS feeds properties.


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/

-Original Message-
From: qgis-developer-boun...@lists.osgeo.org 
[mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of Richard 
Duivenvoorde
Sent: 21 December 2011 13:20
To: qgis-developer@lists.osgeo.org
Subject: Re: [Qgis-developer] WMS Error when accessing layer properties

On 2011-12-21 13:58, James Stott wrote:
> Did anyone else manage to get the same error loading the WMS feed I supplied?

Yes, I succeeded

> Does anyone know how I can make a WMS layer grayscale without being able to 
> get into the layer properties dialog?

Nope, and I did not know that this should be possible anyway for a wms
(please show me if it IS possible).

Should this not be a WMS style?

Regards

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

http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


RE: [Qgis-developer] WMS Error when accessing layer properties

2011-12-21 Thread James Stott
Did anyone else manage to get the same error loading the WMS feed I supplied?

Does anyone know how I can make a WMS layer grayscale without being able to get 
into the layer properties dialog?


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/

-Original Message-
From: qgis-developer-boun...@lists.osgeo.org 
[mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of James Stott
Sent: 19 December 2011 16:14
To: giovanni.man...@gmail.com; rich...@duif.net
Cc: qgis-developer@lists.osgeo.org; Ivan Mincik
Subject: RE: [Qgis-developer] WMS Error when accessing layer properties

I get an error on QGIS 1.9 on OSGeo4W.

It errors on this publically available WMS feed:

http://gis.nbn.org.uk/arcgis/rest/services/grids/SingleSpeciesMap/NHMSYS080214/WMSServer?VERSION=1.3.0&BBOX=0,0,70,90&WIDTH=640&;
HEIGHT=640&TRANSPARENT=true&CRS=EPSG:27700

It errors on both right click and double click.

I also am getting problems with another WMS feed but I am unavailable to 
provide the link to that.

James



James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/

-Original Message-
From: qgis-developer-boun...@lists.osgeo.org 
[mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of Giovanni Manghi
Sent: 19 December 2011 15:14
To: rich...@duif.net
Cc: qgis-developer@lists.osgeo.org; Ivan Mincik
Subject: Re: [Qgis-developer] WMS Error when accessing layer properties


> Me neither a20cec3 on Ubuntu Natty. Both ways work. Is it a public
> service? Can we try that service?

in my linux and windows installations it crashes with any kind of local
(qgis-server, mapserver)/remote WMS servers.

I removed also any python plugin just to be sure something it was
interfering.

cheers

-- Giovanni --

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

http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
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] WMS Error when accessing layer properties

2011-12-19 Thread James Stott
I get an error on QGIS 1.9 on OSGeo4W.

It errors on this publically available WMS feed:

http://gis.nbn.org.uk/arcgis/rest/services/grids/SingleSpeciesMap/NHMSYS080214/WMSServer?VERSION=1.3.0&BBOX=0,0,70,90&WIDTH=640&;
HEIGHT=640&TRANSPARENT=true&CRS=EPSG:27700

It errors on both right click and double click.

I also am getting problems with another WMS feed but I am unavailable to 
provide the link to that.

James



James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/

-Original Message-
From: qgis-developer-boun...@lists.osgeo.org 
[mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of Giovanni Manghi
Sent: 19 December 2011 15:14
To: rich...@duif.net
Cc: qgis-developer@lists.osgeo.org; Ivan Mincik
Subject: Re: [Qgis-developer] WMS Error when accessing layer properties


> Me neither a20cec3 on Ubuntu Natty. Both ways work. Is it a public
> service? Can we try that service?

in my linux and windows installations it crashes with any kind of local
(qgis-server, mapserver)/remote WMS servers.

I removed also any python plugin just to be sure something it was
interfering.

cheers

-- Giovanni --

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

http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


RE: [Qgis-developer] Quality assurance

2011-12-19 Thread James Stott
Should we devise test scripts to make sure that exactly the same things are 
tested each time and that the software meets these requirements?

I would be happy to look into Layer Properties, attribute tables or composers.


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/

-Original Message-
From: qgis-developer-boun...@lists.osgeo.org 
[mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of Giovanni Manghi
Sent: 19 December 2011 09:34
To: Andreas Neumann
Cc: qgis-developer@lists.osgeo.org
Subject: RE: [Qgis-developer] Quality assurance

On Mon, 2011-12-19 at 10:20 +0100, Andreas Neumann wrote:
> +1 - I would also be willing to take responsibility as a tester. I
>  could do the "Print Composer" testing.


I also subscribe and as I said I know two other persons (not members of
this list, but heavy QGIS users) that are willingly to subcribe too.

cheers

-- Giovanni --

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

http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


RE: [Qgis-developer] Quality assurance

2011-12-19 Thread James Stott
I would be very willing to sign up as a tester.


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/

-Original Message-
From: qgis-developer-boun...@lists.osgeo.org 
[mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of Ivan Mincik
Sent: 17 December 2011 17:53
To: qgis-developer@lists.osgeo.org
Subject: Re: [Qgis-developer] Quality assurance

I think this is a time to seriously think about creating complete test
suite for all core classes as one of the main targets for version 2.0.
We can try public crowdfunding campaign to support work. I will
definitely send my 100 EUR if others will join.

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

http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] WMS Error when accessing layer properties

2011-12-14 Thread James Stott
Has anyone else noticed that QGIS is crashing when you try and access
the layer properties for a WMS layer?

This happens if I double click on the layer in the layer panel or if I
right click and select properties.

I am using 1.9.90-21 from OSGeo4W.


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/


http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


RE: [Qgis-developer] Re: 1.8 release?

2011-12-08 Thread James Stott
Same here for the Line pattern and point pattern fills.


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/

-Original Message-
From: qgis-developer-boun...@lists.osgeo.org 
[mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of Etienne Tourigny
Sent: 08 December 2011 14:53
Cc: qgis-developer@lists.osgeo.org
Subject: Re: [Qgis-developer] Re: 1.8 release?

It's a little late to add to this discussion, but I strongly support a
1.8 release, especially in light of the eminent API changes.

I love the new Browser dock window, and would like to see it in a
stable version.

regards, Etienne

On Sat, Nov 12, 2011 at 8:26 AM, Tim Sutton  wrote:
> Hi Alex
>
> On Sat, Nov 12, 2011 at 9:29 AM, Alexander Bruy
>  wrote:
>> Hi Tim,
>>
>> so from now we should backport fixes only into 1.8 branch? Or 1.7.2
>> also will be released?
>>
>
> So the plan is this:
>
> - Werner Macho will maintain 1.7.x branch until 1.8 comes out (which
> will take probably around a month)
> - Once 1.8 comes out Werner will do the point release maintenance and
> I will focus on 1.9.99 beta releases leading up to QGIS 2.0
>
> So when 1.8 is out, just backport to the release-1_8 branch, the
> releases will then be branched from there to release-1_8_1
>
> Hope that makes sense.
>
> Regards
>
> Tim
>
>
>> 2011/11/12 Tim Sutton :
>>>
>>> Ok so I am going to branch 1.8 tonight and try to release it when I
>>> get back to South Africa (I will post the release timetable only
>>> then). Feel free to backport anything useful into 1.8 until we hit
>>> feature freeze. That will free us up to start taking things apart a
>>> little on master.
>>
>> Thanks
>> --
>> Alexander Bruy
>>
>
>
>
> --
> Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
> ==
> Please do not email me off-list with technical
> support questions. Using the lists will gain
> more exposure for your issues and the knowledge
> surrounding your issue will be shared with all.
>
> Visit http://linfiniti.com to find out about:
>  * QGIS programming and support services
>  * Mapserver and PostGIS based hosting plans
>  * FOSS Consulting Services
> Skype: timlinux
> Irc: timlinux on #qgis at freenode.net
> ==
> ___
> 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

http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] problems with Identify and select tool

2011-11-29 Thread James Stott
Has anyone else had problems with the identify and the select tool? They seem 
to have appeared in the last couple of days as it worked last week.

I get an error message whenever I click on the map with either tool.  It does 
this for every vector layer. It still returns values for the raster layer I am 
using as background mapping.

I am running 1.9.90.7 OSgeo4W.

The error is as follows:

Query Failed:
1 cursor states lost.
SQL: declare qgisf11 binary cursor for select 
"gid",asbinary("the_geom",'NDR'),"name"::text,"theme"::text,"themname"::text,"themid"::text,"status"::text,"perimeter"::text,"area"::text,"gridref"::text
 from "data"."awi" where "the_geom" && setsrid('BOX3D(177120.8977402151504066 
59808.3671354566467926, 177233.5664761684311088 
59921.0358714099420467)'::box3d,27700) and 
intersects("the_geom",setsrid('BOX3D(177120.8977402151504066 
59808.3671354566467926, 177233.5664761684311088 
59921.0358714099420467)'::box3d,27700)))
Result: 7 (ERROR: syntax error at or near ")"
LINE 1: ...33.5664761684311088 59921.0358714099420467)'::box3d,27700)))
^
)


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/


http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] RE: [Qgis-user] Scale seems strange in

2011-11-10 Thread James Stott
Fixed with the latest update. Thanks for fixing this.


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/

-Original Message-
From: Giovanni Manghi [mailto:giovanni.man...@gmail.com]
Sent: 04 November 2011 16:42
To: James Stott
Cc: Brad Nesom; qgis-u...@lists.osgeo.org; qgis-developer@lists.osgeo.org
Subject: RE: [Qgis-user] Scale seems strange in


Hi,

I can confirm that in my qgis-master on Ubuntu 11.10 the scale is going
crazy with epsg:3763 and others projected CRSs. Seems fine with WGS85.

Cheers

-- Giovanni --


On Fri, 2011-11-04 at 09:15 +, James Stott wrote:
> Thanks for the response and your explanation. It helped to cement what
> I already thought.
>
>
>
> My point is I think something has gone strange with EPSG 27700 in QGIS
> at the moment. It works fine on 1.7.1 and not on the OSGeo4W
> 1.8.0-120. It never used to set the units to degrees – it should be
> metres.
>
>
>
> I think that QGIS is getting the default units wrong for 27700. The
> coordinate system definition states that the units should be m.
>
>
>
> I am also reporting this behaviour on my windows computer at home
> (completely separate to the computers we have the issue on at work)
> and a computer using Ubuntu 11.10. And on a windows machine on
> (1.8.0-78) it works fine.
>
>
>
> I have also noticed a change in the behaviour of Save As... When
> exporting to MapInfo MIF. Previously QGIS was getting the export wrong
> and using BNG with WGS84, now it is exporting it to BNG with OSGB36
> (which is correct).
>
>
>
>
> James Stott BSc (Hons) MSc | Senior Professional
> Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
> T: 01225 445548 | M: -
> www.npaconsult.co.uk
>
>
>
> From: kidsmake6until2...@gmail.com
> [mailto:kidsmake6until2...@gmail.com] On Behalf Of Brad Nesom
> Sent: 02 November 2011 19:49
> To: James Stott
> Cc: Saber Razmjooei; qgis-u...@lists.osgeo.org
> Subject: Re: [Qgis-user] Scale seems strange in
>
>
>
>
> so did you understand why?
>
>
> lat lon is not an equidistant coordinate system. It is an angular
> measure. The graticules merge closer togehter the further north they
> go.
>
>
> When you overlay data projected to ll onto a flat surface the lengths
> east west at the top are shorter than the lengths east west at the
> bottom.
>
>
> that is what is changing the scale because without zooming the scale
> of the objects would change by panning the map north and south.
>
>
> Nothng about the scale is changing except the distance measured
> across. No coordinate values.
>
>
> HTH
>
>
>
>
>
>
>
> On Wed, Nov 2, 2011 at 10:12 AM, James Stott
>  wrote:
>
> If I use the arrow keys to pan north and south the scale changes. If I
> use them to pan left and right it doesn’t change.
>
>
>
>
> James Stott BSc (Hons) MSc | Senior Professional
> Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
> T: 01225 445548 | M: -
> www.npaconsult.co.uk
>
>
> From: kidsmake6until2...@gmail.com
> [mailto:kidsmake6until2...@gmail.com] On Behalf Of Brad Nesom
> Sent: 02 November 2011 15:00
> To: James Stott
> Cc: Saber Razmjooei; qgis-u...@lists.osgeo.org
> Subject: Re: [Qgis-user] Scale seems strange in
>
>
>
>
> I am thinking rather than that it is just the fact that when you use
> degrees, moving in the map would give you a different scale.
>
>
> Because every time you move north or south you have changed the length
> of the x distance.
>
>
> If you pan left and right (very carefully) do you see the scale not
> change?
>
>
>
>
>
>
>
> On Wed, Nov 2, 2011 at 9:02 AM, James Stott
>  wrote:
>
> Could this just be a windows thing then? I tried an older version of
> qgis-dev (1.8.0-78) on a different windows machine in the office and
> there are no problems. Metres should be the default setting for 27700
> shouldn't it not degrees?
>
>
> James Stott BSc (Hons) MSc | Senior Professional
> Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
> T: 01225 445548 | M: -
> http://www.npaconsult.co.uk/
>
> -Original Message-
> From: Saber Razmjooei [mailto:razmjoo...@faunalia.co.uk]
> Sent: 02 November 2011 10:48
> To: James Stott
> Cc: qgis-u...@lists.osgeo.org
> Subject: RE: [Qgis-user] Scale seems strange in
>
> James
>
> I am using QGIS-Trunk under ubuntu 10.04. The canvas projection is set
> to 27700 and Layer unit to metre.
>
> The scale seems to be fine and not affected by panning.
>
> Cheers
> Saber
>
> On Wed, 2011-11-

RE: [Qgis-developer] QGIS Desktop Updates from OSGeo4W

2011-09-23 Thread James Stott
Thanks for the update.

Good luck with getting everything back running.

-Original Message-
From: Alex Mandel [mailto:tech_...@wildintellect.com] 
Sent: 23 September 2011 09:34
To: James Stott
Cc: qgis-developer@lists.osgeo.org
Subject: Re: [Qgis-developer] QGIS Desktop Updates from OSGeo4W

On 09/23/2011 01:04 AM, James Stott wrote:
> It has been about 2 weeks now since the last update. Does anyone know
> why?
> 
>  
> 
> There is a fix to locked layers that I would really love to test out.
> 
> 

The OSGeo download server has been running on a backup copy since a
power outage in San Diego. We hope to have something up next week so
that regularly scheduled uploads of packages can resume. Until then
nightly builds probably can't be uploaded without changes to the
existing workflow.

Thanks,
Alex
OSGeo Systems Administration Committee
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


RE: [Qgis-developer] QGIS Desktop Updates from OSGeo4W

2011-09-23 Thread James Stott
It has been about 2 weeks now since the last update. Does anyone know
why?

 

There is a fix to locked layers that I would really love to test out.

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


RE: [Qgis-developer] DB Manager release

2011-09-15 Thread James Stott
I cannot recreate the error now as the plugin manager is only finding version 
0.1.0 of the plugin.


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/

-Original Message-
From: Saber Razmjooei [mailto:razmjoo...@faunalia.co.uk]
Sent: 15 September 2011 16:00
To: James Stott
Cc: Yves Jacolin; qgis-developer@lists.osgeo.org; cavall...@faunalia.it; 
qgis-user
Subject: RE: [Qgis-developer] DB Manager release

James

Could you post the error?

Cheers
Saber

On Thu, 2011-09-15 at 15:37 +0100, James Stott wrote:
> I just tried to upgrade the plugin (it just came up with the new version 
> recently) and it crashed and said I was missing a dependency. I think it was 
> something tinker (I have forgotten exactly what it was)?
>
> I am using QGIS 1.8 from OSGEO4W on XP.
>
>
> James Stott BSc (Hons) MSc | Senior Professional
> Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
> T: 01225 445548 | M: -
> http://www.npaconsult.co.uk/
>
> -Original Message-
> From: qgis-developer-boun...@lists.osgeo.org 
> [mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of Yves Jacolin
> Sent: 15 September 2011 13:18
> To: qgis-developer@lists.osgeo.org; cavall...@faunalia.it
> Cc: qgis-user
> Subject: Re: [Qgis-developer] DB Manager release
>
> Great! Thanks to all!
>
> Y.
> Le jeudi 15 septembre 2011 14:18:20, Paolo Cavallini a écrit :
> > Hi all.
> > Thanks to the hard work of Giuseppe Sucameli, the supervision of Martin
> > Dobias, and the support of Google for its Summer of Code initiative, DB
> > Manager is now available. DBManager's aim is to merge together some QGis
> > DB plugins, e.g. PGManager, SLManager, RT_Sql_Layer.
> > In this moment it works with both PostgreSQL and SQLite databases and it
> > displays the list of tables, info about the selected table, table data and
> > preview, but also allows to rename/delete tables through its GUI and run
> > query on the selected database, so at this stage it replaces at all
> > SLManager.
> > Thanks to Mauricio De Paulo (mauriciodev), now DB Manager also supports
> > PostGIS Rasters! The last DB Manager version has support to Import Vector
> > Layer feature by drag'n'drop a layer from the QGis browser (or even DB
> > Manager) to a database in the DBManager GUI. The Import Vector Layer
> > feature allows to import/copy any vector layer QGis can load between
> > different datasources, i.e. PostGIS/SpatiaLite databases and OGR files.
> > It's available through the QgsVectorLayerImport class and it has just been
> > merged in master branch.
> > See [1] for an example of use.
> > Faunalia is committed to support the development of this tool, and other DB
> > plugin developers are welcome to join and merge their work, it this makes
> > sense, to reduce confusion for users.
> > Enjoy.
> >
> > [1] http://www.youtube.com/watch?v=bBe7WctSAXI
>



http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


RE: [Qgis-developer] DB Manager release

2011-09-15 Thread James Stott
I just tried to upgrade the plugin (it just came up with the new version 
recently) and it crashed and said I was missing a dependency. I think it was 
something tinker (I have forgotten exactly what it was)?

I am using QGIS 1.8 from OSGEO4W on XP.


James Stott BSc (Hons) MSc | Senior Professional
Nicholas Pearson Associates | 30 Brock Street | Bath | BA1 2LN
T: 01225 445548 | M: -
http://www.npaconsult.co.uk/

-Original Message-
From: qgis-developer-boun...@lists.osgeo.org 
[mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of Yves Jacolin
Sent: 15 September 2011 13:18
To: qgis-developer@lists.osgeo.org; cavall...@faunalia.it
Cc: qgis-user
Subject: Re: [Qgis-developer] DB Manager release

Great! Thanks to all!

Y.
Le jeudi 15 septembre 2011 14:18:20, Paolo Cavallini a écrit :
> Hi all.
> Thanks to the hard work of Giuseppe Sucameli, the supervision of Martin
> Dobias, and the support of Google for its Summer of Code initiative, DB
> Manager is now available. DBManager's aim is to merge together some QGis
> DB plugins, e.g. PGManager, SLManager, RT_Sql_Layer.
> In this moment it works with both PostgreSQL and SQLite databases and it
> displays the list of tables, info about the selected table, table data and
> preview, but also allows to rename/delete tables through its GUI and run
> query on the selected database, so at this stage it replaces at all
> SLManager.
> Thanks to Mauricio De Paulo (mauriciodev), now DB Manager also supports
> PostGIS Rasters! The last DB Manager version has support to Import Vector
> Layer feature by drag'n'drop a layer from the QGis browser (or even DB
> Manager) to a database in the DBManager GUI. The Import Vector Layer
> feature allows to import/copy any vector layer QGis can load between
> different datasources, i.e. PostGIS/SpatiaLite databases and OGR files.
> It's available through the QgsVectorLayerImport class and it has just been
> merged in master branch.
> See [1] for an example of use.
> Faunalia is committed to support the development of this tool, and other DB
> plugin developers are welcome to join and merge their work, it this makes
> sense, to reduce confusion for users.
> Enjoy.
>
> [1] http://www.youtube.com/watch?v=bBe7WctSAXI

--
Yves Jacolin

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

http://www.npaconsult.co.uk/http://www.npaconsult.co.uk/about-news.asp
http://www.npaconsult.co.uk/terms.asp
This Electronic Transmission is intended only for the attention of the 
addressee. It may contain privileged and confidential information. If you are 
not the person for whom it is intended, you must not copy, distribute or take 
any action in reliance on it. If you have received this electronic transmission 
in error please notify us immediately by telephone, delete the transmission and 
destroy any hard copies.
Nicholas Pearson Associates has used all reasonable efforts to ensure that this 
message and any attachments are free from viruses.
Nicholas Pearson Associates, 30 Brock Street, Bath, BA1 2LN , Tel: +44 (0) 
01225 445548, Fax: +44 (0) 01225 312387, Website: http://www.npaconsult.co.uk/
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer