Re: [Qgis-user] printing with google layers

2011-02-10 Thread maning sambale
This works for googlemaps.  What is the server url for google imagery?

On Wed, Feb 9, 2011 at 10:50 PM, Borys Jurgiel li...@borysjurgiel.pl wrote:
 ServerUrlhttp://mt0.googleapis.com/vt?lyrs=m@144amp;x=${x}amp;y=${y}amp;z=${z}/ServerUrl




-- 
cheers,
maning
--
Freedom is still the most radical idea of all -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
--
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] printing with google layers

2011-02-10 Thread Borys Jurgiel
Dnia czwartek 10 lutego 2011 o 09:58:32 maning sambale napisał(a):
 This works for googlemaps.  What is the server url for google imagery?
 
 On Wed, Feb 9, 2011 at 10:50 PM, Borys Jurgiel li...@borysjurgiel.pl 
wrote:
  ServerUrlhttp://mt0.googleapis.com/vt?lyrs=m@144amp;x=${x}amp;y=${y};
  amp;z=${z}/ServerUrl


I can only say what I can see in a web browser, surfing googlemaps. It seems 
there is one server for the imagery:

http://khm0.googleapis.com/kh?v=78x=38y=22z=6

(of course x,y,z values has to be replaced with ${parameter}. I don't know 
what is v parameter)

and second one for the maps:

http://mt0.googleapis.com/vt?lyrs=m@145x=38y=22z=6

where:
lyrs=m@145 - full map
lyrs=h@145 - map overlay for hybrid
lyrs=t@126 - clean terrain
lyrs=t@126,r@145 - terrain + a label overlay

Again, I don't know what the numbers mean.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] printing with google layers

2011-02-10 Thread maning sambale
Nice! This one works even in the map composer.  But I get transparent
salt and pepper effect for for very dark pixels.

On Thu, Feb 10, 2011 at 7:10 PM, Borys Jurgiel li...@borysjurgiel.pl wrote:
 http://khm0.googleapis.com/kh?v=78;



-- 
cheers,
maning
--
Freedom is still the most radical idea of all -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
--
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] printing with google layers

2011-02-10 Thread Borys Jurgiel
Dnia czwartek 10 lutego 2011 o 12:31:36 maning sambale napisał(a):
 Nice! This one works even in the map composer.  

The main problem is rescaling. 

There's no simple way (yet) to restrict scale set to meet the tile scales. For 
display, you just see ugly rescaled image, what can be simply avoided - just 
do zoom to best scale (1pix=1pix) in the legend mouse menu and then only 
zoom with mouse wheel or +/- tools to keep always the 2x factor. This way you 
always fit into tile scale without rescaling. 

I haven't performed serious pritnting tests, but I expect one more problem: 
print resolution probably forces downloading tiles for greater or less zoom, 
as gdal consider TMS as a pyramid. You can try to fix it by setting the zoom 
level for the pyramid basis in TileLevel xml tag.

 But I get transparent
 salt and pepper effect for for very dark pixels.

Maybe it's an 8bit - RGB conversion issue?
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] compiling from source, how to build qgis-mapserver qgis_map_serv.fcgi ?

2011-02-10 Thread Oliver Christen

dear list

Im trying to compile qgis from source in order to generate the 
qgis-mapserver qgis_map_serv.fcgi file.
I followed the documentation on http://www.qgis.org/wiki/Installation_Guide 
and on http://karlinapp.ethz.ch/qgis_wms/documentation/index.html


I can build a working qgis both on Linux (ubuntu) and on Windows, but I must 
be missing something as the .fcgi file is never generated.


The Qgis-mapserver documentation say I need the FCGI library but is there 
some configuration somewhere I need to change to instruct the build to use 
that library in order to generate the .fcgi file?


I know there is a qgis-mapserver debian package available, I installed it 
and it works fine, but I would really like to be able to build the .fcgi 
file


Thanks a lot in advance

Regards
Oliver Christen 


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


Re: [Qgis-user] compiling from source, how to build qgis-mapserver qgis_map_serv.fcgi ?

2011-02-10 Thread Marco Hugentobler
Hi Oliver

You need to enable the compilation of the server in the cmake configuration:

cd sourcedir/build
ccmake ..

then set WITH_MAPSERVER to ON

Regards,
Marco

Am Donnerstag, 10. Februar 2011, um 15.02:52 schrieb Oliver Christen:
 dear list
 
 Im trying to compile qgis from source in order to generate the
 qgis-mapserver qgis_map_serv.fcgi file.
 I followed the documentation on http://www.qgis.org/wiki/Installation_Guide
 and on http://karlinapp.ethz.ch/qgis_wms/documentation/index.html
 
 I can build a working qgis both on Linux (ubuntu) and on Windows, but I
 must be missing something as the .fcgi file is never generated.
 
 The Qgis-mapserver documentation say I need the FCGI library but is there
 some configuration somewhere I need to change to instruct the build to use
 that library in order to generate the .fcgi file?
 
 I know there is a qgis-mapserver debian package available, I installed it
 and it works fine, but I would really like to be able to build the .fcgi
 file
 
 Thanks a lot in advance
 
 Regards
 Oliver Christen
 
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user


-- 
Dr. Marco Hugentobler
Sourcepole -  Linux  Open Source Solutions
Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland
marco.hugentob...@sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] compiling from source, how to build qgis-mapserver qgis_map_serv.fcgi ?

2011-02-10 Thread Oliver Christen

hello Marco

thank you very much!
it's working now :)

best regards
Oliver

- Original Message - 
From: Marco Hugentobler marco.hugentob...@sourcepole.ch

To: qgis-user@lists.osgeo.org
Sent: Thursday, February 10, 2011 4:02 PM
Subject: Re: [Qgis-user] compiling from source,how to build qgis-mapserver 
qgis_map_serv.fcgi ?



Hi Oliver

You need to enable the compilation of the server in the cmake configuration:

cd sourcedir/build
ccmake ..

then set WITH_MAPSERVER to ON

Regards,
Marco

Am Donnerstag, 10. Februar 2011, um 15.02:52 schrieb Oliver Christen:

dear list

Im trying to compile qgis from source in order to generate the
qgis-mapserver qgis_map_serv.fcgi file.
I followed the documentation on 
http://www.qgis.org/wiki/Installation_Guide

and on http://karlinapp.ethz.ch/qgis_wms/documentation/index.html

I can build a working qgis both on Linux (ubuntu) and on Windows, but I
must be missing something as the .fcgi file is never generated.

The Qgis-mapserver documentation say I need the FCGI library but is there
some configuration somewhere I need to change to instruct the build to use
that library in order to generate the .fcgi file?

I know there is a qgis-mapserver debian package available, I installed it
and it works fine, but I would really like to be able to build the .fcgi
file

Thanks a lot in advance

Regards
Oliver Christen

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



--
Dr. Marco Hugentobler
Sourcepole -  Linux  Open Source Solutions
Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland
marco.hugentob...@sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

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


[Qgis-user] printing with google layers

2011-02-10 Thread jonathan ALLAIN
Howard Yamaguchi,

 

In the list of layer on the left of the screen, right click on the raster
layer provided by the google plugin. In the properties you’ve got an option
calls pyramids (or something like that – sorry for the English ;) ).

My advice is to zoom in approximatively at the scale you’ll print and next
use the plugin (to have a good resolution). You’ll may have to load many
rasters from the plugin.

 

Hope it helps

 

 

Jonathan ALLAIN

Communauté d'Agglomération

du Pays de Flers

02 33 98 44 58

 

 

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


[Qgis-user] Re: printing with google layers

2011-02-10 Thread hayamaguchi

Jonathan,

THANK YOU !!  It worked perfectly!  This solves some problems that have been
troubling one of our communities trying to publish a map.

And your English is much better than my French, so don't worry !!!  Every
time I visit Quebec, I try to speak French.  Unfortunately, it is so bad
that the Quebecois all rush to speak English with me so they don't have to
listen to me destroy their beautiful language !!  ;-)

Cheers!  And thanks again!

Howard Yamaguchi
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/printing-with-google-layers-tp6012285p6013511.html
Sent from the qgis-user mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user