[OpenLayers-Users] WMS and Mercator projection

Andreas Hocevar ahocevar at opengeo.org
Tue Jun 1 06:33:53 EDT 2010


On Jun 1, 2010, at 12:11 , Joosep-Georg Järvemaa wrote:

> 2010/6/1 Andreas Hocevar <ahocevar at opengeo.org>:
>>> 
>>>>> http://xgis.maaamet.ee/wms-pub/alus-geo?STYLES=&SRS=EPSG:4326&FORMAT=image/png&VERSION=1.1.1&REQUEST=GetMap&LAYERS=of10000,TOPOYKSUS_6569,TOPOYKSUS_7793&bbox=24.6461274,59.3624859,24.6479219,59.3634004&width=499&height=499
>>> 
>> The request you pasted above is in EPSG:4326. The of10000 layer seems to support EPSG:4326 (despite the capabilities document listing "NONE" as only supported SRS). But the of10000 layer can not be requested in EPSG:3301, which is what OpenLayers does.
> 
> So you're saying that this JOSM-like behaviour where I have the
> display picture in EPSG:3857 and am working with real coordinates is
> not possible at all with OpenLayers?

Exactly. This is why I showed you the other approach - requesting the tiles in the appropriate projection.

> What else options do I have at browser-side to do that then?

None with OpenLayers. In general, reprojecting images on the client needs processing power. Browsers don't have a lot of that.

-Andreas.

> 
> 
> 
> Regards,
> -- 
> Joosep-Georg
> _______________________________________________
> 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.




More information about the Users mailing list