Re: [mapserver-users] MapServer 4.8.3: MapScript setProjection

2008-04-04 Thread Simon Greig
Daniel, I think I owe you an apology! In your email last week you said: Sounds like you may have a layer which uses CONNECTIONTYPE WMS. This is a layer that is actually a connection to a remote WMS service, and one of the things MapServer needs to know in order to build a succesful

Re: [mapserver-users] MapServer 4.8.3: MapScript setProjection

2008-04-02 Thread Daniel Morissette
Simon, Are you also setting the wms_srs metadata in the map's web object? If not then perhaps try setting the wms_srs metadata in the web object to EPSG:27700 and see if that helps. Daniel Simon Greig wrote: Hi, We have made the changes to remove the explicit layer setProjection and

Re: [mapserver-users] MapServer 4.8.3: MapScript setProjection

2008-03-12 Thread Rob
On 11/03/2008, Daniel Morissette [EMAIL PROTECTED] wrote: This long time looking up EPSG projection codes is a known issue and I'll try to fix it for the 5.2 release. In the meantime, an alternative to significantly reduce the lookup time is to move the definitions that you use the most

Re: [mapserver-users] MapServer 4.8.3: MapScript setProjection

2008-03-12 Thread Rahkonen Jukka
Excuse the stupid question, but what do you mean by native PROJ4 definition? Do you mean applying the inline parameters directly? He means giving the projections with the actual strings which are also hidings behind the epsg codes, for example this means the same as

Re: [mapserver-users] MapServer 4.8.3: MapScript setProjection

2008-03-12 Thread Rahkonen Jukka
Rob wrote: Excuse the stupid question, but what do you mean by native PROJ4 definition? Do you mean applying the inline parameters directly? He means giving the projections with the actual strings which are also hidings behind the epsg codes, for example this means the same as epsg:2393

Re: [mapserver-users] MapServer 4.8.3: MapScript setProjection

2008-03-12 Thread Daniel Morissette
Rahkonen Jukka wrote: Excuse the stupid question, but what do you mean by native PROJ4 definition? Do you mean applying the inline parameters directly? He means giving the projections with the actual strings which are also hidings behind the epsg codes, for example this means the

Re: [mapserver-users] MapServer 4.8.3: MapScript setProjection

2008-03-12 Thread Rob
Well so far, I have tried to set my projection to '+proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=40 +y_0=-10 +ellps=airy +datum=OSB36 +units=m +no_defs' '+proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=40 +y_0=-10 +ellps=airy +datum=OSGB36 +units=m +no_defs'

VS: [mapserver-users] MapServer 4.8.3: MapScript setProjection

2008-03-12 Thread Rahkonen Jukka
Well so far, I have tried to set my projection to '+proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=40 +y_0=-10 +ellps=airy +datum=OSB36 +units=m +no_defs' '+proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=40 +y_0=-10 +ellps=airy +datum=OSGB36 +units=m +no_defs'

AW: [mapserver-users] MapServer 4.8.3: MapScript setProjection

2008-03-11 Thread Eichner, Andreas - SID-NLK
' missing in your datum parameter. 'ellps' is nowhere in the line. Hope that helps Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Rob Gesendet: Dienstag, 11. März 2008 12:10 An: mapserver-users@lists.osgeo.org Betreff: [mapserver-users] MapServer 4.8.3