MapServer Capabilities

Ben Madin ben at REMOTEINFORMATION.COM.AU
Sun Sep 10 20:35:52 EDT 2006


Keith,

We have done this using either of two methods below, where using  
postgis was not an option.

to use MapServer directly, the quickest way is to generate the  
mapfile to match the desired relationships. dynamically create a  
mapfile (ie in php) to match the query (this is easiest if you load  
the beginning and end of your standard mapfile, and just add  the  
appropriate layer / class details) and send the mapfile name back to  
Mapserv.

Alternatively use mapscript to generate either the map image, or a  
mapfile, and use this. Where there is a larger number of attributes  
required over a larger area, regenerate the maps during the zoom to  
show the increasing levels of detail. This is why we are using  
mapscript now.

The main limitation to watch out for is when there are more than the  
allowable number of layers or classes, but any map that is trying to  
display more than this number of attributes is unlikely to mean much  
to a reader, so think carefully about this as you develop your  
initial queries.

good luck

Ben

-- 

Ben Madin

t/f: 08 9192 5535
m: 0448 887 220
ben at remoteinformation.com.au


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060911/1b4909d9/attachment.html


More information about the mapserver-users mailing list