[OpenLayers-Users] wms epsg:4326 like google maps mercator
Jachym Cepicky
jachym.cepicky at gmail.com
Thu Jun 21 15:51:15 EDT 2007
Hi,
I do not know, if I'll ask question, which makes sence... When
displaying google maps as background for WMS map, which uses epsg:4326
projection, the top map is "reprojected", so it fits Google's mercator
projection -- As I'm in 48° to 51° latitude region, it would be nice, if
the WMS map would be kind of "stretched" even without underlying Google
map.
I have following example:
WMS request, which comes from OpenLayers formulates this URL:
http://bnhelp.netart.cz/cgi-bin/crtopo?LAYERS=kraje,les,sidla,voda,doprava&FORMAT=image/png&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=11.642744,48.573916,17.685225,51.320498&WIDTH=110&HEIGHT=50
requested image size is WIDTH=110&HEIGHT=50
If I change this to WIDTH=110&HEIGHT=75, resulting image looks "more
nicer".
http://bnhelp.netart.cz/cgi-bin/crtopo?LAYERS=kraje,les,sidla,voda,doprava&FORMAT=image/png&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&BBOX=11.642744,48.573916,17.685225,51.320498&WIDTH=110&HEIGHT=75
So the question is, how to apply this "googlish-reprojection" for normal
(wms/mapserver) layer?
Thanks for any hint
Jachym
--
Jachym Cepicky
e-mail: jachym.cepicky at gmail.com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.osgeo.org/pipermail/openlayers-users/attachments/20070621/70cf06f9/attachment.bin
More information about the Users
mailing list