[OpenLayers-Users] MapServer Layer - initial help
Arnd Wippermann
arnd.wippermann at web.de
Fri Dec 8 17:03:50 EST 2006
Hello karpi,
1.
The funny result has his cause in wrong extent values. You declare for your
map bounds
280659.109943, 5322086.855897, 785870.593444, 5735441.706034, projection:
'EPSG:32633'
And the request for the Mapserver layer has extent values for EPSG:4326.
GET
/wms/czrep?LAYERS=hodiny&MODE=map&MAP_IMAGETYPE=png&mapext=11.953125+52.0312
5+12.65625+52.734375
&imgext=11.953125+52.03125+12.65625+52.734375&map_size=256+256&imgx=128&imgy
=128&imgxy=256+256
I think your map-projection in the mapfile is EPSG:32633, but it has to be
ESPG:4326. With the WMS request for this layer, there is &SRS=EPSG:4326
added and Mapserver reproject your data.
The Google layer works only for ESPG:4326
2. Google Zoom
Look here. Ludwig has get the solution.
http://www.nabble.com/Google-Zoom-Levels-tf2644005.html#a7380857
I'm using the solution on http://gis.ibbeck.de/ginfo/index.html. Search
praha to get some known pictures for you.
Arnd Wippermann
-----Ursprüngliche Nachricht-----
Von: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] Im
Auftrag von karpi
Gesendet: Freitag, 8. Dezember 2006 17:48
An: users at openlayers.org
Betreff: Re: [OpenLayers-Users] MapServer Layer - initial help
08/12/06 14:23, bartvde at osgis.nl napsal(a):
> See:
>
> http://www.openlayers.org/dev/examples/mapserver.html
>
> Best regards,
> Bart
Hi Bart,
Thanks for your response. I was probably run into some developing feature. I
was trying your link, but only pink screen i've found on it (opera9). In
source was defined Mapserver layer, but accessed throughout wms, not
directly mapserver. Which was my expection. Im wrong?
Anyway, I was try define it on my page and funny ressult obtained :)
http://gismaster.liberix.cz/google/openlayers_czrep.html?lat=49.26648&lon=15
.65552&zoom=8&layers=000FB
> --
> Bart van den Eijnden
> OSGIS, Open Source GIS
> http://www.osgis.nl
>
>
> --------- Oorspronkelijk bericht --------
> Van: karpi <karpi.lists at email.cz>
> Naar: users at openlayers.org <users at openlayers.org>
> Onderwerp: [OpenLayers-Users] MapServer Layer - initial help
> Datum: 08/12/06 11:20
>
> > Hello,..
> > my second question today:
> >
> > I think wms overlay layer is not probably the best solution (label
> > behavior and so..) I've read something about mapserver layer there:
> > http://trac.openlayers.org/wiki/Layer/MapServer
> > but no more info or doc how to use it at this time. Do you have
> > someone some working example, please ? Or link on some docs ?
> >
> > --
> > karpi from
> > http://gismaster.liberix.cz
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at openlayers.org
> > http://openlayers.org/mailman/listinfo/users
> >
> >
>
>
>
--
karpi from
http://gismaster.liberix.cz
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users
More information about the Users
mailing list