[OpenLayers-Users] map without crs

Phil Scadden p.scadden at gns.cri.nz
Thu Aug 23 13:58:37 PDT 2012


> Hi lists. Is it possible to create map without proj4 lib but display wms
> layres using different CRS than wgs? If yes, is it possible to that also
> with vector layers? Thaks. Tom.
You should only proj4 if you are doing reprojections within OL. (ie 
client side). WMS reprojection is by server. (ie OL looks at the SRS of 
the current baselayer and requests the WMS server to deliver tiles in 
that projection). Vector, unless you are obtaining the vector data from 
a vector server that is reprojecting vector on the fly (eg WFS) then you 
will need to explicitly reproject and this need proj4.
-- 
Phil Scadden, Senior Scientist GNS Science Ltd 764 Cumberland St, 
Private Bag 1930, Dunedin, New Zealand Ph +64 3 4799663, fax +64 3 477 5232

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.



More information about the Users mailing list