mapscript.webObj¶
- class mapscript.webObj¶
The WEB object. Has no other existence than as an attribute of a
mapObj. Serves as a container for various run-time web application definitions like temporary file paths, template paths, etc.Attributes
browseformatchar See BROWSEFORMAT
emptychar See EMPTY
errorchar Error handling - see ERROR
footerchar Path to footer document - see FOOTER
headerchar Path to header document - see HEADER
imagepathchar Filesystem path to temporary image location - see IMAGEPATH
imageurlchar URL to temporary image location - see IMAGEURL
legendformatchar See LEGENDFORMAT
mapmaxscaledenomdouble Minimum map scale - see MAXSCALEDENOM
maxtemplatechar See MAXTEMPLATE
metadatahashTableObjimmutable Metadata hash table - see METADATAminscaledenomdouble Maximum map scale - see MINSCALEDENOM
mintemplatechar See MINTEMPLATE
queryformatchar See QUERYFORMAT /* what format is the query to be returned, given as a MIME type
templatechar Path to template document - see TEMPLATE
temppathchar See TEMPPATH
thisownThe membership flag
validationhashTableObjimmutable See VALIDATIONMethods
- __init__()[source]¶
Instances of
webObjare always are always embedded inside themapObj. Has no other existence than as an attribute of amapObj. Serves as a container for various run-time web application definitions like temporary file paths, template paths, etc.
- convertToString() char[source]¶
Output the WEB object as a Mapfile string. Provides the inverse option for
webObj.updateFromString().
- updateFromString(snippet: char) int[source]¶
Update a
webObjfrom a string snippet. ReturnsMS_SUCCESSorMS_FAILURE
