MapServer WEB Object

The WEB object defines the output paths required by iShare.

WEB Object
WEB
   IMAGEPATH "d:\mapserver\tmp\"
   IMAGEURL ""
   TEMPLATE "globexml.xml"
   LOG "d:\mapserver\tmp\ms.log"
END

Element

Description

Sample

IMAGEPATH

This MUST BE THE SAME AS THE Studio >Settings > Master Settings > WebServiceMapImagePath – this is where MapServer outputs it’s images and then iShare picks these up and then watermarks, draws icons over the top etc.

d:\mapserver\tmp\

IMAGEURL

Not used in iShare.

This is the location that would be externally (via a web browser) accessible by the user to see maps.

 

TEMPLATE

This is a template that is used by iShare to retrieve values (extents, zoom etc) from the map that has just been generated. THIS SHOULD NOT BE CHANGED

globexml.xml

LOG

OPTIONAL – if debug is ON then this is the path to the file that MapServer logging is written to

d:\mapserver\tmp\ms.log


For full details of the MapServer WEB Object please see the MapServer MAP Documentation.

Â