. > What do other people think about providing the EPSG aliases by default in > the OL library? > good idea. AGS uses 102113 and I use an override to manage this projection issue. eg
Ext.override(OpenLayers.Layer.WMS, { getFullRequestString:function(newParams, altUrl) { var projectionCode = this.map.getProjection(); if (this.url == null) isAGS ==0; else var isAGS = this.url.search(/arcgis/); if((projectionCode == 'EPSG:900913') && (isAGS >=0)) { this.params.SRS = 'EPSG:102113'; } else { this.params.SRS = (projectionCode == "none") ? null : projectionCode; } return OpenLayers.Layer.Grid.prototype.getFullRequestString.apply( this, arguments); } }); -- 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. _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users