[OpenLayers-Users] Easy way to reproject overlays to base layer projection?

dabraham dominikabraham at gmail.com
Mon Jul 21 14:39:55 PDT 2014


Yes, you're right. Sorry for my dumb question, but problem was in my
GeoServer, which performs incorrect transformation to 900913 and there was
reason, why I didn't see overlays. So I change the base layer and now it's
ok.


2014-07-21 22:49 GMT+02:00 Phil Scadden [via OSGeo.org] <
ml-node+s1560n5152261h97 at n6.nabble.com>:

> On 22/07/2014 6:41 a.m., dabraham wrote:
> > Base layer in my application uses EPSG:900913. Is possible to add
> overlays
> > (from various WMS/WFS servers and with different CRS), which will be
> > automatically displayed in the projection of base layer?
> This is how openlayers works. When you make a WMS request you send the
> CRS that you want the returned image projected in. openlayers always
> sets this to be the CRS of the current baselayer. You just need to make
> sure that the server you are requesting from supports your baselayer
> projection. ESRI ArcGIS server does not understand 900913 so you would
> be better setting the map up in the equivalent EPSG:3857.
>
> Notice: This email and any attachments are confidential.
> If received in error please destroy and immediately notify us.
> Do not copy or disclose the contents.
>
> _______________________________________________
> Users mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=5152261&i=0>
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://osgeo-org.1560.x6.nabble.com/Easy-way-to-reproject-overlays-to-base-layer-projection-tp5152244p5152261.html
>  To unsubscribe from Easy way to reproject overlays to base layer
> projection?, click here
> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5152244&code=ZG9taW5pa2FicmFoYW1AZ21haWwuY29tfDUxNTIyNDR8LTE0MzkwMzQyNTY=>
> .
> NAML
> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Easy-way-to-reproject-overlays-to-base-layer-projection-tp5152244p5152280.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20140721/3eb113f2/attachment.html>


More information about the Users mailing list