[OpenLayers-Users] Projection issue

Sarah Schuessler sarah_flip at yahoo.de
Fri Dec 11 06:51:52 EST 2009


 
Hi,

thanks for your hint.
That solved my problem almost. I only have to check for a matched maxResolution for my WMS.

best regards
sarah




________________________________
Von: Andreas Hocevar <ahocevar at opengeo.org>
An: users at openlayers.org
Gesendet: Freitag, den 11. Dezember 2009, 12:10:14 Uhr
Betreff: Re: [OpenLayers-Users] Projection issue

Hi,

your maxResolution is a bit weird. Are you sure that you want to have at least 5650 map units (decimal degrees!) in one map pixel?

The values you get for the top-right corner are logical, given this maxResolution value. Try to remove the maxResolution property, or choose something near 1 to see the difference.

Regards,
Andreas.

On 2009-12-11 11:22, Sarah Schuessler wrote: 
Hi list,
>
>I`m using mapfish and I want to load WMS/ArcIMS layer. But I see that my coordinates from bbox are wrong:
>I get something like 9.5,48.5,90409.5,90448.5. WMS epsg is 4326.
>projection: new OpenLayers.Projection("EPSG:4326"), //default
>displayProjection: new OpenLayers.Projection("EPSG:4326"),
>units: "m",
>numZoomLevels: 12,
>maxResolution: 5650,
>maxExtent: new OpenLayers.Bounds(9.5,48.5,9.6,48.6),   
>
> new OpenLayers.Layer.WMS("INFOGIS_WMS", "http://myserver/wmsconnector/com.esri.wms.Esrimap/GIS_layer?",
>        {layers: '0', format: "image/png", transparent: false, BGCOLOR: '0xCC00CC'  }, {projection: "EPSG:4326", isBaseLayer: true}),
>
>How can I solve this? Any hints are welcome.
>
>best regards
>Sarah
>
>__________________________________________________
>Do You Yahoo!?
>Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
>http://mail.yahoo.com 
>
>_______________________________________________
>Users mailing list
>Users at openlayers.org
>http://openlayers.org/mailman/listinfo/users
>  


-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.

__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
http://mail.yahoo.com 

__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091211/5789bc47/attachment.html


More information about the Users mailing list