[OpenLayers-Users] OpenLayers.Layer.WMS and OpenLayers.Layer.MapServer - variable substitution?

Ben Madin ben at ausvet.com.au
Sat Mar 14 22:46:47 EDT 2009


Hello List,

I wonder if you can help me then,

On 13/03/2009, at 9:08 PM, Christopher Schmidt wrote: # apologies if I  
have cut this out incorrectly...

>>> Please don't use Layer.MapServer unless you have to. It is really  
>>> only
>>> there for pople who are uanble to configure the server side of their
>>> MapSever to act as a WMS, and it will cause you more pain than you  
>>> will
>>> gain.

I have a mapserver layer, and it is using dates from the html page  
(start & end) as parameters for the postgis query of points.

in  my mapserver layer, I use the %start% & %end% variable  
substitution to only capture the points in the window I am interested  
in.

I looked at the above advice, but I can't get the same substitution to  
work using the WMS setup.

Should I be able to do this, am I missing something, or is there  
another way around doing this?

Or is this a good example of continuing to use mapserver?

cheers

Ben



-- 

Ben Madin
AusVet Animal Health Services
P.O. Box 5467
Broome   WA   6725
Australia

t : +61 8 9192 5455
f : +61 8 9192 5535
m : 0448 887 220
e : ben at ausvet.com.au

AusVet's website:  http://www.ausvet.com.au

This transmission is for the intended addressee only and is  
confidential information. If you have received this transmission in  
error, please delete it and notify the sender. The contents of this  
email are the opinion of the writer only and are not endorsed by  
AusVet Animal Health Services unless expressly stated otherwise.  
Although AusVet uses virus scanning software we do not accept  
liability for viruses or similar in any attachments.





More information about the Users mailing list