AW: Re: [Qgis-user] printing with google layers
Düster Horst
Horst.Duester at bd.so.ch
Wed Feb 9 08:20:29 PST 2011
Hi Borys
Thanks a lot for the hint with google maps. It works like a charm!
Regards
Horst
------------------------------------------------
Dr. Horst Düster
Stv. Amtschef / Chef Geoinformation
Kanton Solothurn
Bau- und Justizdepartement
Amt für Geoinformation
SO!GIS Koordination
Rötistrasse 4
CH-4501 Solothurn
Telefon ++41(0)32 627 25 32
Mobil ++41(0)79 511 54 12
Telefax ++41(0)32 627 22 14
mailto:horst.duester at bd.so.ch
http://www.agi.so.ch
-----Ursprüngliche Nachricht-----
Von: Borys Jurgiel [mailto:lists at borysjurgiel.pl]
Gesendet am: Mittwoch, 9. Februar 2011 15:50
An: qgis-user at lists.osgeo.org
Betreff: Re: [Qgis-user] printing with google layers
Dnia sroda 09 lutego 2011 o 14:32:42 Markus Weidenbach napisal(a):
> .... interesting to hear! So the printing limitation is caused by the
> Open Layer Plugin and not by the Google WMS(?).
> I hope new versions of the Open Layer Plugin will address this
problem...
>
> Markus
There is no Google WMS, they are static tiles. The two plugins make two
different workarounds to use them. OpenLayers Plugin is great for
display,
however I expect big problems with proper printing, so wouldn't be
optimistic...
I wonder if it's possible to use GoogleMaps in Qgis directly via GDAL
TMS
driver. I'm able to open it, but can't cope with colors: Google serves
8bit
pngs, while Qgis needs RGB. Maybe other gdal versions do it more
smoothly?
On the http://www.gdal.org/frmt_wms.html you have a link to the
OpenStreetMap
TMS Service Example:
http://www.gdal.org/frmt_wms_openstreetmap_tms.xml
Just download this file and open in Qgis as a raster. You shold see OSM
layer
with proper or bad colors ;) In order to use googlemaps instead of OSM,
replace the third line of the file with:
<ServerUrl>http://mt0.googleapis.com/vt?lyrs=m@144&x=${x}&y=${y}
&z=${z}</ServerUrl>
_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20110209/1870e90c/attachment.html>
More information about the Qgis-user
mailing list