How to get a layer's projection

المشرف العام

Administrator
طاقم الإدارة
I'm using GeoNetwork 3.0 where users can upload their own layers from the interface to my GeoServer. GeoNetwork 3.0 uses OpenLayers3. For my application, I need to determine the crs from this layer so I can transform it to EPSG:3857, if it's not already.

How do I get the projection from a layer in OL3? Or can I tell GeoServer to transform all uploaded layers to EPSG:3857 by default?



أكثر...
 
أعلى