Re: [Qgis-developer] Size of bar?

2012-09-21 Thread leyan ouyang

It allows you to change the length of the scale bar, but it is strangely 
limited to two digits and will get reset if the value is not judged in the good 
range. 
Try to input a value like 40 and zoom until 40m would be considered an 
acceptable value. There will be a few level of zoom where the bar is set to 
40m. Once you zoom in or zoom out too far, it will get calculated as usual.

I agree that this behavior is not very good nor intuitive ...

Regards,

Leyan

 Date: Fri, 21 Sep 2012 07:45:27 +0200
 From: cavall...@faunalia.it
 To: qgis-developer@lists.osgeo.org
 Subject: [Qgis-developer] Size of bar?
 
 Hi all.
 What is the use of the ViewDecorationsScale barSize of bar? I tried 
 changing it,
 but I do not see an effect.
 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
  ___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] invalid conversion from 'void*' to 'OGRSpatialReferenceHS*'

2012-09-21 Thread Even Rouault
Selon Marco Bernasocchi ma...@bernawebdesign.ch:

 hi every body, updating to th letest android qt version is being tougher
 than planned ... I got all the dependencies ok now but building qgis gives
 me this errors below. any Ideas? this is using android ndk 8b with gcc 4.4.3

 thanks a lot

 /home/marco/dev/Quantum-GIS/src/core/qgscoordinatereferencesystem.cpp:
 In destructor
 'QgsCoordinateReferenceSystem::~QgsCoordinateReferenceSystem()':
 /home/marco/dev/Quantum-GIS/src/core/qgscoordinatereferencesystem.cpp:78:
 error:
 invalid conversion from 'void*' to 'OGRSpatialReferenceHS*'

There's an error in
https://github.com/qgis/Quantum-GIS/blob/master/src/core/qgscoordinatereferencesystem.h#L475

The pointer should be of type OGRSpatialReferenceH instead of void*

The compilation error must be unnoticed for people compiling QGIS without
-DDEBUG defined, but when -DDEBUG is actually defined, OGRSpatialReferenceH is
no longer aliased to void*. See
http://trac.osgeo.org/gdal/browser/trunk/gdal/ogr/ogr_api.h#L59
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Need help building QGIS on Windows

2012-09-21 Thread Devdatta Tengshe
Hi,
I am trying to build a customized build of QGIS (which will have only a few
tools  menus visible). I tried following the instructions given on page
http://www.qgis.org/api/INSTALL.html#toc14, but faced a problem:
The instructions mention that Microsoft Windows Server® 2003 R2 Platform
SDK (for setupapi) is required, and can be downloaded from:
http://download.microsoft.com/download/f/a/d/fad9efde-8627-4e7a-8812-c351ba099151/PSDK-x86.exe
This
link is now dead.

After searching on Microsoft's side, I found that the Windows® Server 2003
SP1 Platform SDK Web Install is available at
http://www.microsoft.com/en-us/download/details.aspx?id=6510. Will this
work?

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


[Qgis-developer] Fwd: Re: invalid conversion from 'void*' to 'OGRSpatialReferenceHS*'

2012-09-21 Thread Marco Bernasocchi



 Original Message 
Subject: Re: [Qgis-developer] invalid conversion from 'void*' to
'OGRSpatialReferenceHS*'
Date: Fri, 21 Sep 2012 15:43:58 +0700
From: Marco Bernasocchi ma...@bernawebdesign.ch
To: Even Rouault even.roua...@mines-paris.org

Thanks Even,
bizarre that nobody had that issue before no?

ciao
Marco
On 09/21/2012 03:27 PM, Even Rouault wrote:
 Selon Marco Bernasocchi ma...@bernawebdesign.ch:
 
 hi every body, updating to th letest android qt version is being tougher
 than planned ... I got all the dependencies ok now but building qgis gives
 me this errors below. any Ideas? this is using android ndk 8b with gcc 4.4.3

 thanks a lot

 /home/marco/dev/Quantum-GIS/src/core/qgscoordinatereferencesystem.cpp:
 In destructor
 'QgsCoordinateReferenceSystem::~QgsCoordinateReferenceSystem()':
 /home/marco/dev/Quantum-GIS/src/core/qgscoordinatereferencesystem.cpp:78:
 error:
 invalid conversion from 'void*' to 'OGRSpatialReferenceHS*'
 
 There's an error in
 https://github.com/qgis/Quantum-GIS/blob/master/src/core/qgscoordinatereferencesystem.h#L475
 
 The pointer should be of type OGRSpatialReferenceH instead of void*
 
 The compilation error must be unnoticed for people compiling QGIS without
 -DDEBUG defined, but when -DDEBUG is actually defined, OGRSpatialReferenceH is
 no longer aliased to void*. See
 http://trac.osgeo.org/gdal/browser/trunk/gdal/ogr/ogr_api.h#L59
 


-- 
Marco Bernasocchi
http://opengis.ch


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


[Qgis-developer] Fwd: Re: invalid conversion from 'void*' to 'OGRSpatialReferenceHS*'

2012-09-21 Thread Marco Bernasocchi
FYI


 Original Message 
Subject: Re: [Qgis-developer] invalid conversion from 'void*' to
'OGRSpatialReferenceHS*'
Date: Fri, 21 Sep 2012 11:31:01 +0200
From: Even Rouault even.roua...@mines-paris.org
To: Marco Bernasocchi ma...@bernawebdesign.ch
CC: Even Rouault even.roua...@mines-paris.org

Selon Marco Bernasocchi ma...@bernawebdesign.ch:

 Thanks Even,
 bizarre that nobody had that issue before no?


Yes a bit. Check the compilation flags passed in your case. I assume there's
-DDEBUG in them. (or it's defined in some header)

During a long time, OGRSpatialReferenceH (and many other GDAL handles
for other
types) was a typedef of void*, but there were some errors where handles
of one
type were incorrectly passed to functions that were expecting another
type. So
it was decided that in DEBUG mode, a stricter type checking would be done to
help catching such errors, while in release mode, this wouldn't change
to avoid
affecting existing user code.



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


Re: [Qgis-developer] invalid conversion from 'void*' to 'OGRSpatialReferenceHS*'

2012-09-21 Thread Marco Bernasocchi
Hi Even,

On 09/21/2012 04:31 PM, Even Rouault wrote:
 Selon Marco Bernasocchi ma...@bernawebdesign.ch:
 
 Thanks Even,
 bizarre that nobody had that issue before no?

 
 Yes a bit. Check the compilation flags passed in your case. I assume there's
 -DDEBUG in them. (or it's defined in some header)
I call qgis cmake with CMAKE_BUILD_TYPE=Debug, but I gues I'm not the
first qgis dev to do that :)
 
 During a long time, OGRSpatialReferenceH (and many other GDAL handles for 
 other
 types) was a typedef of void*, but there were some errors where handles of one
 type were incorrectly passed to functions that were expecting another type. So
 it was decided that in DEBUG mode, a stricter type checking would be done to
 help catching such errors, while in release mode, this wouldn't change to 
 avoid
 affecting existing user code.
Sounds reasonable.

Anybody else experiencing this?

ciao
Marco
 


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


Re: [Qgis-developer] Need help building QGIS on Windows

2012-09-21 Thread Tim Sutton
Hi

On Fri, Sep 21, 2012 at 11:22 AM, Devdatta Tengshe devda...@tengshe.in wrote:
 Hi,
 I am trying to build a customized build of QGIS (which will have only a few
 tools  menus visible). I tried following the instructions given on page
 http://www.qgis.org/api/INSTALL.html#toc14, but faced a problem:
 The instructions mention that Microsoft Windows Server® 2003 R2 Platform SDK
 (for setupapi) is required, and can be downloaded from:
 http://download.microsoft.com/download/f/a/d/fad9efde-8627-4e7a-8812-c351ba099151/PSDK-x86.exe
 This link is now dead.

 After searching on Microsoft's side, I found that the Windows® Server 2003
 SP1 Platform SDK Web Install is available at
 http://www.microsoft.com/en-us/download/details.aspx?id=6510. Will this
 work?


Could you try it and let us know if it works ok  then I will update
the documentation.

http://www.microsoft.com/en-us/download/details.aspx?id=6510

Regards

Tim

 Regards,
 Devdatta Tengshe

 ___
 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
==
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] In PostGIS vectors selection dialog Shift+click does not select a range

2012-09-21 Thread Gabriele Monfardini
I'm on master, on Linux 64bit.

In PostGIS vectors selection dialog Shift+click does not select a
range, but selects the current layer as Shift was not pressed.

In other places (f.i. in the legend, shift+click works as expected).
Should I open a bug?

Regards,

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


[Qgis-developer] Colors selection when adding multiple layers could be improved

2012-09-21 Thread Gabriele Monfardini
When adding multiple layers to a map for quick data inspection,
initial color selection is not perfect.

It happens often that some colors are very similar and I have to
change some of them in order to distinguish them better
The very first colors may be chosen to be visually quite different
from each other.

Regards,

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


[Qgis-developer] A perfect day to write a new test!

2012-09-21 Thread Tim Sutton
Hi all, today is a great day to add a new test to QGIS. I had a few
offline queries, so I thought I would mention more publicly, that our
first goal for python tests is to get one test class per Qgs class
made available through the QGIS API. You don't need to test all of
that class, just constructing and destroying an instance would be a
good start. The idea is that we build a framework that is a 'jump in
point' for anyone adding a test so that we can eventually work towards
(mandating?) a workflow like this:

* make some cool new addition to an existing QGIS class
* expose it via sip python bindings
* write a test by simply adding a new test case to an existing python unit test
* run your test and verify that it passes
* send a pull request or push your work

Put more simply, I am aiming for breadth in API coverage first, then
depth. That we we can at least know when we do a release that every
single class exposed by the API exists and is usable at its most basic
level.

I am writing some new tests today too, though they probably wont make
it into master today as I am working on a forked copy of QGIS, but it
would be awesome to get any new contributed tests that others may have
inclination to write!

Happy Test Friday!

Regards

Tim

-- 
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


Re: [Qgis-developer] Problem Displaying Google Satellite Layer in QGIS 1.7.4 Using OpenLayer Plugin 0.93 on Windows 7

2012-09-21 Thread Bruce, Bob (CON)
After doing more testing and investigation I have determined that the problem 
lies somewhere in my corporate (government) IT environment. When I connect the 
same computer to the internet through a FORTIGATE box that is tunnelling 
through and ignoring proxy rules, etc. then it displays the layers fine. 
Incidentally the Bing satellite layer in Winnipeg looks really nice, but the 
Google satellite layer isn't too shabby either.

Would the author of the OpenLayers plugin be possibly able to shed some light 
on what in the IT environment might be preventing this plugin from working 
properly?

Thanks,
Bob Bruce

-Original Message-
From: qgis-user-boun...@lists.osgeo.org 
[mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Bruce, Bob (CON)
Sent: September-19-12 4:13 PM
To: 'QGIS User List'
Subject: [Qgis-user] Problem Displaying Google Satellite Layer in QGIS 1.7.4 
Using OpenLayer Plugin 0.93 on Windows 7

When I try and add a google satellite layer to my project, I get a python error 
and traceback  as follows:
An error has occured while executing Python code:

Traceback (most recent call last):
  File 
C:/Users/bbruce/.qgis/python/plugins\openlayers\openlayers_layer.py, line 
109, in draw
self.render(rendererContext)
  File 
C:/Users/bbruce/.qgis/python/plugins\openlayers\openlayers_layer.py, line 
164, in render
olWidth = rendererContext.extent().width() / olRes
UnboundLocalError: local variable 'olRes' referenced before 
assignment

Python version:
2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]


QGIS version:
1.7.4-Wroclaw Wroclaw, 411aff6 After I close this window, a QGIS 
error window appears with the message: Could not draw Google Satellite 
because: with no other text in it.

I have one vector layer displayed, this has a CRS of 26914 (NAD83 UTM Zone 14), 
my project has a CRS of 3857 (from reading list postings this seemed to be the 
appropriate CRS to use) and I have On the fly reprojection enabled. \

I can see my vector layer OK but not the google satellite layer. I have 
verified that QGIS is communicating with the WWW by connecting to an external 
WMS server.

Can someone help me to get google satellite imagery working, please.

Bob Bruce

**
**Bob Bruce, FEC, P.Eng. Geomatics Support Engineer
**bob.br...@gov.mb.ca   Geospatial Technology Services Management
**work # (204) 945-6636  GeoManitoba, Manitoba Conservation and 
Water Stewardship
**FAX  # (204) 945-1365 1007 Century Street,
**  Winnipeg, Manitoba, Canada, 
R3H 0W4
**  49-54-31.85N,97-12-16.08W
**
** Check out our digital maps at: http://mli2.gov.mb.ca/
** and WMS: http://mlidata.gov.mb.ca/wms/request.aspx
**



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


[Qgis-developer] Draw map canvas item

2012-09-21 Thread Paolo Cavallini
Hi all.
Another question: what is the meaning of the Print layoutMapItem
propertiesMapDraw map canvas item? I do not see an effect toggling it on and 
off.
Thanks.
-- 
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


Re: [Qgis-developer] Size of bar?

2012-09-21 Thread Paolo Cavallini
Il 21/09/2012 09:08, leyan ouyang ha scritto:
 It allows you to change the length of the scale bar, but it is strangely 
 limited to
 two digits and will get reset if the value is not judged in the good range.
 Try to input a value like 40 and zoom until 40m would be considered an 
 acceptable
 value. There will be a few level of zoom where the bar is set to 40m. Once 
 you zoom
 in or zoom out too far, it will get calculated as usual.

Thanks a lot Leyan.

-- 
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


Re: [Qgis-developer] Draw map canvas item

2012-09-21 Thread Tim Sutton
Hi

On Fri, Sep 21, 2012 at 7:11 PM, Paolo Cavallini cavall...@faunalia.it wrote:
 Hi all.
 Another question: what is the meaning of the Print layoutMapItem
 propertiesMapDraw map canvas item? I do not see an effect toggling it on 
 and off.

I *think* (untested) it is to enable annotations in print output.

Regards

Tim

 Thanks.
 --
 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



-- 
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


Re: [Qgis-developer] [Qgis-user] Problem Displaying Google Satellite Layer in QGIS 1.7.4 Using OpenLayer Plugin 0.93 on Windows 7

2012-09-21 Thread Nathan Woodrow
Bob,

Have you added you proxy settings in the Options-Network tab?
OpenLayers doesn't work for me at work if I don't do this.

- Nathan

On Sat, Sep 22, 2012 at 1:41 AM, Bruce, Bob (CON) bob.br...@gov.mb.ca wrote:
 After doing more testing and investigation I have determined that the problem 
 lies somewhere in my corporate (government) IT environment. When I connect 
 the same computer to the internet through a FORTIGATE box that is 
 tunnelling through and ignoring proxy rules, etc. then it displays the 
 layers fine. Incidentally the Bing satellite layer in Winnipeg looks really 
 nice, but the Google satellite layer isn't too shabby either.

 Would the author of the OpenLayers plugin be possibly able to shed some light 
 on what in the IT environment might be preventing this plugin from working 
 properly?

 Thanks,
 Bob Bruce

 -Original Message-
 From: qgis-user-boun...@lists.osgeo.org 
 [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Bruce, Bob (CON)
 Sent: September-19-12 4:13 PM
 To: 'QGIS User List'
 Subject: [Qgis-user] Problem Displaying Google Satellite Layer in QGIS 1.7.4 
 Using OpenLayer Plugin 0.93 on Windows 7

 When I try and add a google satellite layer to my project, I get a python 
 error and traceback  as follows:
 An error has occured while executing Python code:

 Traceback (most recent call last):
   File 
 C:/Users/bbruce/.qgis/python/plugins\openlayers\openlayers_layer.py, line 
 109, in draw
 self.render(rendererContext)
   File 
 C:/Users/bbruce/.qgis/python/plugins\openlayers\openlayers_layer.py, line 
 164, in render
 olWidth = rendererContext.extent().width() / olRes
 UnboundLocalError: local variable 'olRes' referenced before 
 assignment

 Python version:
 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]


 QGIS version:
 1.7.4-Wroclaw Wroclaw, 411aff6 After I close this window, a QGIS 
 error window appears with the message: Could not draw Google Satellite 
 because: with no other text in it.

 I have one vector layer displayed, this has a CRS of 26914 (NAD83 UTM Zone 
 14), my project has a CRS of 3857 (from reading list postings this seemed to 
 be the appropriate CRS to use) and I have On the fly reprojection enabled. \

 I can see my vector layer OK but not the google satellite layer. I have 
 verified that QGIS is communicating with the WWW by connecting to an external 
 WMS server.

 Can someone help me to get google satellite imagery working, please.

 Bob Bruce

 **
 **Bob Bruce, FEC, P.Eng. Geomatics Support Engineer
 **bob.br...@gov.mb.ca   Geospatial Technology Services Management
 **work # (204) 945-6636  GeoManitoba, Manitoba Conservation 
 and Water Stewardship
 **FAX  # (204) 945-1365 1007 Century Street,
 **  Winnipeg, Manitoba, 
 Canada, R3H 0W4
 **  49-54-31.85N,97-12-16.08W
 **
 ** Check out our digital maps at: http://mli2.gov.mb.ca/
 ** and WMS: http://mlidata.gov.mb.ca/wms/request.aspx
 **



 ___
 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] Problem Displaying Google Satellite Layer in QGIS 1.7.4 Using OpenLayer Plugin 0.93 on Windows 7

2012-09-21 Thread Bruce, Bob (CON)
Nathan,
Yes, I set up the proxy server properly. If I don't set it up then my 
connections to the plugin repositories and to WMS servers don't work and I've 
tested them and they work OK.

Right now I'm focusing on trying to identify ports or protocols that this 
plugin might be using that my Windows firewall might be blocking but I'm not 
making much progress so far. I'm using the Wireshark program for that.

Thanks,
Bob

-Original Message-
From: Nathan Woodrow [mailto:madman...@gmail.com] 
Sent: September-21-12 6:05 PM
To: Bruce, Bob (CON)
Cc: QGIS User List; Qgis-Developer; Hardisty, David (CON)
Subject: Re: [Qgis-user] Problem Displaying Google Satellite Layer in QGIS 
1.7.4 Using OpenLayer Plugin 0.93 on Windows 7

Bob,

Have you added you proxy settings in the Options-Network tab?
OpenLayers doesn't work for me at work if I don't do this.

- Nathan

On Sat, Sep 22, 2012 at 1:41 AM, Bruce, Bob (CON) bob.br...@gov.mb.ca wrote:
 After doing more testing and investigation I have determined that the problem 
 lies somewhere in my corporate (government) IT environment. When I connect 
 the same computer to the internet through a FORTIGATE box that is 
 tunnelling through and ignoring proxy rules, etc. then it displays the 
 layers fine. Incidentally the Bing satellite layer in Winnipeg looks really 
 nice, but the Google satellite layer isn't too shabby either.

 Would the author of the OpenLayers plugin be possibly able to shed some light 
 on what in the IT environment might be preventing this plugin from working 
 properly?

 Thanks,
 Bob Bruce

 -Original Message-
 From: qgis-user-boun...@lists.osgeo.org 
 [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Bruce, Bob (CON)
 Sent: September-19-12 4:13 PM
 To: 'QGIS User List'
 Subject: [Qgis-user] Problem Displaying Google Satellite Layer in QGIS 1.7.4 
 Using OpenLayer Plugin 0.93 on Windows 7

 When I try and add a google satellite layer to my project, I get a python 
 error and traceback  as follows:
 An error has occured while executing Python code:

 Traceback (most recent call last):
   File 
 C:/Users/bbruce/.qgis/python/plugins\openlayers\openlayers_layer.py, line 
 109, in draw
 self.render(rendererContext)
   File 
 C:/Users/bbruce/.qgis/python/plugins\openlayers\openlayers_layer.py, line 
 164, in render
 olWidth = rendererContext.extent().width() / olRes
 UnboundLocalError: local variable 'olRes' referenced before 
 assignment

 Python version:
 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]


 QGIS version:
 1.7.4-Wroclaw Wroclaw, 411aff6 After I close this window, a QGIS 
 error window appears with the message: Could not draw Google Satellite 
 because: with no other text in it.

 I have one vector layer displayed, this has a CRS of 26914 (NAD83 UTM Zone 
 14), my project has a CRS of 3857 (from reading list postings this seemed to 
 be the appropriate CRS to use) and I have On the fly reprojection enabled. \

 I can see my vector layer OK but not the google satellite layer. I have 
 verified that QGIS is communicating with the WWW by connecting to an external 
 WMS server.

 Can someone help me to get google satellite imagery working, please.

 Bob Bruce

 **
 **Bob Bruce, FEC, P.Eng. Geomatics Support Engineer
 **bob.br...@gov.mb.ca   Geospatial Technology Services Management
 **work # (204) 945-6636  GeoManitoba, Manitoba Conservation 
 and Water Stewardship
 **FAX  # (204) 945-1365 1007 Century Street,
 **  Winnipeg, Manitoba, 
 Canada, R3H 0W4
 **  49-54-31.85N,97-12-16.08W
 **
 ** Check out our digital maps at: http://mli2.gov.mb.ca/
 ** and WMS: http://mlidata.gov.mb.ca/wms/request.aspx
 **



 ___
 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] qt at digia

2012-09-21 Thread John C. Tull
Hi,

On Sep 19, 2012, at 6:30 AM, Tim Sutton li...@linfiniti.com wrote:

 Hi
 
 On Wed, Sep 19, 2012 at 2:54 PM, Werner Macho werner.ma...@gmail.com wrote:
 hi!
 
 What about working on a as is release 1.9 where most of the bugs
 (overview ;) ) are (tried to be) fixed .. and then immediately start
 for 2.0 with Qt5 ?
 
 The next release must be 2.0 since we have really broken the api.  See
 [1] to understand the rationale for this.
 
 Beside some smaller issues the current state of master seems useable
 and stable to me ..
 
 [1] http://semver.org/

Presumably, Qt5 would lead to some new broken api's relative to what has been 
done in trunk towards the 2.0 release, but confirm if that is a valid 
assumption or not. If it is, maybe a qgis 2.2 or higher release is a more 
sensible target for the switch. If not, then it is more a matter of how long 
transitioning and testing would take.

My non-dev thoughts,
John

 Regards
 
 Tim
 
 
 regards
 Werner
 
 On Wed, Sep 19, 2012 at 2:49 PM, Tim Sutton li...@linfiniti.com wrote:
 Hi
 
 On Wed, Sep 19, 2012 at 3:32 AM, Marco Bernasocchi
 ma...@bernawebdesign.ch wrote:
 interesting reading...
 
 http://blog.qt.digia.com/2012/09/18/the-journey-starts-today/#more-33799
 
 
 Interesting they are copying QGIS and moving to using
 jenkins-ci...hopefully that will mean nice additions to improve CI
 with Qt projects and Jenkins.
 
 Also the timing of Qt5 makes me wonder if we should complete skip over
 to Qt5 for QGIS 2.0. I'm just throwing the idea up in the air, I know
 most will probably shoot it down due to packaging issues etc.
 
 Regards
 
 Tim
 
 
 Marco Bernasocchi (mobile)
 http://opengis.ch
 
 
 ___
 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
 ==
 ___
 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
 ==
 ___
 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