[Qgis-developer] Could not add Google Satellite and Google Hybrid using OpenLayers Plugin

Learn Qgis learn.qgis at gmail.com
Wed May 18 23:33:21 EDT 2011


Hi Everyone,

I have build QGIS 1.6 using MS Visual Studio 2008 and Python 2.5. I
have added OpenLayers 0.71 plugin to my application. I am able to see Google
Street map. But when I select Google Hybrid, I could see only labels and
inplace of maps I get message as "Sorry, no imagery avaialable here". Please
help me for this.

thanks in advance


On Thu, May 19, 2011 at 9:30 PM, <qgis-developer-request at lists.osgeo.org>wrote:

> Send Qgis-developer mailing list submissions to
>        qgis-developer at lists.osgeo.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.osgeo.org/mailman/listinfo/qgis-developer
> or, via email, send a message with subject or body 'help' to
>        qgis-developer-request at lists.osgeo.org
>
> You can reach the person managing the list at
>        qgis-developer-owner at lists.osgeo.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Qgis-developer digest..."
>
>
> Today's Topics:
>
>   1. Re: QBrowser & Customization (Nathan Woodrow)
>   2. Re: Plugin Development on Windows (Federico J. Fern?ndez)
>   3. Re: QgsLabel: missed implementation of    setLabelFieldName
>      (Alexander Bruy)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 18 May 2011 19:36:07 +1000
> From: Nathan Woodrow <madmanwoo at gmail.com>
> Subject: Re: [Qgis-developer] QBrowser & Customization
> To: Radim Blazek <radim.blazek at gmail.com>
> Cc: qgis-developer <qgis-developer at lists.osgeo.org>
> Message-ID: <BANLkTik3+TVghg4TK53-Yv7Z6ovRi+g10g at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> For what it's worth, my opinion on B1) is we should have icons.  Good UI is
> important and icons help the user relate to items quicker more so then just
> a plain text based tree.
>
> - Nathan
>
> On Wed, May 18, 2011 at 7:23 PM, Radim Blazek <radim.blazek at gmail.com
> >wrote:
>
> > Hi all,
> > we are ready (Martin Dobias and me) to merge browser-and-customization
> > branch to master.
> >
> > You can get idea about features in that branch from some snapshots:
> > https://picasaweb.google.com/radim.blazek/QGISCustomizationQBrowser
> >
> > Briefly for people who were not present at last HF:
> >
> > Customization support allows users to disable (hide) parts of QGIS UI.
> > You can see example of minimal (maximal)  customization of version 1.7
> > on the first snapshot. It is possible to disable almost any element of
> > UI: menus, sub menus, toolbars, tools, parts of dialogs, docked
> > windows and status bar items. UI elements can be switched on/off
> > either in tree (second snapshot) or interactively in QGIS application
> > using customization select tool and clicking on UI elements.
> > Customization is saved in separate settings and can be saved/loaded
> > to/from file. There is also support for customized packages. If
> > customization file is included in installation package, it is loaded
> > the first time QGIS is started.
> >
> > The QBrowser is intended to be a geographic data resources browser and
> > manager. Now it is implemented as a stand alone application but we
> > would like to include it also in QGIS as alternative 'Add layer'
> > dialog. Currently it is supported only by ogr, gdal and wms providers.
> > At this moment QBrowser allows you to browse file system (where it
> > identifies known geographic data) and defined WMS servers (shared with
> > QGIS). If you select a layer you can view its metadata, preview and
> > attributes (for vectors). It is possible to assign CRS to a layer (if
> > supported by provider), create a new shapefile and manage WMS servers.
> >
> >
> > We would like to discuss some issues with other developers before the
> > merge:
> >
> > QBrowser:
> >
> > A1) All the data format specific functionality is implemented in
> > providers. Each provider which wants to show his data in browser must
> > implement 2 additional functions:
> >    QGISEXTERN int dataCapabilities ()
> >    QGISEXTERN QgsDataItem * dataItem ( QString thePath, QgsDataItem*
> > parentItem )
> > The dataCapabilities function says what kind of data is supported
> > (File,Dir,Database,Net) so that e.g. WMS provider is not called on
> > files or dirs. The dataItem() function returns QgsDataItem
> > representing either known geographic resources for given file system
> > path (gdal, ogr) or top level item (wms). It is important to design
> > providers interface well, because it may be implemented also by custom
> > providers and we cannot change it easily in future (after release).
> > Please look at the QgsDataItem and its children methods and
> > implementation.
> >
> > A2) To get access from QBrowser to QgsWMSSourceSelect  via
> > QgsDataItem, we had to move QgsWMSSourceSelect to wms provider. That
> > is beginning of providers specific UI migration to providers, which
> > has been discussed already before and generally accepted. To get
> > select widget from main application we added in WMS provider another
> > function:
> >    QGISEXTERN QgsWMSSourceSelect * selectWidget( QWidget * parent,
> > Qt::WFlags fl )
> > Currently it is more or less a hack for QgisApp::addWmsLayer(). We
> > should probably define some QgsSelect either with methods returning
> > URI or better signals for add new layer. Currently it is using
> > signals, because WMS selector can add more layers.
> >
> > Customization:
> >
> > B1) The customization dialog tree is using Qt designer icons for
> > various widgets. It looks nice but it adds 192K to QGIS package. Is it
> > acceptable or do you prefer tree without icons?
> >
> > B2) For dialogs, the interactive customization select tool can only be
> > activated by shortcut (because the dialogs are modal) which has to be
> > defined for main application. We have used Ctrl+M because it is not
> > yet used and M is close to right Ctrl. May be we should spare such a
> > good key for better occasion?
> >
> > Please let us know your opinion or objections.
> >
> > Radim
> > _______________________________________________
> > Qgis-developer mailing list
> > Qgis-developer at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.osgeo.org/pipermail/qgis-developer/attachments/20110518/631af0cc/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Wed, 18 May 2011 08:48:38 -0300
> From: Federico J. Fern?ndez <federico.fernandez at gmail.com>
> Subject: Re: [Qgis-developer] Plugin Development on Windows
> To: richard at duif.net
> Cc: qgis-developer at lists.osgeo.org
> Message-ID: <BANLkTi=7AaqsFFbrqDsbmfjBoM0PD7WUhQ at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> >
> > Hi Federico,
> >
> > don't now that much about the cpp plugins, but is it really a cpp plugin
> > you need? What are your plans with the plugin?
> >
> > Because it would be easier to make it a Python plugin I think (no fuss
> > with compiling etc etc).
> >
> > But if you really have to use cpp: try to ping somebody on IRC
> >
> > Regards,
> >
> > Richard Duivenvoorde
> >
>
> Yes, I need C++ because I have external dependencies.
>
> Thanks.
>
> --
> federico
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.osgeo.org/pipermail/qgis-developer/attachments/20110518/89fc8154/attachment-0001.html
>
> ------------------------------
>
> Message: 3
> Date: Wed, 18 May 2011 15:56:56 +0300
> From: Alexander Bruy <alexander.bruy at gmail.com>
> Subject: [Qgis-developer] Re: QgsLabel: missed implementation of
>        setLabelFieldName
> To: Qgis Developer List <qgis-developer at lists.osgeo.org>
> Message-ID: <BANLkTinAZdHUuhN=kV0opT8Np=KuVhJrOw at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hi devs,
>
> we found that in QgsLabel class there is missed implementation
> for setLabelFieldName method. This method listed in header file
> src/core/qgslabel.h (line 163) but not listed in .cpp file. Also this
> method missed from Python bindings.
>
> This is a bit confusing, regardiong to the API docs this method
> exists but in reality it doesn't. May be it is better to remove it
> completely?
>
> Thanks
>
> --
> Alexander Bruy
>
>
> ------------------------------
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
> End of Qgis-developer Digest, Vol 63, Issue 34
> **********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20110519/30b3a621/attachment.html


More information about the Qgis-developer mailing list