Logo Search packages:      
Sourcecode: mapserver version File versions  Download package

mapscript.py

# This file was created automatically by SWIG.
# Don't modify this file, modify the SWIG interface instead.
# This file is compatible with both classic and new-style classes.

import _mapscript

def _swig_setattr(self,class_type,name,value):
    if (name == "this"):
        if isinstance(value, class_type):
            self.__dict__[name] = value.this
            if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
            del value.thisown
            return
    method = class_type.__swig_setmethods__.get(name,None)
    if method: return method(self,value)
    self.__dict__[name] = value

def _swig_getattr(self,class_type,name):
    method = class_type.__swig_getmethods__.get(name,None)
    if method: return method(self)
    raise AttributeError,name

import types
try:
    _object = types.ObjectType
    _newclass = 1
except AttributeError:
    class _object : pass
    _newclass = 0
del types


class intarray(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, intarray, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, intarray, name)
    def __repr__(self):
        return "<C intarray instance at %s>" % (self.this,)
    def __init__(self, *args):
        _swig_setattr(self, intarray, 'this', _mapscript.new_intarray(*args))
        _swig_setattr(self, intarray, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_intarray):
        try:
            if self.thisown: destroy(self)
        except: pass
    def __getitem__(*args): return _mapscript.intarray___getitem__(*args)
    def __setitem__(*args): return _mapscript.intarray___setitem__(*args)
    def cast(*args): return _mapscript.intarray_cast(*args)
    __swig_getmethods__["frompointer"] = lambda x: _mapscript.intarray_frompointer
    if _newclass:frompointer = staticmethod(_mapscript.intarray_frompointer)

class intarrayPtr(intarray):
    def __init__(self, this):
        _swig_setattr(self, intarray, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, intarray, 'thisown', 0)
        _swig_setattr(self, intarray,self.__class__,intarray)
_mapscript.intarray_swigregister(intarrayPtr)

intarray_frompointer = _mapscript.intarray_frompointer

MapServerError = _mapscript.MapServerError
MapServerChildError = _mapscript.MapServerChildError

MS_VERSION = _mapscript.MS_VERSION
MS_TRUE = _mapscript.MS_TRUE
MS_FALSE = _mapscript.MS_FALSE
MS_ON = _mapscript.MS_ON
MS_OFF = _mapscript.MS_OFF
MS_DEFAULT = _mapscript.MS_DEFAULT
MS_EMBED = _mapscript.MS_EMBED
MS_DELETE = _mapscript.MS_DELETE
MS_YES = _mapscript.MS_YES
MS_NO = _mapscript.MS_NO
MS_SINGLE = _mapscript.MS_SINGLE
MS_MULTIPLE = _mapscript.MS_MULTIPLE
MS_GD_ALPHA = _mapscript.MS_GD_ALPHA
MS_MAXCLASSES = _mapscript.MS_MAXCLASSES
MS_MAXSTYLES = _mapscript.MS_MAXSTYLES
MS_MAXLAYERS = _mapscript.MS_MAXLAYERS
MS_FILE_MAP = _mapscript.MS_FILE_MAP
MS_FILE_SYMBOL = _mapscript.MS_FILE_SYMBOL
MS_INCHES = _mapscript.MS_INCHES
MS_FEET = _mapscript.MS_FEET
MS_MILES = _mapscript.MS_MILES
MS_METERS = _mapscript.MS_METERS
MS_KILOMETERS = _mapscript.MS_KILOMETERS
MS_DD = _mapscript.MS_DD
MS_PIXELS = _mapscript.MS_PIXELS
MS_PERCENTAGES = _mapscript.MS_PERCENTAGES
MS_SHAPE_POINT = _mapscript.MS_SHAPE_POINT
MS_SHAPE_LINE = _mapscript.MS_SHAPE_LINE
MS_SHAPE_POLYGON = _mapscript.MS_SHAPE_POLYGON
MS_SHAPE_NULL = _mapscript.MS_SHAPE_NULL
MS_LAYER_POINT = _mapscript.MS_LAYER_POINT
MS_LAYER_LINE = _mapscript.MS_LAYER_LINE
MS_LAYER_POLYGON = _mapscript.MS_LAYER_POLYGON
MS_LAYER_RASTER = _mapscript.MS_LAYER_RASTER
MS_LAYER_ANNOTATION = _mapscript.MS_LAYER_ANNOTATION
MS_LAYER_QUERY = _mapscript.MS_LAYER_QUERY
MS_LAYER_CIRCLE = _mapscript.MS_LAYER_CIRCLE
MS_LAYER_TILEINDEX = _mapscript.MS_LAYER_TILEINDEX
MS_TRUETYPE = _mapscript.MS_TRUETYPE
MS_BITMAP = _mapscript.MS_BITMAP
MS_POSITIONS_LENGTH = _mapscript.MS_POSITIONS_LENGTH
MS_UL = _mapscript.MS_UL
MS_LR = _mapscript.MS_LR
MS_UR = _mapscript.MS_UR
MS_LL = _mapscript.MS_LL
MS_CR = _mapscript.MS_CR
MS_CL = _mapscript.MS_CL
MS_UC = _mapscript.MS_UC
MS_LC = _mapscript.MS_LC
MS_CC = _mapscript.MS_CC
MS_AUTO = _mapscript.MS_AUTO
MS_XY = _mapscript.MS_XY
MS_FOLLOW = _mapscript.MS_FOLLOW
MS_TINY = _mapscript.MS_TINY
MS_SMALL = _mapscript.MS_SMALL
MS_MEDIUM = _mapscript.MS_MEDIUM
MS_LARGE = _mapscript.MS_LARGE
MS_GIANT = _mapscript.MS_GIANT
MS_NORMAL = _mapscript.MS_NORMAL
MS_HILITE = _mapscript.MS_HILITE
MS_SELECTED = _mapscript.MS_SELECTED
MS_INLINE = _mapscript.MS_INLINE
MS_SHAPEFILE = _mapscript.MS_SHAPEFILE
MS_TILED_SHAPEFILE = _mapscript.MS_TILED_SHAPEFILE
MS_SDE = _mapscript.MS_SDE
MS_OGR = _mapscript.MS_OGR
MS_UNUSED_1 = _mapscript.MS_UNUSED_1
MS_POSTGIS = _mapscript.MS_POSTGIS
MS_WMS = _mapscript.MS_WMS
MS_ORACLESPATIAL = _mapscript.MS_ORACLESPATIAL
MS_WFS = _mapscript.MS_WFS
MS_GRATICULE = _mapscript.MS_GRATICULE
MS_MYGIS = _mapscript.MS_MYGIS
MS_RASTER = _mapscript.MS_RASTER
MS_PLUGIN = _mapscript.MS_PLUGIN
MS_DB_XBASE = _mapscript.MS_DB_XBASE
MS_DB_CSV = _mapscript.MS_DB_CSV
MS_DB_MYSQL = _mapscript.MS_DB_MYSQL
MS_DB_ORACLE = _mapscript.MS_DB_ORACLE
MS_DB_POSTGRES = _mapscript.MS_DB_POSTGRES
MS_JOIN_ONE_TO_ONE = _mapscript.MS_JOIN_ONE_TO_ONE
MS_JOIN_ONE_TO_MANY = _mapscript.MS_JOIN_ONE_TO_MANY
MS_CJC_NONE = _mapscript.MS_CJC_NONE
MS_CJC_BEVEL = _mapscript.MS_CJC_BEVEL
MS_CJC_BUTT = _mapscript.MS_CJC_BUTT
MS_CJC_MITER = _mapscript.MS_CJC_MITER
MS_CJC_ROUND = _mapscript.MS_CJC_ROUND
MS_CJC_SQUARE = _mapscript.MS_CJC_SQUARE
MS_CJC_TRIANGLE = _mapscript.MS_CJC_TRIANGLE
MS_SUCCESS = _mapscript.MS_SUCCESS
MS_FAILURE = _mapscript.MS_FAILURE
MS_DONE = _mapscript.MS_DONE
MS_IMAGEMODE_PC256 = _mapscript.MS_IMAGEMODE_PC256
MS_IMAGEMODE_RGB = _mapscript.MS_IMAGEMODE_RGB
MS_IMAGEMODE_RGBA = _mapscript.MS_IMAGEMODE_RGBA
MS_IMAGEMODE_INT16 = _mapscript.MS_IMAGEMODE_INT16
MS_IMAGEMODE_FLOAT32 = _mapscript.MS_IMAGEMODE_FLOAT32
MS_IMAGEMODE_BYTE = _mapscript.MS_IMAGEMODE_BYTE
MS_IMAGEMODE_NULL = _mapscript.MS_IMAGEMODE_NULL
class fontSetObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, fontSetObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, fontSetObj, name)
    def __repr__(self):
        return "<C fontSetObj instance at %s>" % (self.this,)
    __swig_getmethods__["filename"] = _mapscript.fontSetObj_filename_get
    if _newclass:filename = property(_mapscript.fontSetObj_filename_get)
    __swig_getmethods__["numfonts"] = _mapscript.fontSetObj_numfonts_get
    if _newclass:numfonts = property(_mapscript.fontSetObj_numfonts_get)
    __swig_getmethods__["fonts"] = _mapscript.fontSetObj_fonts_get
    if _newclass:fonts = property(_mapscript.fontSetObj_fonts_get)
    def __init__(self, *args):
        _swig_setattr(self, fontSetObj, 'this', _mapscript.new_fontSetObj(*args))
        _swig_setattr(self, fontSetObj, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_fontSetObj):
        try:
            if self.thisown: destroy(self)
        except: pass

class fontSetObjPtr(fontSetObj):
    def __init__(self, this):
        _swig_setattr(self, fontSetObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, fontSetObj, 'thisown', 0)
        _swig_setattr(self, fontSetObj,self.__class__,fontSetObj)
_mapscript.fontSetObj_swigregister(fontSetObjPtr)

class outputFormatObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, outputFormatObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, outputFormatObj, name)
    def __repr__(self):
        return "<C outputFormatObj instance at %s>" % (self.this,)
    __swig_setmethods__["name"] = _mapscript.outputFormatObj_name_set
    __swig_getmethods__["name"] = _mapscript.outputFormatObj_name_get
    if _newclass:name = property(_mapscript.outputFormatObj_name_get, _mapscript.outputFormatObj_name_set)
    __swig_setmethods__["mimetype"] = _mapscript.outputFormatObj_mimetype_set
    __swig_getmethods__["mimetype"] = _mapscript.outputFormatObj_mimetype_get
    if _newclass:mimetype = property(_mapscript.outputFormatObj_mimetype_get, _mapscript.outputFormatObj_mimetype_set)
    __swig_setmethods__["driver"] = _mapscript.outputFormatObj_driver_set
    __swig_getmethods__["driver"] = _mapscript.outputFormatObj_driver_get
    if _newclass:driver = property(_mapscript.outputFormatObj_driver_get, _mapscript.outputFormatObj_driver_set)
    __swig_setmethods__["extension"] = _mapscript.outputFormatObj_extension_set
    __swig_getmethods__["extension"] = _mapscript.outputFormatObj_extension_get
    if _newclass:extension = property(_mapscript.outputFormatObj_extension_get, _mapscript.outputFormatObj_extension_set)
    __swig_setmethods__["renderer"] = _mapscript.outputFormatObj_renderer_set
    __swig_getmethods__["renderer"] = _mapscript.outputFormatObj_renderer_get
    if _newclass:renderer = property(_mapscript.outputFormatObj_renderer_get, _mapscript.outputFormatObj_renderer_set)
    __swig_setmethods__["imagemode"] = _mapscript.outputFormatObj_imagemode_set
    __swig_getmethods__["imagemode"] = _mapscript.outputFormatObj_imagemode_get
    if _newclass:imagemode = property(_mapscript.outputFormatObj_imagemode_get, _mapscript.outputFormatObj_imagemode_set)
    __swig_setmethods__["transparent"] = _mapscript.outputFormatObj_transparent_set
    __swig_getmethods__["transparent"] = _mapscript.outputFormatObj_transparent_get
    if _newclass:transparent = property(_mapscript.outputFormatObj_transparent_get, _mapscript.outputFormatObj_transparent_set)
    __swig_setmethods__["bands"] = _mapscript.outputFormatObj_bands_set
    __swig_getmethods__["bands"] = _mapscript.outputFormatObj_bands_get
    if _newclass:bands = property(_mapscript.outputFormatObj_bands_get, _mapscript.outputFormatObj_bands_set)
    __swig_setmethods__["numformatoptions"] = _mapscript.outputFormatObj_numformatoptions_set
    __swig_getmethods__["numformatoptions"] = _mapscript.outputFormatObj_numformatoptions_get
    if _newclass:numformatoptions = property(_mapscript.outputFormatObj_numformatoptions_get, _mapscript.outputFormatObj_numformatoptions_set)
    __swig_setmethods__["formatoptions"] = _mapscript.outputFormatObj_formatoptions_set
    __swig_getmethods__["formatoptions"] = _mapscript.outputFormatObj_formatoptions_get
    if _newclass:formatoptions = property(_mapscript.outputFormatObj_formatoptions_get, _mapscript.outputFormatObj_formatoptions_set)
    __swig_setmethods__["refcount"] = _mapscript.outputFormatObj_refcount_set
    __swig_getmethods__["refcount"] = _mapscript.outputFormatObj_refcount_get
    if _newclass:refcount = property(_mapscript.outputFormatObj_refcount_get, _mapscript.outputFormatObj_refcount_set)
    __swig_setmethods__["inmapfile"] = _mapscript.outputFormatObj_inmapfile_set
    __swig_getmethods__["inmapfile"] = _mapscript.outputFormatObj_inmapfile_get
    if _newclass:inmapfile = property(_mapscript.outputFormatObj_inmapfile_get, _mapscript.outputFormatObj_inmapfile_set)
    def __init__(self, *args):
        _swig_setattr(self, outputFormatObj, 'this', _mapscript.new_outputFormatObj(*args))
        _swig_setattr(self, outputFormatObj, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_outputFormatObj):
        try:
            if self.thisown: destroy(self)
        except: pass
    def setExtension(*args): return _mapscript.outputFormatObj_setExtension(*args)
    def setMimetype(*args): return _mapscript.outputFormatObj_setMimetype(*args)
    def setOption(*args): return _mapscript.outputFormatObj_setOption(*args)
    def validate(*args): return _mapscript.outputFormatObj_validate(*args)
    def getOption(*args): return _mapscript.outputFormatObj_getOption(*args)

class outputFormatObjPtr(outputFormatObj):
    def __init__(self, this):
        _swig_setattr(self, outputFormatObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, outputFormatObj, 'thisown', 0)
        _swig_setattr(self, outputFormatObj,self.__class__,outputFormatObj)
_mapscript.outputFormatObj_swigregister(outputFormatObjPtr)

MS_NOOVERRIDE = _mapscript.MS_NOOVERRIDE
class queryMapObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, queryMapObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, queryMapObj, name)
    def __repr__(self):
        return "<C queryMapObj instance at %s>" % (self.this,)
    __swig_setmethods__["height"] = _mapscript.queryMapObj_height_set
    __swig_getmethods__["height"] = _mapscript.queryMapObj_height_get
    if _newclass:height = property(_mapscript.queryMapObj_height_get, _mapscript.queryMapObj_height_set)
    __swig_setmethods__["width"] = _mapscript.queryMapObj_width_set
    __swig_getmethods__["width"] = _mapscript.queryMapObj_width_get
    if _newclass:width = property(_mapscript.queryMapObj_width_get, _mapscript.queryMapObj_width_set)
    __swig_setmethods__["status"] = _mapscript.queryMapObj_status_set
    __swig_getmethods__["status"] = _mapscript.queryMapObj_status_get
    if _newclass:status = property(_mapscript.queryMapObj_status_get, _mapscript.queryMapObj_status_set)
    __swig_setmethods__["style"] = _mapscript.queryMapObj_style_set
    __swig_getmethods__["style"] = _mapscript.queryMapObj_style_get
    if _newclass:style = property(_mapscript.queryMapObj_style_get, _mapscript.queryMapObj_style_set)
    __swig_setmethods__["color"] = _mapscript.queryMapObj_color_set
    __swig_getmethods__["color"] = _mapscript.queryMapObj_color_get
    if _newclass:color = property(_mapscript.queryMapObj_color_get, _mapscript.queryMapObj_color_set)
    def __init__(self, *args):
        _swig_setattr(self, queryMapObj, 'this', _mapscript.new_queryMapObj(*args))
        _swig_setattr(self, queryMapObj, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_queryMapObj):
        try:
            if self.thisown: destroy(self)
        except: pass

class queryMapObjPtr(queryMapObj):
    def __init__(self, this):
        _swig_setattr(self, queryMapObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, queryMapObj, 'thisown', 0)
        _swig_setattr(self, queryMapObj,self.__class__,queryMapObj)
_mapscript.queryMapObj_swigregister(queryMapObjPtr)

class labelObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, labelObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, labelObj, name)
    def __repr__(self):
        return "<C labelObj instance at %s>" % (self.this,)
    __swig_setmethods__["font"] = _mapscript.labelObj_font_set
    __swig_getmethods__["font"] = _mapscript.labelObj_font_get
    if _newclass:font = property(_mapscript.labelObj_font_get, _mapscript.labelObj_font_set)
    __swig_setmethods__["type"] = _mapscript.labelObj_type_set
    __swig_getmethods__["type"] = _mapscript.labelObj_type_get
    if _newclass:type = property(_mapscript.labelObj_type_get, _mapscript.labelObj_type_set)
    __swig_setmethods__["color"] = _mapscript.labelObj_color_set
    __swig_getmethods__["color"] = _mapscript.labelObj_color_get
    if _newclass:color = property(_mapscript.labelObj_color_get, _mapscript.labelObj_color_set)
    __swig_setmethods__["outlinecolor"] = _mapscript.labelObj_outlinecolor_set
    __swig_getmethods__["outlinecolor"] = _mapscript.labelObj_outlinecolor_get
    if _newclass:outlinecolor = property(_mapscript.labelObj_outlinecolor_get, _mapscript.labelObj_outlinecolor_set)
    __swig_setmethods__["shadowcolor"] = _mapscript.labelObj_shadowcolor_set
    __swig_getmethods__["shadowcolor"] = _mapscript.labelObj_shadowcolor_get
    if _newclass:shadowcolor = property(_mapscript.labelObj_shadowcolor_get, _mapscript.labelObj_shadowcolor_set)
    __swig_setmethods__["shadowsizex"] = _mapscript.labelObj_shadowsizex_set
    __swig_getmethods__["shadowsizex"] = _mapscript.labelObj_shadowsizex_get
    if _newclass:shadowsizex = property(_mapscript.labelObj_shadowsizex_get, _mapscript.labelObj_shadowsizex_set)
    __swig_setmethods__["shadowsizey"] = _mapscript.labelObj_shadowsizey_set
    __swig_getmethods__["shadowsizey"] = _mapscript.labelObj_shadowsizey_get
    if _newclass:shadowsizey = property(_mapscript.labelObj_shadowsizey_get, _mapscript.labelObj_shadowsizey_set)
    __swig_setmethods__["backgroundcolor"] = _mapscript.labelObj_backgroundcolor_set
    __swig_getmethods__["backgroundcolor"] = _mapscript.labelObj_backgroundcolor_get
    if _newclass:backgroundcolor = property(_mapscript.labelObj_backgroundcolor_get, _mapscript.labelObj_backgroundcolor_set)
    __swig_setmethods__["backgroundshadowcolor"] = _mapscript.labelObj_backgroundshadowcolor_set
    __swig_getmethods__["backgroundshadowcolor"] = _mapscript.labelObj_backgroundshadowcolor_get
    if _newclass:backgroundshadowcolor = property(_mapscript.labelObj_backgroundshadowcolor_get, _mapscript.labelObj_backgroundshadowcolor_set)
    __swig_setmethods__["backgroundshadowsizex"] = _mapscript.labelObj_backgroundshadowsizex_set
    __swig_getmethods__["backgroundshadowsizex"] = _mapscript.labelObj_backgroundshadowsizex_get
    if _newclass:backgroundshadowsizex = property(_mapscript.labelObj_backgroundshadowsizex_get, _mapscript.labelObj_backgroundshadowsizex_set)
    __swig_setmethods__["backgroundshadowsizey"] = _mapscript.labelObj_backgroundshadowsizey_set
    __swig_getmethods__["backgroundshadowsizey"] = _mapscript.labelObj_backgroundshadowsizey_get
    if _newclass:backgroundshadowsizey = property(_mapscript.labelObj_backgroundshadowsizey_get, _mapscript.labelObj_backgroundshadowsizey_set)
    __swig_setmethods__["size"] = _mapscript.labelObj_size_set
    __swig_getmethods__["size"] = _mapscript.labelObj_size_get
    if _newclass:size = property(_mapscript.labelObj_size_get, _mapscript.labelObj_size_set)
    __swig_setmethods__["minsize"] = _mapscript.labelObj_minsize_set
    __swig_getmethods__["minsize"] = _mapscript.labelObj_minsize_get
    if _newclass:minsize = property(_mapscript.labelObj_minsize_get, _mapscript.labelObj_minsize_set)
    __swig_setmethods__["maxsize"] = _mapscript.labelObj_maxsize_set
    __swig_getmethods__["maxsize"] = _mapscript.labelObj_maxsize_get
    if _newclass:maxsize = property(_mapscript.labelObj_maxsize_get, _mapscript.labelObj_maxsize_set)
    __swig_setmethods__["position"] = _mapscript.labelObj_position_set
    __swig_getmethods__["position"] = _mapscript.labelObj_position_get
    if _newclass:position = property(_mapscript.labelObj_position_get, _mapscript.labelObj_position_set)
    __swig_setmethods__["offsetx"] = _mapscript.labelObj_offsetx_set
    __swig_getmethods__["offsetx"] = _mapscript.labelObj_offsetx_get
    if _newclass:offsetx = property(_mapscript.labelObj_offsetx_get, _mapscript.labelObj_offsetx_set)
    __swig_setmethods__["offsety"] = _mapscript.labelObj_offsety_set
    __swig_getmethods__["offsety"] = _mapscript.labelObj_offsety_get
    if _newclass:offsety = property(_mapscript.labelObj_offsety_get, _mapscript.labelObj_offsety_set)
    __swig_setmethods__["angle"] = _mapscript.labelObj_angle_set
    __swig_getmethods__["angle"] = _mapscript.labelObj_angle_get
    if _newclass:angle = property(_mapscript.labelObj_angle_get, _mapscript.labelObj_angle_set)
    __swig_setmethods__["autoangle"] = _mapscript.labelObj_autoangle_set
    __swig_getmethods__["autoangle"] = _mapscript.labelObj_autoangle_get
    if _newclass:autoangle = property(_mapscript.labelObj_autoangle_get, _mapscript.labelObj_autoangle_set)
    __swig_setmethods__["autofollow"] = _mapscript.labelObj_autofollow_set
    __swig_getmethods__["autofollow"] = _mapscript.labelObj_autofollow_get
    if _newclass:autofollow = property(_mapscript.labelObj_autofollow_get, _mapscript.labelObj_autofollow_set)
    __swig_setmethods__["buffer"] = _mapscript.labelObj_buffer_set
    __swig_getmethods__["buffer"] = _mapscript.labelObj_buffer_get
    if _newclass:buffer = property(_mapscript.labelObj_buffer_get, _mapscript.labelObj_buffer_set)
    __swig_setmethods__["antialias"] = _mapscript.labelObj_antialias_set
    __swig_getmethods__["antialias"] = _mapscript.labelObj_antialias_get
    if _newclass:antialias = property(_mapscript.labelObj_antialias_get, _mapscript.labelObj_antialias_set)
    __swig_setmethods__["wrap"] = _mapscript.labelObj_wrap_set
    __swig_getmethods__["wrap"] = _mapscript.labelObj_wrap_get
    if _newclass:wrap = property(_mapscript.labelObj_wrap_get, _mapscript.labelObj_wrap_set)
    __swig_setmethods__["minfeaturesize"] = _mapscript.labelObj_minfeaturesize_set
    __swig_getmethods__["minfeaturesize"] = _mapscript.labelObj_minfeaturesize_get
    if _newclass:minfeaturesize = property(_mapscript.labelObj_minfeaturesize_get, _mapscript.labelObj_minfeaturesize_set)
    __swig_setmethods__["autominfeaturesize"] = _mapscript.labelObj_autominfeaturesize_set
    __swig_getmethods__["autominfeaturesize"] = _mapscript.labelObj_autominfeaturesize_get
    if _newclass:autominfeaturesize = property(_mapscript.labelObj_autominfeaturesize_get, _mapscript.labelObj_autominfeaturesize_set)
    __swig_setmethods__["mindistance"] = _mapscript.labelObj_mindistance_set
    __swig_getmethods__["mindistance"] = _mapscript.labelObj_mindistance_get
    if _newclass:mindistance = property(_mapscript.labelObj_mindistance_get, _mapscript.labelObj_mindistance_set)
    __swig_setmethods__["partials"] = _mapscript.labelObj_partials_set
    __swig_getmethods__["partials"] = _mapscript.labelObj_partials_get
    if _newclass:partials = property(_mapscript.labelObj_partials_get, _mapscript.labelObj_partials_set)
    __swig_setmethods__["force"] = _mapscript.labelObj_force_set
    __swig_getmethods__["force"] = _mapscript.labelObj_force_get
    if _newclass:force = property(_mapscript.labelObj_force_get, _mapscript.labelObj_force_set)
    __swig_setmethods__["encoding"] = _mapscript.labelObj_encoding_set
    __swig_getmethods__["encoding"] = _mapscript.labelObj_encoding_get
    if _newclass:encoding = property(_mapscript.labelObj_encoding_get, _mapscript.labelObj_encoding_set)
    def __init__(self, *args):
        _swig_setattr(self, labelObj, 'this', _mapscript.new_labelObj(*args))
        _swig_setattr(self, labelObj, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_labelObj):
        try:
            if self.thisown: destroy(self)
        except: pass

class labelObjPtr(labelObj):
    def __init__(self, this):
        _swig_setattr(self, labelObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, labelObj, 'thisown', 0)
        _swig_setattr(self, labelObj,self.__class__,labelObj)
_mapscript.labelObj_swigregister(labelObjPtr)

class webObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, webObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, webObj, name)
    def __repr__(self):
        return "<C webObj instance at %s>" % (self.this,)
    __swig_setmethods__["log"] = _mapscript.webObj_log_set
    __swig_getmethods__["log"] = _mapscript.webObj_log_get
    if _newclass:log = property(_mapscript.webObj_log_get, _mapscript.webObj_log_set)
    __swig_setmethods__["imagepath"] = _mapscript.webObj_imagepath_set
    __swig_getmethods__["imagepath"] = _mapscript.webObj_imagepath_get
    if _newclass:imagepath = property(_mapscript.webObj_imagepath_get, _mapscript.webObj_imagepath_set)
    __swig_setmethods__["imageurl"] = _mapscript.webObj_imageurl_set
    __swig_getmethods__["imageurl"] = _mapscript.webObj_imageurl_get
    if _newclass:imageurl = property(_mapscript.webObj_imageurl_get, _mapscript.webObj_imageurl_set)
    __swig_getmethods__["map"] = _mapscript.webObj_map_get
    if _newclass:map = property(_mapscript.webObj_map_get)
    __swig_setmethods__["template"] = _mapscript.webObj_template_set
    __swig_getmethods__["template"] = _mapscript.webObj_template_get
    if _newclass:template = property(_mapscript.webObj_template_get, _mapscript.webObj_template_set)
    __swig_setmethods__["header"] = _mapscript.webObj_header_set
    __swig_getmethods__["header"] = _mapscript.webObj_header_get
    if _newclass:header = property(_mapscript.webObj_header_get, _mapscript.webObj_header_set)
    __swig_setmethods__["footer"] = _mapscript.webObj_footer_set
    __swig_getmethods__["footer"] = _mapscript.webObj_footer_get
    if _newclass:footer = property(_mapscript.webObj_footer_get, _mapscript.webObj_footer_set)
    __swig_setmethods__["empty"] = _mapscript.webObj_empty_set
    __swig_getmethods__["empty"] = _mapscript.webObj_empty_get
    if _newclass:empty = property(_mapscript.webObj_empty_get, _mapscript.webObj_empty_set)
    __swig_setmethods__["error"] = _mapscript.webObj_error_set
    __swig_getmethods__["error"] = _mapscript.webObj_error_get
    if _newclass:error = property(_mapscript.webObj_error_get, _mapscript.webObj_error_set)
    __swig_setmethods__["extent"] = _mapscript.webObj_extent_set
    __swig_getmethods__["extent"] = _mapscript.webObj_extent_get
    if _newclass:extent = property(_mapscript.webObj_extent_get, _mapscript.webObj_extent_set)
    __swig_setmethods__["minscale"] = _mapscript.webObj_minscale_set
    __swig_getmethods__["minscale"] = _mapscript.webObj_minscale_get
    if _newclass:minscale = property(_mapscript.webObj_minscale_get, _mapscript.webObj_minscale_set)
    __swig_setmethods__["maxscale"] = _mapscript.webObj_maxscale_set
    __swig_getmethods__["maxscale"] = _mapscript.webObj_maxscale_get
    if _newclass:maxscale = property(_mapscript.webObj_maxscale_get, _mapscript.webObj_maxscale_set)
    __swig_setmethods__["mintemplate"] = _mapscript.webObj_mintemplate_set
    __swig_getmethods__["mintemplate"] = _mapscript.webObj_mintemplate_get
    if _newclass:mintemplate = property(_mapscript.webObj_mintemplate_get, _mapscript.webObj_mintemplate_set)
    __swig_setmethods__["maxtemplate"] = _mapscript.webObj_maxtemplate_set
    __swig_getmethods__["maxtemplate"] = _mapscript.webObj_maxtemplate_get
    if _newclass:maxtemplate = property(_mapscript.webObj_maxtemplate_get, _mapscript.webObj_maxtemplate_set)
    __swig_setmethods__["queryformat"] = _mapscript.webObj_queryformat_set
    __swig_getmethods__["queryformat"] = _mapscript.webObj_queryformat_get
    if _newclass:queryformat = property(_mapscript.webObj_queryformat_get, _mapscript.webObj_queryformat_set)
    __swig_setmethods__["legendformat"] = _mapscript.webObj_legendformat_set
    __swig_getmethods__["legendformat"] = _mapscript.webObj_legendformat_get
    if _newclass:legendformat = property(_mapscript.webObj_legendformat_get, _mapscript.webObj_legendformat_set)
    __swig_setmethods__["browseformat"] = _mapscript.webObj_browseformat_set
    __swig_getmethods__["browseformat"] = _mapscript.webObj_browseformat_get
    if _newclass:browseformat = property(_mapscript.webObj_browseformat_get, _mapscript.webObj_browseformat_set)
    __swig_getmethods__["metadata"] = _mapscript.webObj_metadata_get
    if _newclass:metadata = property(_mapscript.webObj_metadata_get)
    def __init__(self, *args):
        _swig_setattr(self, webObj, 'this', _mapscript.new_webObj(*args))
        _swig_setattr(self, webObj, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_webObj):
        try:
            if self.thisown: destroy(self)
        except: pass

class webObjPtr(webObj):
    def __init__(self, this):
        _swig_setattr(self, webObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, webObj, 'thisown', 0)
        _swig_setattr(self, webObj,self.__class__,webObj)
_mapscript.webObj_swigregister(webObjPtr)

class styleObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, styleObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, styleObj, name)
    def __repr__(self):
        return "<C styleObj instance at %s>" % (self.this,)
    __swig_setmethods__["color"] = _mapscript.styleObj_color_set
    __swig_getmethods__["color"] = _mapscript.styleObj_color_get
    if _newclass:color = property(_mapscript.styleObj_color_get, _mapscript.styleObj_color_set)
    __swig_setmethods__["backgroundcolor"] = _mapscript.styleObj_backgroundcolor_set
    __swig_getmethods__["backgroundcolor"] = _mapscript.styleObj_backgroundcolor_get
    if _newclass:backgroundcolor = property(_mapscript.styleObj_backgroundcolor_get, _mapscript.styleObj_backgroundcolor_set)
    __swig_setmethods__["outlinecolor"] = _mapscript.styleObj_outlinecolor_set
    __swig_getmethods__["outlinecolor"] = _mapscript.styleObj_outlinecolor_get
    if _newclass:outlinecolor = property(_mapscript.styleObj_outlinecolor_get, _mapscript.styleObj_outlinecolor_set)
    __swig_setmethods__["mincolor"] = _mapscript.styleObj_mincolor_set
    __swig_getmethods__["mincolor"] = _mapscript.styleObj_mincolor_get
    if _newclass:mincolor = property(_mapscript.styleObj_mincolor_get, _mapscript.styleObj_mincolor_set)
    __swig_setmethods__["maxcolor"] = _mapscript.styleObj_maxcolor_set
    __swig_getmethods__["maxcolor"] = _mapscript.styleObj_maxcolor_get
    if _newclass:maxcolor = property(_mapscript.styleObj_maxcolor_get, _mapscript.styleObj_maxcolor_set)
    __swig_setmethods__["minvalue"] = _mapscript.styleObj_minvalue_set
    __swig_getmethods__["minvalue"] = _mapscript.styleObj_minvalue_get
    if _newclass:minvalue = property(_mapscript.styleObj_minvalue_get, _mapscript.styleObj_minvalue_set)
    __swig_setmethods__["maxvalue"] = _mapscript.styleObj_maxvalue_set
    __swig_getmethods__["maxvalue"] = _mapscript.styleObj_maxvalue_get
    if _newclass:maxvalue = property(_mapscript.styleObj_maxvalue_get, _mapscript.styleObj_maxvalue_set)
    __swig_setmethods__["rangeitem"] = _mapscript.styleObj_rangeitem_set
    __swig_getmethods__["rangeitem"] = _mapscript.styleObj_rangeitem_get
    if _newclass:rangeitem = property(_mapscript.styleObj_rangeitem_get, _mapscript.styleObj_rangeitem_set)
    __swig_setmethods__["rangeitemindex"] = _mapscript.styleObj_rangeitemindex_set
    __swig_getmethods__["rangeitemindex"] = _mapscript.styleObj_rangeitemindex_get
    if _newclass:rangeitemindex = property(_mapscript.styleObj_rangeitemindex_get, _mapscript.styleObj_rangeitemindex_set)
    __swig_setmethods__["symbol"] = _mapscript.styleObj_symbol_set
    __swig_getmethods__["symbol"] = _mapscript.styleObj_symbol_get
    if _newclass:symbol = property(_mapscript.styleObj_symbol_get, _mapscript.styleObj_symbol_set)
    __swig_setmethods__["symbolname"] = _mapscript.styleObj_symbolname_set
    __swig_getmethods__["symbolname"] = _mapscript.styleObj_symbolname_get
    if _newclass:symbolname = property(_mapscript.styleObj_symbolname_get, _mapscript.styleObj_symbolname_set)
    __swig_setmethods__["size"] = _mapscript.styleObj_size_set
    __swig_getmethods__["size"] = _mapscript.styleObj_size_get
    if _newclass:size = property(_mapscript.styleObj_size_get, _mapscript.styleObj_size_set)
    __swig_setmethods__["minsize"] = _mapscript.styleObj_minsize_set
    __swig_getmethods__["minsize"] = _mapscript.styleObj_minsize_get
    if _newclass:minsize = property(_mapscript.styleObj_minsize_get, _mapscript.styleObj_minsize_set)
    __swig_setmethods__["maxsize"] = _mapscript.styleObj_maxsize_set
    __swig_getmethods__["maxsize"] = _mapscript.styleObj_maxsize_get
    if _newclass:maxsize = property(_mapscript.styleObj_maxsize_get, _mapscript.styleObj_maxsize_set)
    __swig_setmethods__["width"] = _mapscript.styleObj_width_set
    __swig_getmethods__["width"] = _mapscript.styleObj_width_get
    if _newclass:width = property(_mapscript.styleObj_width_get, _mapscript.styleObj_width_set)
    __swig_setmethods__["minwidth"] = _mapscript.styleObj_minwidth_set
    __swig_getmethods__["minwidth"] = _mapscript.styleObj_minwidth_get
    if _newclass:minwidth = property(_mapscript.styleObj_minwidth_get, _mapscript.styleObj_minwidth_set)
    __swig_setmethods__["maxwidth"] = _mapscript.styleObj_maxwidth_set
    __swig_getmethods__["maxwidth"] = _mapscript.styleObj_maxwidth_get
    if _newclass:maxwidth = property(_mapscript.styleObj_maxwidth_get, _mapscript.styleObj_maxwidth_set)
    __swig_setmethods__["offsetx"] = _mapscript.styleObj_offsetx_set
    __swig_getmethods__["offsetx"] = _mapscript.styleObj_offsetx_get
    if _newclass:offsetx = property(_mapscript.styleObj_offsetx_get, _mapscript.styleObj_offsetx_set)
    __swig_setmethods__["offsety"] = _mapscript.styleObj_offsety_set
    __swig_getmethods__["offsety"] = _mapscript.styleObj_offsety_get
    if _newclass:offsety = property(_mapscript.styleObj_offsety_get, _mapscript.styleObj_offsety_set)
    __swig_setmethods__["angle"] = _mapscript.styleObj_angle_set
    __swig_getmethods__["angle"] = _mapscript.styleObj_angle_get
    if _newclass:angle = property(_mapscript.styleObj_angle_get, _mapscript.styleObj_angle_set)
    __swig_setmethods__["antialias"] = _mapscript.styleObj_antialias_set
    __swig_getmethods__["antialias"] = _mapscript.styleObj_antialias_get
    if _newclass:antialias = property(_mapscript.styleObj_antialias_get, _mapscript.styleObj_antialias_set)
    __swig_setmethods__["angleitem"] = _mapscript.styleObj_angleitem_set
    __swig_getmethods__["angleitem"] = _mapscript.styleObj_angleitem_get
    if _newclass:angleitem = property(_mapscript.styleObj_angleitem_get, _mapscript.styleObj_angleitem_set)
    __swig_setmethods__["sizeitem"] = _mapscript.styleObj_sizeitem_set
    __swig_getmethods__["sizeitem"] = _mapscript.styleObj_sizeitem_get
    if _newclass:sizeitem = property(_mapscript.styleObj_sizeitem_get, _mapscript.styleObj_sizeitem_set)
    def __init__(self, *args):
        _swig_setattr(self, styleObj, 'this', _mapscript.new_styleObj(*args))
        _swig_setattr(self, styleObj, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_styleObj):
        try:
            if self.thisown: destroy(self)
        except: pass
    def clone(*args): return _mapscript.styleObj_clone(*args)
    def setSymbolByName(*args): return _mapscript.styleObj_setSymbolByName(*args)

class styleObjPtr(styleObj):
    def __init__(self, this):
        _swig_setattr(self, styleObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, styleObj, 'thisown', 0)
        _swig_setattr(self, styleObj,self.__class__,styleObj)
_mapscript.styleObj_swigregister(styleObjPtr)

class classObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, classObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, classObj, name)
    def __repr__(self):
        return "<C classObj instance at %s>" % (self.this,)
    __swig_setmethods__["status"] = _mapscript.classObj_status_set
    __swig_getmethods__["status"] = _mapscript.classObj_status_get
    if _newclass:status = property(_mapscript.classObj_status_get, _mapscript.classObj_status_set)
    __swig_setmethods__["numstyles"] = _mapscript.classObj_numstyles_set
    __swig_getmethods__["numstyles"] = _mapscript.classObj_numstyles_get
    if _newclass:numstyles = property(_mapscript.classObj_numstyles_get, _mapscript.classObj_numstyles_set)
    __swig_getmethods__["label"] = _mapscript.classObj_label_get
    if _newclass:label = property(_mapscript.classObj_label_get)
    __swig_setmethods__["name"] = _mapscript.classObj_name_set
    __swig_getmethods__["name"] = _mapscript.classObj_name_get
    if _newclass:name = property(_mapscript.classObj_name_get, _mapscript.classObj_name_set)
    __swig_setmethods__["title"] = _mapscript.classObj_title_set
    __swig_getmethods__["title"] = _mapscript.classObj_title_get
    if _newclass:title = property(_mapscript.classObj_title_get, _mapscript.classObj_title_set)
    __swig_setmethods__["template"] = _mapscript.classObj_template_set
    __swig_getmethods__["template"] = _mapscript.classObj_template_get
    if _newclass:template = property(_mapscript.classObj_template_get, _mapscript.classObj_template_set)
    __swig_setmethods__["type"] = _mapscript.classObj_type_set
    __swig_getmethods__["type"] = _mapscript.classObj_type_get
    if _newclass:type = property(_mapscript.classObj_type_get, _mapscript.classObj_type_set)
    __swig_getmethods__["metadata"] = _mapscript.classObj_metadata_get
    if _newclass:metadata = property(_mapscript.classObj_metadata_get)
    __swig_setmethods__["minscale"] = _mapscript.classObj_minscale_set
    __swig_getmethods__["minscale"] = _mapscript.classObj_minscale_get
    if _newclass:minscale = property(_mapscript.classObj_minscale_get, _mapscript.classObj_minscale_set)
    __swig_setmethods__["maxscale"] = _mapscript.classObj_maxscale_set
    __swig_getmethods__["maxscale"] = _mapscript.classObj_maxscale_get
    if _newclass:maxscale = property(_mapscript.classObj_maxscale_get, _mapscript.classObj_maxscale_set)
    __swig_getmethods__["layer"] = _mapscript.classObj_layer_get
    if _newclass:layer = property(_mapscript.classObj_layer_get)
    __swig_setmethods__["debug"] = _mapscript.classObj_debug_set
    __swig_getmethods__["debug"] = _mapscript.classObj_debug_get
    if _newclass:debug = property(_mapscript.classObj_debug_get, _mapscript.classObj_debug_set)
    __swig_setmethods__["keyimage"] = _mapscript.classObj_keyimage_set
    __swig_getmethods__["keyimage"] = _mapscript.classObj_keyimage_get
    if _newclass:keyimage = property(_mapscript.classObj_keyimage_get, _mapscript.classObj_keyimage_set)
    def __init__(self, *args):
        _swig_setattr(self, classObj, 'this', _mapscript.new_classObj(*args))
        _swig_setattr(self, classObj, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_classObj):
        try:
            if self.thisown: destroy(self)
        except: pass
    def clone(*args): return _mapscript.classObj_clone(*args)
    def setExpression(*args): return _mapscript.classObj_setExpression(*args)
    def getExpressionString(*args): return _mapscript.classObj_getExpressionString(*args)
    def setText(*args): return _mapscript.classObj_setText(*args)
    def getTextString(*args): return _mapscript.classObj_getTextString(*args)
    def getMetaData(*args): return _mapscript.classObj_getMetaData(*args)
    def setMetaData(*args): return _mapscript.classObj_setMetaData(*args)
    def getFirstMetaDataKey(*args): return _mapscript.classObj_getFirstMetaDataKey(*args)
    def getNextMetaDataKey(*args): return _mapscript.classObj_getNextMetaDataKey(*args)
    def drawLegendIcon(*args): return _mapscript.classObj_drawLegendIcon(*args)
    def createLegendIcon(*args): return _mapscript.classObj_createLegendIcon(*args)
    def getStyle(*args): return _mapscript.classObj_getStyle(*args)
    def insertStyle(*args): return _mapscript.classObj_insertStyle(*args)
    def removeStyle(*args): return _mapscript.classObj_removeStyle(*args)
    def moveStyleUp(*args): return _mapscript.classObj_moveStyleUp(*args)
    def moveStyleDown(*args): return _mapscript.classObj_moveStyleDown(*args)

class classObjPtr(classObj):
    def __init__(self, this):
        _swig_setattr(self, classObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, classObj, 'thisown', 0)
        _swig_setattr(self, classObj,self.__class__,classObj)
_mapscript.classObj_swigregister(classObjPtr)

class labelCacheMemberObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, labelCacheMemberObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, labelCacheMemberObj, name)
    def __repr__(self):
        return "<C labelCacheMemberObj instance at %s>" % (self.this,)
    __swig_getmethods__["text"] = _mapscript.labelCacheMemberObj_text_get
    if _newclass:text = property(_mapscript.labelCacheMemberObj_text_get)
    __swig_getmethods__["featuresize"] = _mapscript.labelCacheMemberObj_featuresize_get
    if _newclass:featuresize = property(_mapscript.labelCacheMemberObj_featuresize_get)
    __swig_getmethods__["styles"] = _mapscript.labelCacheMemberObj_styles_get
    if _newclass:styles = property(_mapscript.labelCacheMemberObj_styles_get)
    __swig_getmethods__["numstyles"] = _mapscript.labelCacheMemberObj_numstyles_get
    if _newclass:numstyles = property(_mapscript.labelCacheMemberObj_numstyles_get)
    __swig_getmethods__["label"] = _mapscript.labelCacheMemberObj_label_get
    if _newclass:label = property(_mapscript.labelCacheMemberObj_label_get)
    __swig_getmethods__["layerindex"] = _mapscript.labelCacheMemberObj_layerindex_get
    if _newclass:layerindex = property(_mapscript.labelCacheMemberObj_layerindex_get)
    __swig_getmethods__["classindex"] = _mapscript.labelCacheMemberObj_classindex_get
    if _newclass:classindex = property(_mapscript.labelCacheMemberObj_classindex_get)
    __swig_getmethods__["tileindex"] = _mapscript.labelCacheMemberObj_tileindex_get
    if _newclass:tileindex = property(_mapscript.labelCacheMemberObj_tileindex_get)
    __swig_getmethods__["shapeindex"] = _mapscript.labelCacheMemberObj_shapeindex_get
    if _newclass:shapeindex = property(_mapscript.labelCacheMemberObj_shapeindex_get)
    __swig_getmethods__["point"] = _mapscript.labelCacheMemberObj_point_get
    if _newclass:point = property(_mapscript.labelCacheMemberObj_point_get)
    __swig_getmethods__["poly"] = _mapscript.labelCacheMemberObj_poly_get
    if _newclass:poly = property(_mapscript.labelCacheMemberObj_poly_get)
    __swig_getmethods__["status"] = _mapscript.labelCacheMemberObj_status_get
    if _newclass:status = property(_mapscript.labelCacheMemberObj_status_get)
    __swig_getmethods__["labelpath"] = _mapscript.labelCacheMemberObj_labelpath_get
    if _newclass:labelpath = property(_mapscript.labelCacheMemberObj_labelpath_get)
    def __init__(self, *args):
        _swig_setattr(self, labelCacheMemberObj, 'this', _mapscript.new_labelCacheMemberObj(*args))
        _swig_setattr(self, labelCacheMemberObj, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_labelCacheMemberObj):
        try:
            if self.thisown: destroy(self)
        except: pass

class labelCacheMemberObjPtr(labelCacheMemberObj):
    def __init__(self, this):
        _swig_setattr(self, labelCacheMemberObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, labelCacheMemberObj, 'thisown', 0)
        _swig_setattr(self, labelCacheMemberObj,self.__class__,labelCacheMemberObj)
_mapscript.labelCacheMemberObj_swigregister(labelCacheMemberObjPtr)

class markerCacheMemberObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, markerCacheMemberObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, markerCacheMemberObj, name)
    def __repr__(self):
        return "<C markerCacheMemberObj instance at %s>" % (self.this,)
    __swig_getmethods__["id"] = _mapscript.markerCacheMemberObj_id_get
    if _newclass:id = property(_mapscript.markerCacheMemberObj_id_get)
    __swig_getmethods__["poly"] = _mapscript.markerCacheMemberObj_poly_get
    if _newclass:poly = property(_mapscript.markerCacheMemberObj_poly_get)
    def __init__(self, *args):
        _swig_setattr(self, markerCacheMemberObj, 'this', _mapscript.new_markerCacheMemberObj(*args))
        _swig_setattr(self, markerCacheMemberObj, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_markerCacheMemberObj):
        try:
            if self.thisown: destroy(self)
        except: pass

class markerCacheMemberObjPtr(markerCacheMemberObj):
    def __init__(self, this):
        _swig_setattr(self, markerCacheMemberObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, markerCacheMemberObj, 'thisown', 0)
        _swig_setattr(self, markerCacheMemberObj,self.__class__,markerCacheMemberObj)
_mapscript.markerCacheMemberObj_swigregister(markerCacheMemberObjPtr)

class labelCacheObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, labelCacheObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, labelCacheObj, name)
    def __repr__(self):
        return "<C labelCacheObj instance at %s>" % (self.this,)
    __swig_getmethods__["labels"] = _mapscript.labelCacheObj_labels_get
    if _newclass:labels = property(_mapscript.labelCacheObj_labels_get)
    __swig_getmethods__["numlabels"] = _mapscript.labelCacheObj_numlabels_get
    if _newclass:numlabels = property(_mapscript.labelCacheObj_numlabels_get)
    __swig_getmethods__["cachesize"] = _mapscript.labelCacheObj_cachesize_get
    if _newclass:cachesize = property(_mapscript.labelCacheObj_cachesize_get)
    __swig_getmethods__["markers"] = _mapscript.labelCacheObj_markers_get
    if _newclass:markers = property(_mapscript.labelCacheObj_markers_get)
    __swig_getmethods__["nummarkers"] = _mapscript.labelCacheObj_nummarkers_get
    if _newclass:nummarkers = property(_mapscript.labelCacheObj_nummarkers_get)
    __swig_getmethods__["markercachesize"] = _mapscript.labelCacheObj_markercachesize_get
    if _newclass:markercachesize = property(_mapscript.labelCacheObj_markercachesize_get)
    def freeCache(*args): return _mapscript.labelCacheObj_freeCache(*args)
    def __init__(self, *args):
        _swig_setattr(self, labelCacheObj, 'this', _mapscript.new_labelCacheObj(*args))
        _swig_setattr(self, labelCacheObj, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_labelCacheObj):
        try:
            if self.thisown: destroy(self)
        except: pass

class labelCacheObjPtr(labelCacheObj):
    def __init__(self, this):
        _swig_setattr(self, labelCacheObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, labelCacheObj, 'thisown', 0)
        _swig_setattr(self, labelCacheObj,self.__class__,labelCacheObj)
_mapscript.labelCacheObj_swigregister(labelCacheObjPtr)

class resultCacheMemberObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, resultCacheMemberObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, resultCacheMemberObj, name)
    def __repr__(self):
        return "<C resultCacheMemberObj instance at %s>" % (self.this,)
    __swig_getmethods__["shapeindex"] = _mapscript.resultCacheMemberObj_shapeindex_get
    if _newclass:shapeindex = property(_mapscript.resultCacheMemberObj_shapeindex_get)
    __swig_getmethods__["tileindex"] = _mapscript.resultCacheMemberObj_tileindex_get
    if _newclass:tileindex = property(_mapscript.resultCacheMemberObj_tileindex_get)
    __swig_getmethods__["classindex"] = _mapscript.resultCacheMemberObj_classindex_get
    if _newclass:classindex = property(_mapscript.resultCacheMemberObj_classindex_get)
    def __init__(self, *args):
        _swig_setattr(self, resultCacheMemberObj, 'this', _mapscript.new_resultCacheMemberObj(*args))
        _swig_setattr(self, resultCacheMemberObj, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_resultCacheMemberObj):
        try:
            if self.thisown: destroy(self)
        except: pass

class resultCacheMemberObjPtr(resultCacheMemberObj):
    def __init__(self, this):
        _swig_setattr(self, resultCacheMemberObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, resultCacheMemberObj, 'thisown', 0)
        _swig_setattr(self, resultCacheMemberObj,self.__class__,resultCacheMemberObj)
_mapscript.resultCacheMemberObj_swigregister(resultCacheMemberObjPtr)

class resultCacheObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, resultCacheObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, resultCacheObj, name)
    def __repr__(self):
        return "<C resultCacheObj instance at %s>" % (self.this,)
    __swig_getmethods__["numresults"] = _mapscript.resultCacheObj_numresults_get
    if _newclass:numresults = property(_mapscript.resultCacheObj_numresults_get)
    __swig_getmethods__["bounds"] = _mapscript.resultCacheObj_bounds_get
    if _newclass:bounds = property(_mapscript.resultCacheObj_bounds_get)
    def getResult(*args): return _mapscript.resultCacheObj_getResult(*args)
    def __init__(self, *args):
        _swig_setattr(self, resultCacheObj, 'this', _mapscript.new_resultCacheObj(*args))
        _swig_setattr(self, resultCacheObj, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_resultCacheObj):
        try:
            if self.thisown: destroy(self)
        except: pass

class resultCacheObjPtr(resultCacheObj):
    def __init__(self, this):
        _swig_setattr(self, resultCacheObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, resultCacheObj, 'thisown', 0)
        _swig_setattr(self, resultCacheObj,self.__class__,resultCacheObj)
_mapscript.resultCacheObj_swigregister(resultCacheObjPtr)

class symbolSetObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, symbolSetObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, symbolSetObj, name)
    def __repr__(self):
        return "<C symbolSetObj instance at %s>" % (self.this,)
    __swig_setmethods__["filename"] = _mapscript.symbolSetObj_filename_set
    __swig_getmethods__["filename"] = _mapscript.symbolSetObj_filename_get
    if _newclass:filename = property(_mapscript.symbolSetObj_filename_get, _mapscript.symbolSetObj_filename_set)
    __swig_setmethods__["imagecachesize"] = _mapscript.symbolSetObj_imagecachesize_set
    __swig_getmethods__["imagecachesize"] = _mapscript.symbolSetObj_imagecachesize_get
    if _newclass:imagecachesize = property(_mapscript.symbolSetObj_imagecachesize_get, _mapscript.symbolSetObj_imagecachesize_set)
    __swig_getmethods__["numsymbols"] = _mapscript.symbolSetObj_numsymbols_get
    if _newclass:numsymbols = property(_mapscript.symbolSetObj_numsymbols_get)
    __swig_setmethods__["symbol"] = _mapscript.symbolSetObj_symbol_set
    __swig_getmethods__["symbol"] = _mapscript.symbolSetObj_symbol_get
    if _newclass:symbol = property(_mapscript.symbolSetObj_symbol_get, _mapscript.symbolSetObj_symbol_set)
    def __init__(self, *args):
        _swig_setattr(self, symbolSetObj, 'this', _mapscript.new_symbolSetObj(*args))
        _swig_setattr(self, symbolSetObj, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_symbolSetObj):
        try:
            if self.thisown: destroy(self)
        except: pass
    def getSymbol(*args): return _mapscript.symbolSetObj_getSymbol(*args)
    def getSymbolByName(*args): return _mapscript.symbolSetObj_getSymbolByName(*args)
    def index(*args): return _mapscript.symbolSetObj_index(*args)
    def appendSymbol(*args): return _mapscript.symbolSetObj_appendSymbol(*args)
    def removeSymbol(*args): return _mapscript.symbolSetObj_removeSymbol(*args)
    def save(*args): return _mapscript.symbolSetObj_save(*args)

class symbolSetObjPtr(symbolSetObj):
    def __init__(self, this):
        _swig_setattr(self, symbolSetObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, symbolSetObj, 'thisown', 0)
        _swig_setattr(self, symbolSetObj,self.__class__,symbolSetObj)
_mapscript.symbolSetObj_swigregister(symbolSetObjPtr)

class referenceMapObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, referenceMapObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, referenceMapObj, name)
    def __repr__(self):
        return "<C referenceMapObj instance at %s>" % (self.this,)
    __swig_setmethods__["extent"] = _mapscript.referenceMapObj_extent_set
    __swig_getmethods__["extent"] = _mapscript.referenceMapObj_extent_get
    if _newclass:extent = property(_mapscript.referenceMapObj_extent_get, _mapscript.referenceMapObj_extent_set)
    __swig_setmethods__["height"] = _mapscript.referenceMapObj_height_set
    __swig_getmethods__["height"] = _mapscript.referenceMapObj_height_get
    if _newclass:height = property(_mapscript.referenceMapObj_height_get, _mapscript.referenceMapObj_height_set)
    __swig_setmethods__["width"] = _mapscript.referenceMapObj_width_set
    __swig_getmethods__["width"] = _mapscript.referenceMapObj_width_get
    if _newclass:width = property(_mapscript.referenceMapObj_width_get, _mapscript.referenceMapObj_width_set)
    __swig_setmethods__["color"] = _mapscript.referenceMapObj_color_set
    __swig_getmethods__["color"] = _mapscript.referenceMapObj_color_get
    if _newclass:color = property(_mapscript.referenceMapObj_color_get, _mapscript.referenceMapObj_color_set)
    __swig_setmethods__["outlinecolor"] = _mapscript.referenceMapObj_outlinecolor_set
    __swig_getmethods__["outlinecolor"] = _mapscript.referenceMapObj_outlinecolor_get
    if _newclass:outlinecolor = property(_mapscript.referenceMapObj_outlinecolor_get, _mapscript.referenceMapObj_outlinecolor_set)
    __swig_setmethods__["image"] = _mapscript.referenceMapObj_image_set
    __swig_getmethods__["image"] = _mapscript.referenceMapObj_image_get
    if _newclass:image = property(_mapscript.referenceMapObj_image_get, _mapscript.referenceMapObj_image_set)
    __swig_setmethods__["status"] = _mapscript.referenceMapObj_status_set
    __swig_getmethods__["status"] = _mapscript.referenceMapObj_status_get
    if _newclass:status = property(_mapscript.referenceMapObj_status_get, _mapscript.referenceMapObj_status_set)
    __swig_setmethods__["marker"] = _mapscript.referenceMapObj_marker_set
    __swig_getmethods__["marker"] = _mapscript.referenceMapObj_marker_get
    if _newclass:marker = property(_mapscript.referenceMapObj_marker_get, _mapscript.referenceMapObj_marker_set)
    __swig_setmethods__["markername"] = _mapscript.referenceMapObj_markername_set
    __swig_getmethods__["markername"] = _mapscript.referenceMapObj_markername_get
    if _newclass:markername = property(_mapscript.referenceMapObj_markername_get, _mapscript.referenceMapObj_markername_set)
    __swig_setmethods__["markersize"] = _mapscript.referenceMapObj_markersize_set
    __swig_getmethods__["markersize"] = _mapscript.referenceMapObj_markersize_get
    if _newclass:markersize = property(_mapscript.referenceMapObj_markersize_get, _mapscript.referenceMapObj_markersize_set)
    __swig_setmethods__["minboxsize"] = _mapscript.referenceMapObj_minboxsize_set
    __swig_getmethods__["minboxsize"] = _mapscript.referenceMapObj_minboxsize_get
    if _newclass:minboxsize = property(_mapscript.referenceMapObj_minboxsize_get, _mapscript.referenceMapObj_minboxsize_set)
    __swig_setmethods__["maxboxsize"] = _mapscript.referenceMapObj_maxboxsize_set
    __swig_getmethods__["maxboxsize"] = _mapscript.referenceMapObj_maxboxsize_get
    if _newclass:maxboxsize = property(_mapscript.referenceMapObj_maxboxsize_get, _mapscript.referenceMapObj_maxboxsize_set)
    __swig_getmethods__["map"] = _mapscript.referenceMapObj_map_get
    if _newclass:map = property(_mapscript.referenceMapObj_map_get)
    def __init__(self, *args):
        _swig_setattr(self, referenceMapObj, 'this', _mapscript.new_referenceMapObj(*args))
        _swig_setattr(self, referenceMapObj, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_referenceMapObj):
        try:
            if self.thisown: destroy(self)
        except: pass

class referenceMapObjPtr(referenceMapObj):
    def __init__(self, this):
        _swig_setattr(self, referenceMapObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, referenceMapObj, 'thisown', 0)
        _swig_setattr(self, referenceMapObj,self.__class__,referenceMapObj)
_mapscript.referenceMapObj_swigregister(referenceMapObjPtr)

class scalebarObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, scalebarObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, scalebarObj, name)
    def __repr__(self):
        return "<C scalebarObj instance at %s>" % (self.this,)
    __swig_setmethods__["imagecolor"] = _mapscript.scalebarObj_imagecolor_set
    __swig_getmethods__["imagecolor"] = _mapscript.scalebarObj_imagecolor_get
    if _newclass:imagecolor = property(_mapscript.scalebarObj_imagecolor_get, _mapscript.scalebarObj_imagecolor_set)
    __swig_setmethods__["height"] = _mapscript.scalebarObj_height_set
    __swig_getmethods__["height"] = _mapscript.scalebarObj_height_get
    if _newclass:height = property(_mapscript.scalebarObj_height_get, _mapscript.scalebarObj_height_set)
    __swig_setmethods__["width"] = _mapscript.scalebarObj_width_set
    __swig_getmethods__["width"] = _mapscript.scalebarObj_width_get
    if _newclass:width = property(_mapscript.scalebarObj_width_get, _mapscript.scalebarObj_width_set)
    __swig_setmethods__["style"] = _mapscript.scalebarObj_style_set
    __swig_getmethods__["style"] = _mapscript.scalebarObj_style_get
    if _newclass:style = property(_mapscript.scalebarObj_style_get, _mapscript.scalebarObj_style_set)
    __swig_setmethods__["intervals"] = _mapscript.scalebarObj_intervals_set
    __swig_getmethods__["intervals"] = _mapscript.scalebarObj_intervals_get
    if _newclass:intervals = property(_mapscript.scalebarObj_intervals_get, _mapscript.scalebarObj_intervals_set)
    __swig_setmethods__["label"] = _mapscript.scalebarObj_label_set
    __swig_getmethods__["label"] = _mapscript.scalebarObj_label_get
    if _newclass:label = property(_mapscript.scalebarObj_label_get, _mapscript.scalebarObj_label_set)
    __swig_setmethods__["color"] = _mapscript.scalebarObj_color_set
    __swig_getmethods__["color"] = _mapscript.scalebarObj_color_get
    if _newclass:color = property(_mapscript.scalebarObj_color_get, _mapscript.scalebarObj_color_set)
    __swig_setmethods__["backgroundcolor"] = _mapscript.scalebarObj_backgroundcolor_set
    __swig_getmethods__["backgroundcolor"] = _mapscript.scalebarObj_backgroundcolor_get
    if _newclass:backgroundcolor = property(_mapscript.scalebarObj_backgroundcolor_get, _mapscript.scalebarObj_backgroundcolor_set)
    __swig_setmethods__["outlinecolor"] = _mapscript.scalebarObj_outlinecolor_set
    __swig_getmethods__["outlinecolor"] = _mapscript.scalebarObj_outlinecolor_get
    if _newclass:outlinecolor = property(_mapscript.scalebarObj_outlinecolor_get, _mapscript.scalebarObj_outlinecolor_set)
    __swig_setmethods__["units"] = _mapscript.scalebarObj_units_set
    __swig_getmethods__["units"] = _mapscript.scalebarObj_units_get
    if _newclass:units = property(_mapscript.scalebarObj_units_get, _mapscript.scalebarObj_units_set)
    __swig_setmethods__["status"] = _mapscript.scalebarObj_status_set
    __swig_getmethods__["status"] = _mapscript.scalebarObj_status_get
    if _newclass:status = property(_mapscript.scalebarObj_status_get, _mapscript.scalebarObj_status_set)
    __swig_setmethods__["position"] = _mapscript.scalebarObj_position_set
    __swig_getmethods__["position"] = _mapscript.scalebarObj_position_get
    if _newclass:position = property(_mapscript.scalebarObj_position_get, _mapscript.scalebarObj_position_set)
    __swig_setmethods__["postlabelcache"] = _mapscript.scalebarObj_postlabelcache_set
    __swig_getmethods__["postlabelcache"] = _mapscript.scalebarObj_postlabelcache_get
    if _newclass:postlabelcache = property(_mapscript.scalebarObj_postlabelcache_get, _mapscript.scalebarObj_postlabelcache_set)
    def __init__(self, *args):
        _swig_setattr(self, scalebarObj, 'this', _mapscript.new_scalebarObj(*args))
        _swig_setattr(self, scalebarObj, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_scalebarObj):
        try:
            if self.thisown: destroy(self)
        except: pass

class scalebarObjPtr(scalebarObj):
    def __init__(self, this):
        _swig_setattr(self, scalebarObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, scalebarObj, 'thisown', 0)
        _swig_setattr(self, scalebarObj,self.__class__,scalebarObj)
_mapscript.scalebarObj_swigregister(scalebarObjPtr)

class legendObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, legendObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, legendObj, name)
    def __repr__(self):
        return "<C legendObj instance at %s>" % (self.this,)
    __swig_setmethods__["imagecolor"] = _mapscript.legendObj_imagecolor_set
    __swig_getmethods__["imagecolor"] = _mapscript.legendObj_imagecolor_get
    if _newclass:imagecolor = property(_mapscript.legendObj_imagecolor_get, _mapscript.legendObj_imagecolor_set)
    __swig_getmethods__["label"] = _mapscript.legendObj_label_get
    if _newclass:label = property(_mapscript.legendObj_label_get)
    __swig_setmethods__["keysizex"] = _mapscript.legendObj_keysizex_set
    __swig_getmethods__["keysizex"] = _mapscript.legendObj_keysizex_get
    if _newclass:keysizex = property(_mapscript.legendObj_keysizex_get, _mapscript.legendObj_keysizex_set)
    __swig_setmethods__["keysizey"] = _mapscript.legendObj_keysizey_set
    __swig_getmethods__["keysizey"] = _mapscript.legendObj_keysizey_get
    if _newclass:keysizey = property(_mapscript.legendObj_keysizey_get, _mapscript.legendObj_keysizey_set)
    __swig_setmethods__["keyspacingx"] = _mapscript.legendObj_keyspacingx_set
    __swig_getmethods__["keyspacingx"] = _mapscript.legendObj_keyspacingx_get
    if _newclass:keyspacingx = property(_mapscript.legendObj_keyspacingx_get, _mapscript.legendObj_keyspacingx_set)
    __swig_setmethods__["keyspacingy"] = _mapscript.legendObj_keyspacingy_set
    __swig_getmethods__["keyspacingy"] = _mapscript.legendObj_keyspacingy_get
    if _newclass:keyspacingy = property(_mapscript.legendObj_keyspacingy_get, _mapscript.legendObj_keyspacingy_set)
    __swig_setmethods__["outlinecolor"] = _mapscript.legendObj_outlinecolor_set
    __swig_getmethods__["outlinecolor"] = _mapscript.legendObj_outlinecolor_get
    if _newclass:outlinecolor = property(_mapscript.legendObj_outlinecolor_get, _mapscript.legendObj_outlinecolor_set)
    __swig_setmethods__["status"] = _mapscript.legendObj_status_set
    __swig_getmethods__["status"] = _mapscript.legendObj_status_get
    if _newclass:status = property(_mapscript.legendObj_status_get, _mapscript.legendObj_status_set)
    __swig_setmethods__["height"] = _mapscript.legendObj_height_set
    __swig_getmethods__["height"] = _mapscript.legendObj_height_get
    if _newclass:height = property(_mapscript.legendObj_height_get, _mapscript.legendObj_height_set)
    __swig_setmethods__["width"] = _mapscript.legendObj_width_set
    __swig_getmethods__["width"] = _mapscript.legendObj_width_get
    if _newclass:width = property(_mapscript.legendObj_width_get, _mapscript.legendObj_width_set)
    __swig_setmethods__["position"] = _mapscript.legendObj_position_set
    __swig_getmethods__["position"] = _mapscript.legendObj_position_get
    if _newclass:position = property(_mapscript.legendObj_position_get, _mapscript.legendObj_position_set)
    __swig_setmethods__["postlabelcache"] = _mapscript.legendObj_postlabelcache_set
    __swig_getmethods__["postlabelcache"] = _mapscript.legendObj_postlabelcache_get
    if _newclass:postlabelcache = property(_mapscript.legendObj_postlabelcache_get, _mapscript.legendObj_postlabelcache_set)
    __swig_setmethods__["template"] = _mapscript.legendObj_template_set
    __swig_getmethods__["template"] = _mapscript.legendObj_template_get
    if _newclass:template = property(_mapscript.legendObj_template_get, _mapscript.legendObj_template_set)
    __swig_getmethods__["map"] = _mapscript.legendObj_map_get
    if _newclass:map = property(_mapscript.legendObj_map_get)
    def __init__(self, *args):
        _swig_setattr(self, legendObj, 'this', _mapscript.new_legendObj(*args))
        _swig_setattr(self, legendObj, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_legendObj):
        try:
            if self.thisown: destroy(self)
        except: pass

class legendObjPtr(legendObj):
    def __init__(self, this):
        _swig_setattr(self, legendObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, legendObj, 'thisown', 0)
        _swig_setattr(self, legendObj,self.__class__,legendObj)
_mapscript.legendObj_swigregister(legendObjPtr)

class layerObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, layerObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, layerObj, name)
    def __repr__(self):
        return "<C layerObj instance at %s>" % (self.this,)
    __swig_setmethods__["classitem"] = _mapscript.layerObj_classitem_set
    __swig_getmethods__["classitem"] = _mapscript.layerObj_classitem_get
    if _newclass:classitem = property(_mapscript.layerObj_classitem_get, _mapscript.layerObj_classitem_set)
    __swig_getmethods__["numclasses"] = _mapscript.layerObj_numclasses_get
    if _newclass:numclasses = property(_mapscript.layerObj_numclasses_get)
    __swig_getmethods__["index"] = _mapscript.layerObj_index_get
    if _newclass:index = property(_mapscript.layerObj_index_get)
    __swig_getmethods__["map"] = _mapscript.layerObj_map_get
    if _newclass:map = property(_mapscript.layerObj_map_get)
    __swig_setmethods__["header"] = _mapscript.layerObj_header_set
    __swig_getmethods__["header"] = _mapscript.layerObj_header_get
    if _newclass:header = property(_mapscript.layerObj_header_get, _mapscript.layerObj_header_set)
    __swig_setmethods__["footer"] = _mapscript.layerObj_footer_set
    __swig_getmethods__["footer"] = _mapscript.layerObj_footer_get
    if _newclass:footer = property(_mapscript.layerObj_footer_get, _mapscript.layerObj_footer_set)
    __swig_setmethods__["template"] = _mapscript.layerObj_template_set
    __swig_getmethods__["template"] = _mapscript.layerObj_template_get
    if _newclass:template = property(_mapscript.layerObj_template_get, _mapscript.layerObj_template_set)
    __swig_setmethods__["name"] = _mapscript.layerObj_name_set
    __swig_getmethods__["name"] = _mapscript.layerObj_name_get
    if _newclass:name = property(_mapscript.layerObj_name_get, _mapscript.layerObj_name_set)
    __swig_setmethods__["group"] = _mapscript.layerObj_group_set
    __swig_getmethods__["group"] = _mapscript.layerObj_group_get
    if _newclass:group = property(_mapscript.layerObj_group_get, _mapscript.layerObj_group_set)
    __swig_setmethods__["status"] = _mapscript.layerObj_status_set
    __swig_getmethods__["status"] = _mapscript.layerObj_status_get
    if _newclass:status = property(_mapscript.layerObj_status_get, _mapscript.layerObj_status_set)
    __swig_setmethods__["data"] = _mapscript.layerObj_data_set
    __swig_getmethods__["data"] = _mapscript.layerObj_data_get
    if _newclass:data = property(_mapscript.layerObj_data_get, _mapscript.layerObj_data_set)
    __swig_setmethods__["type"] = _mapscript.layerObj_type_set
    __swig_getmethods__["type"] = _mapscript.layerObj_type_get
    if _newclass:type = property(_mapscript.layerObj_type_get, _mapscript.layerObj_type_set)
    __swig_setmethods__["tolerance"] = _mapscript.layerObj_tolerance_set
    __swig_getmethods__["tolerance"] = _mapscript.layerObj_tolerance_get
    if _newclass:tolerance = property(_mapscript.layerObj_tolerance_get, _mapscript.layerObj_tolerance_set)
    __swig_setmethods__["toleranceunits"] = _mapscript.layerObj_toleranceunits_set
    __swig_getmethods__["toleranceunits"] = _mapscript.layerObj_toleranceunits_get
    if _newclass:toleranceunits = property(_mapscript.layerObj_toleranceunits_get, _mapscript.layerObj_toleranceunits_set)
    __swig_setmethods__["symbolscale"] = _mapscript.layerObj_symbolscale_set
    __swig_getmethods__["symbolscale"] = _mapscript.layerObj_symbolscale_get
    if _newclass:symbolscale = property(_mapscript.layerObj_symbolscale_get, _mapscript.layerObj_symbolscale_set)
    __swig_setmethods__["minscale"] = _mapscript.layerObj_minscale_set
    __swig_getmethods__["minscale"] = _mapscript.layerObj_minscale_get
    if _newclass:minscale = property(_mapscript.layerObj_minscale_get, _mapscript.layerObj_minscale_set)
    __swig_setmethods__["maxscale"] = _mapscript.layerObj_maxscale_set
    __swig_getmethods__["maxscale"] = _mapscript.layerObj_maxscale_get
    if _newclass:maxscale = property(_mapscript.layerObj_maxscale_get, _mapscript.layerObj_maxscale_set)
    __swig_setmethods__["labelminscale"] = _mapscript.layerObj_labelminscale_set
    __swig_getmethods__["labelminscale"] = _mapscript.layerObj_labelminscale_get
    if _newclass:labelminscale = property(_mapscript.layerObj_labelminscale_get, _mapscript.layerObj_labelminscale_set)
    __swig_setmethods__["labelmaxscale"] = _mapscript.layerObj_labelmaxscale_set
    __swig_getmethods__["labelmaxscale"] = _mapscript.layerObj_labelmaxscale_get
    if _newclass:labelmaxscale = property(_mapscript.layerObj_labelmaxscale_get, _mapscript.layerObj_labelmaxscale_set)
    __swig_setmethods__["sizeunits"] = _mapscript.layerObj_sizeunits_set
    __swig_getmethods__["sizeunits"] = _mapscript.layerObj_sizeunits_get
    if _newclass:sizeunits = property(_mapscript.layerObj_sizeunits_get, _mapscript.layerObj_sizeunits_set)
    __swig_setmethods__["maxfeatures"] = _mapscript.layerObj_maxfeatures_set
    __swig_getmethods__["maxfeatures"] = _mapscript.layerObj_maxfeatures_get
    if _newclass:maxfeatures = property(_mapscript.layerObj_maxfeatures_get, _mapscript.layerObj_maxfeatures_set)
    __swig_setmethods__["offsite"] = _mapscript.layerObj_offsite_set
    __swig_getmethods__["offsite"] = _mapscript.layerObj_offsite_get
    if _newclass:offsite = property(_mapscript.layerObj_offsite_get, _mapscript.layerObj_offsite_set)
    __swig_setmethods__["transform"] = _mapscript.layerObj_transform_set
    __swig_getmethods__["transform"] = _mapscript.layerObj_transform_get
    if _newclass:transform = property(_mapscript.layerObj_transform_get, _mapscript.layerObj_transform_set)
    __swig_setmethods__["labelcache"] = _mapscript.layerObj_labelcache_set
    __swig_getmethods__["labelcache"] = _mapscript.layerObj_labelcache_get
    if _newclass:labelcache = property(_mapscript.layerObj_labelcache_get, _mapscript.layerObj_labelcache_set)
    __swig_setmethods__["postlabelcache"] = _mapscript.layerObj_postlabelcache_set
    __swig_getmethods__["postlabelcache"] = _mapscript.layerObj_postlabelcache_get
    if _newclass:postlabelcache = property(_mapscript.layerObj_postlabelcache_get, _mapscript.layerObj_postlabelcache_set)
    __swig_setmethods__["labelitem"] = _mapscript.layerObj_labelitem_set
    __swig_getmethods__["labelitem"] = _mapscript.layerObj_labelitem_get
    if _newclass:labelitem = property(_mapscript.layerObj_labelitem_get, _mapscript.layerObj_labelitem_set)
    __swig_setmethods__["labelsizeitem"] = _mapscript.layerObj_labelsizeitem_set
    __swig_getmethods__["labelsizeitem"] = _mapscript.layerObj_labelsizeitem_get
    if _newclass:labelsizeitem = property(_mapscript.layerObj_labelsizeitem_get, _mapscript.layerObj_labelsizeitem_set)
    __swig_setmethods__["labelangleitem"] = _mapscript.layerObj_labelangleitem_set
    __swig_getmethods__["labelangleitem"] = _mapscript.layerObj_labelangleitem_get
    if _newclass:labelangleitem = property(_mapscript.layerObj_labelangleitem_get, _mapscript.layerObj_labelangleitem_set)
    __swig_setmethods__["tileitem"] = _mapscript.layerObj_tileitem_set
    __swig_getmethods__["tileitem"] = _mapscript.layerObj_tileitem_get
    if _newclass:tileitem = property(_mapscript.layerObj_tileitem_get, _mapscript.layerObj_tileitem_set)
    __swig_setmethods__["tileindex"] = _mapscript.layerObj_tileindex_set
    __swig_getmethods__["tileindex"] = _mapscript.layerObj_tileindex_get
    if _newclass:tileindex = property(_mapscript.layerObj_tileindex_get, _mapscript.layerObj_tileindex_set)
    __swig_setmethods__["units"] = _mapscript.layerObj_units_set
    __swig_getmethods__["units"] = _mapscript.layerObj_units_get
    if _newclass:units = property(_mapscript.layerObj_units_get, _mapscript.layerObj_units_set)
    __swig_setmethods__["connection"] = _mapscript.layerObj_connection_set
    __swig_getmethods__["connection"] = _mapscript.layerObj_connection_get
    if _newclass:connection = property(_mapscript.layerObj_connection_get, _mapscript.layerObj_connection_set)
    __swig_setmethods__["plugin_library"] = _mapscript.layerObj_plugin_library_set
    __swig_getmethods__["plugin_library"] = _mapscript.layerObj_plugin_library_get
    if _newclass:plugin_library = property(_mapscript.layerObj_plugin_library_get, _mapscript.layerObj_plugin_library_set)
    __swig_setmethods__["plugin_library_original"] = _mapscript.layerObj_plugin_library_original_set
    __swig_getmethods__["plugin_library_original"] = _mapscript.layerObj_plugin_library_original_get
    if _newclass:plugin_library_original = property(_mapscript.layerObj_plugin_library_original_get, _mapscript.layerObj_plugin_library_original_set)
    __swig_setmethods__["connectiontype"] = _mapscript.layerObj_connectiontype_set
    __swig_getmethods__["connectiontype"] = _mapscript.layerObj_connectiontype_get
    if _newclass:connectiontype = property(_mapscript.layerObj_connectiontype_get, _mapscript.layerObj_connectiontype_set)
    __swig_getmethods__["numitems"] = _mapscript.layerObj_numitems_get
    if _newclass:numitems = property(_mapscript.layerObj_numitems_get)
    __swig_setmethods__["bandsitem"] = _mapscript.layerObj_bandsitem_set
    __swig_getmethods__["bandsitem"] = _mapscript.layerObj_bandsitem_get
    if _newclass:bandsitem = property(_mapscript.layerObj_bandsitem_get, _mapscript.layerObj_bandsitem_set)
    __swig_setmethods__["filteritem"] = _mapscript.layerObj_filteritem_set
    __swig_getmethods__["filteritem"] = _mapscript.layerObj_filteritem_get
    if _newclass:filteritem = property(_mapscript.layerObj_filteritem_get, _mapscript.layerObj_filteritem_set)
    __swig_setmethods__["styleitem"] = _mapscript.layerObj_styleitem_set
    __swig_getmethods__["styleitem"] = _mapscript.layerObj_styleitem_get
    if _newclass:styleitem = property(_mapscript.layerObj_styleitem_get, _mapscript.layerObj_styleitem_set)
    __swig_setmethods__["requires"] = _mapscript.layerObj_requires_set
    __swig_getmethods__["requires"] = _mapscript.layerObj_requires_get
    if _newclass:requires = property(_mapscript.layerObj_requires_get, _mapscript.layerObj_requires_set)
    __swig_setmethods__["labelrequires"] = _mapscript.layerObj_labelrequires_set
    __swig_getmethods__["labelrequires"] = _mapscript.layerObj_labelrequires_get
    if _newclass:labelrequires = property(_mapscript.layerObj_labelrequires_get, _mapscript.layerObj_labelrequires_set)
    __swig_getmethods__["metadata"] = _mapscript.layerObj_metadata_get
    if _newclass:metadata = property(_mapscript.layerObj_metadata_get)
    __swig_setmethods__["transparency"] = _mapscript.layerObj_transparency_set
    __swig_getmethods__["transparency"] = _mapscript.layerObj_transparency_get
    if _newclass:transparency = property(_mapscript.layerObj_transparency_get, _mapscript.layerObj_transparency_set)
    __swig_setmethods__["dump"] = _mapscript.layerObj_dump_set
    __swig_getmethods__["dump"] = _mapscript.layerObj_dump_get
    if _newclass:dump = property(_mapscript.layerObj_dump_get, _mapscript.layerObj_dump_set)
    __swig_setmethods__["debug"] = _mapscript.layerObj_debug_set
    __swig_getmethods__["debug"] = _mapscript.layerObj_debug_get
    if _newclass:debug = property(_mapscript.layerObj_debug_get, _mapscript.layerObj_debug_set)
    __swig_getmethods__["extent"] = _mapscript.layerObj_extent_get
    if _newclass:extent = property(_mapscript.layerObj_extent_get)
    __swig_getmethods__["numprocessing"] = _mapscript.layerObj_numprocessing_get
    if _newclass:numprocessing = property(_mapscript.layerObj_numprocessing_get)
    __swig_getmethods__["numjoins"] = _mapscript.layerObj_numjoins_get
    if _newclass:numjoins = property(_mapscript.layerObj_numjoins_get)
    def __init__(self, *args):
        _swig_setattr(self, layerObj, 'this', _mapscript.new_layerObj(*args))
        _swig_setattr(self, layerObj, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_layerObj):
        try:
            if self.thisown: destroy(self)
        except: pass
    def clone(*args): return _mapscript.layerObj_clone(*args)
    def insertClass(*args): return _mapscript.layerObj_insertClass(*args)
    def removeClass(*args): return _mapscript.layerObj_removeClass(*args)
    def open(*args): return _mapscript.layerObj_open(*args)
    def whichShapes(*args): return _mapscript.layerObj_whichShapes(*args)
    def nextShape(*args): return _mapscript.layerObj_nextShape(*args)
    def close(*args): return _mapscript.layerObj_close(*args)
    def getFeature(*args): return _mapscript.layerObj_getFeature(*args)
    def getShape(*args): return _mapscript.layerObj_getShape(*args)
    def getNumResults(*args): return _mapscript.layerObj_getNumResults(*args)
    def getResult(*args): return _mapscript.layerObj_getResult(*args)
    def getClass(*args): return _mapscript.layerObj_getClass(*args)
    def getItem(*args): return _mapscript.layerObj_getItem(*args)
    def draw(*args): return _mapscript.layerObj_draw(*args)
    def drawQuery(*args): return _mapscript.layerObj_drawQuery(*args)
    def queryByAttributes(*args): return _mapscript.layerObj_queryByAttributes(*args)
    def queryByPoint(*args): return _mapscript.layerObj_queryByPoint(*args)
    def queryByRect(*args): return _mapscript.layerObj_queryByRect(*args)
    def queryByFeatures(*args): return _mapscript.layerObj_queryByFeatures(*args)
    def queryByShape(*args): return _mapscript.layerObj_queryByShape(*args)
    def queryByIndex(*args): return _mapscript.layerObj_queryByIndex(*args)
    def getResults(*args): return _mapscript.layerObj_getResults(*args)
    def setFilter(*args): return _mapscript.layerObj_setFilter(*args)
    def getFilterString(*args): return _mapscript.layerObj_getFilterString(*args)
    def setWKTProjection(*args): return _mapscript.layerObj_setWKTProjection(*args)
    def getProjection(*args): return _mapscript.layerObj_getProjection(*args)
    def setProjection(*args): return _mapscript.layerObj_setProjection(*args)
    def addFeature(*args): return _mapscript.layerObj_addFeature(*args)
    def getNumFeatures(*args): return _mapscript.layerObj_getNumFeatures(*args)
    def getExtent(*args): return _mapscript.layerObj_getExtent(*args)
    def setExtent(*args): return _mapscript.layerObj_setExtent(*args)
    def getMetaData(*args): return _mapscript.layerObj_getMetaData(*args)
    def setMetaData(*args): return _mapscript.layerObj_setMetaData(*args)
    def removeMetaData(*args): return _mapscript.layerObj_removeMetaData(*args)
    def getFirstMetaDataKey(*args): return _mapscript.layerObj_getFirstMetaDataKey(*args)
    def getNextMetaDataKey(*args): return _mapscript.layerObj_getNextMetaDataKey(*args)
    def getWMSFeatureInfoURL(*args): return _mapscript.layerObj_getWMSFeatureInfoURL(*args)
    def executeWFSGetFeature(*args): return _mapscript.layerObj_executeWFSGetFeature(*args)
    def applySLD(*args): return _mapscript.layerObj_applySLD(*args)
    def applySLDURL(*args): return _mapscript.layerObj_applySLDURL(*args)
    def generateSLD(*args): return _mapscript.layerObj_generateSLD(*args)
    def isVisible(*args): return _mapscript.layerObj_isVisible(*args)
    def moveClassUp(*args): return _mapscript.layerObj_moveClassUp(*args)
    def moveClassDown(*args): return _mapscript.layerObj_moveClassDown(*args)
    def setProcessingKey(*args): return _mapscript.layerObj_setProcessingKey(*args)
    def setProcessing(*args): return _mapscript.layerObj_setProcessing(*args)
    def addProcessing(*args): return _mapscript.layerObj_addProcessing(*args)
    def getProcessing(*args): return _mapscript.layerObj_getProcessing(*args)
    def clearProcessing(*args): return _mapscript.layerObj_clearProcessing(*args)

class layerObjPtr(layerObj):
    def __init__(self, this):
        _swig_setattr(self, layerObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, layerObj, 'thisown', 0)
        _swig_setattr(self, layerObj,self.__class__,layerObj)
_mapscript.layerObj_swigregister(layerObjPtr)

class mapObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, mapObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, mapObj, name)
    def __repr__(self):
        return "<C mapObj instance at %s>" % (self.this,)
    __swig_setmethods__["name"] = _mapscript.mapObj_name_set
    __swig_getmethods__["name"] = _mapscript.mapObj_name_get
    if _newclass:name = property(_mapscript.mapObj_name_get, _mapscript.mapObj_name_set)
    __swig_setmethods__["status"] = _mapscript.mapObj_status_set
    __swig_getmethods__["status"] = _mapscript.mapObj_status_get
    if _newclass:status = property(_mapscript.mapObj_status_get, _mapscript.mapObj_status_set)
    __swig_setmethods__["height"] = _mapscript.mapObj_height_set
    __swig_getmethods__["height"] = _mapscript.mapObj_height_get
    if _newclass:height = property(_mapscript.mapObj_height_get, _mapscript.mapObj_height_set)
    __swig_setmethods__["width"] = _mapscript.mapObj_width_set
    __swig_getmethods__["width"] = _mapscript.mapObj_width_get
    if _newclass:width = property(_mapscript.mapObj_width_get, _mapscript.mapObj_width_set)
    __swig_setmethods__["maxsize"] = _mapscript.mapObj_maxsize_set
    __swig_getmethods__["maxsize"] = _mapscript.mapObj_maxsize_get
    if _newclass:maxsize = property(_mapscript.mapObj_maxsize_get, _mapscript.mapObj_maxsize_set)
    __swig_getmethods__["numlayers"] = _mapscript.mapObj_numlayers_get
    if _newclass:numlayers = property(_mapscript.mapObj_numlayers_get)
    __swig_getmethods__["symbolset"] = _mapscript.mapObj_symbolset_get
    if _newclass:symbolset = property(_mapscript.mapObj_symbolset_get)
    __swig_getmethods__["fontset"] = _mapscript.mapObj_fontset_get
    if _newclass:fontset = property(_mapscript.mapObj_fontset_get)
    __swig_getmethods__["labelcache"] = _mapscript.mapObj_labelcache_get
    if _newclass:labelcache = property(_mapscript.mapObj_labelcache_get)
    __swig_setmethods__["transparent"] = _mapscript.mapObj_transparent_set
    __swig_getmethods__["transparent"] = _mapscript.mapObj_transparent_get
    if _newclass:transparent = property(_mapscript.mapObj_transparent_get, _mapscript.mapObj_transparent_set)
    __swig_setmethods__["interlace"] = _mapscript.mapObj_interlace_set
    __swig_getmethods__["interlace"] = _mapscript.mapObj_interlace_get
    if _newclass:interlace = property(_mapscript.mapObj_interlace_get, _mapscript.mapObj_interlace_set)
    __swig_setmethods__["imagequality"] = _mapscript.mapObj_imagequality_set
    __swig_getmethods__["imagequality"] = _mapscript.mapObj_imagequality_get
    if _newclass:imagequality = property(_mapscript.mapObj_imagequality_get, _mapscript.mapObj_imagequality_set)
    __swig_setmethods__["extent"] = _mapscript.mapObj_extent_set
    __swig_getmethods__["extent"] = _mapscript.mapObj_extent_get
    if _newclass:extent = property(_mapscript.mapObj_extent_get, _mapscript.mapObj_extent_set)
    __swig_setmethods__["cellsize"] = _mapscript.mapObj_cellsize_set
    __swig_getmethods__["cellsize"] = _mapscript.mapObj_cellsize_get
    if _newclass:cellsize = property(_mapscript.mapObj_cellsize_get, _mapscript.mapObj_cellsize_set)
    __swig_setmethods__["saved_extent"] = _mapscript.mapObj_saved_extent_set
    __swig_getmethods__["saved_extent"] = _mapscript.mapObj_saved_extent_get
    if _newclass:saved_extent = property(_mapscript.mapObj_saved_extent_get, _mapscript.mapObj_saved_extent_set)
    __swig_setmethods__["units"] = _mapscript.mapObj_units_set
    __swig_getmethods__["units"] = _mapscript.mapObj_units_get
    if _newclass:units = property(_mapscript.mapObj_units_get, _mapscript.mapObj_units_set)
    __swig_setmethods__["scale"] = _mapscript.mapObj_scale_set
    __swig_getmethods__["scale"] = _mapscript.mapObj_scale_get
    if _newclass:scale = property(_mapscript.mapObj_scale_get, _mapscript.mapObj_scale_set)
    __swig_setmethods__["resolution"] = _mapscript.mapObj_resolution_set
    __swig_getmethods__["resolution"] = _mapscript.mapObj_resolution_get
    if _newclass:resolution = property(_mapscript.mapObj_resolution_get, _mapscript.mapObj_resolution_set)
    __swig_setmethods__["shapepath"] = _mapscript.mapObj_shapepath_set
    __swig_getmethods__["shapepath"] = _mapscript.mapObj_shapepath_get
    if _newclass:shapepath = property(_mapscript.mapObj_shapepath_get, _mapscript.mapObj_shapepath_set)
    __swig_setmethods__["mappath"] = _mapscript.mapObj_mappath_set
    __swig_getmethods__["mappath"] = _mapscript.mapObj_mappath_get
    if _newclass:mappath = property(_mapscript.mapObj_mappath_get, _mapscript.mapObj_mappath_set)
    __swig_setmethods__["imagecolor"] = _mapscript.mapObj_imagecolor_set
    __swig_getmethods__["imagecolor"] = _mapscript.mapObj_imagecolor_get
    if _newclass:imagecolor = property(_mapscript.mapObj_imagecolor_get, _mapscript.mapObj_imagecolor_set)
    __swig_getmethods__["numoutputformats"] = _mapscript.mapObj_numoutputformats_get
    if _newclass:numoutputformats = property(_mapscript.mapObj_numoutputformats_get)
    __swig_getmethods__["outputformatlist"] = _mapscript.mapObj_outputformatlist_get
    if _newclass:outputformatlist = property(_mapscript.mapObj_outputformatlist_get)
    __swig_getmethods__["outputformat"] = _mapscript.mapObj_outputformat_get
    if _newclass:outputformat = property(_mapscript.mapObj_outputformat_get)
    __swig_getmethods__["imagetype"] = _mapscript.mapObj_imagetype_get
    if _newclass:imagetype = property(_mapscript.mapObj_imagetype_get)
    __swig_getmethods__["reference"] = _mapscript.mapObj_reference_get
    if _newclass:reference = property(_mapscript.mapObj_reference_get)
    __swig_getmethods__["scalebar"] = _mapscript.mapObj_scalebar_get
    if _newclass:scalebar = property(_mapscript.mapObj_scalebar_get)
    __swig_getmethods__["legend"] = _mapscript.mapObj_legend_get
    if _newclass:legend = property(_mapscript.mapObj_legend_get)
    __swig_getmethods__["querymap"] = _mapscript.mapObj_querymap_get
    if _newclass:querymap = property(_mapscript.mapObj_querymap_get)
    __swig_getmethods__["web"] = _mapscript.mapObj_web_get
    if _newclass:web = property(_mapscript.mapObj_web_get)
    __swig_setmethods__["layerorder"] = _mapscript.mapObj_layerorder_set
    __swig_getmethods__["layerorder"] = _mapscript.mapObj_layerorder_get
    if _newclass:layerorder = property(_mapscript.mapObj_layerorder_get, _mapscript.mapObj_layerorder_set)
    __swig_setmethods__["debug"] = _mapscript.mapObj_debug_set
    __swig_getmethods__["debug"] = _mapscript.mapObj_debug_get
    if _newclass:debug = property(_mapscript.mapObj_debug_get, _mapscript.mapObj_debug_set)
    __swig_setmethods__["datapattern"] = _mapscript.mapObj_datapattern_set
    __swig_getmethods__["datapattern"] = _mapscript.mapObj_datapattern_get
    if _newclass:datapattern = property(_mapscript.mapObj_datapattern_get, _mapscript.mapObj_datapattern_set)
    __swig_setmethods__["templatepattern"] = _mapscript.mapObj_templatepattern_set
    __swig_getmethods__["templatepattern"] = _mapscript.mapObj_templatepattern_get
    if _newclass:templatepattern = property(_mapscript.mapObj_templatepattern_get, _mapscript.mapObj_templatepattern_set)
    __swig_getmethods__["configoptions"] = _mapscript.mapObj_configoptions_get
    if _newclass:configoptions = property(_mapscript.mapObj_configoptions_get)
    def __init__(self, *args):
        _swig_setattr(self, mapObj, 'this', _mapscript.new_mapObj(*args))
        _swig_setattr(self, mapObj, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_mapObj):
        try:
            if self.thisown: destroy(self)
        except: pass
    def clone(*args): return _mapscript.mapObj_clone(*args)
    def insertLayer(*args): return _mapscript.mapObj_insertLayer(*args)
    def removeLayer(*args): return _mapscript.mapObj_removeLayer(*args)
    def setExtent(*args): return _mapscript.mapObj_setExtent(*args)
    def setSize(*args): return _mapscript.mapObj_setSize(*args)
    def setRotation(*args): return _mapscript.mapObj_setRotation(*args)
    def getLayer(*args): return _mapscript.mapObj_getLayer(*args)
    def getLayerByName(*args): return _mapscript.mapObj_getLayerByName(*args)
    def getSymbolByName(*args): return _mapscript.mapObj_getSymbolByName(*args)
    def prepareQuery(*args): return _mapscript.mapObj_prepareQuery(*args)
    def prepareImage(*args): return _mapscript.mapObj_prepareImage(*args)
    def setImageType(*args): return _mapscript.mapObj_setImageType(*args)
    def selectOutputFormat(*args): return _mapscript.mapObj_selectOutputFormat(*args)
    def setOutputFormat(*args): return _mapscript.mapObj_setOutputFormat(*args)
    def draw(*args): return _mapscript.mapObj_draw(*args)
    def drawQuery(*args): return _mapscript.mapObj_drawQuery(*args)
    def drawLegend(*args): return _mapscript.mapObj_drawLegend(*args)
    def drawScalebar(*args): return _mapscript.mapObj_drawScalebar(*args)
    def drawReferenceMap(*args): return _mapscript.mapObj_drawReferenceMap(*args)
    def embedScalebar(*args): return _mapscript.mapObj_embedScalebar(*args)
    def embedLegend(*args): return _mapscript.mapObj_embedLegend(*args)
    def drawLabelCache(*args): return _mapscript.mapObj_drawLabelCache(*args)
    def getLabel(*args): return _mapscript.mapObj_getLabel(*args)
    def nextLabel(*args): return _mapscript.mapObj_nextLabel(*args)
    def queryByPoint(*args): return _mapscript.mapObj_queryByPoint(*args)
    def queryByRect(*args): return _mapscript.mapObj_queryByRect(*args)
    def queryByFeatures(*args): return _mapscript.mapObj_queryByFeatures(*args)
    def queryByShape(*args): return _mapscript.mapObj_queryByShape(*args)
    def setWKTProjection(*args): return _mapscript.mapObj_setWKTProjection(*args)
    def getProjection(*args): return _mapscript.mapObj_getProjection(*args)
    def setProjection(*args): return _mapscript.mapObj_setProjection(*args)
    def save(*args): return _mapscript.mapObj_save(*args)
    def saveQuery(*args): return _mapscript.mapObj_saveQuery(*args)
    def loadQuery(*args): return _mapscript.mapObj_loadQuery(*args)
    def freeQuery(*args): return _mapscript.mapObj_freeQuery(*args)
    def saveQueryAsGML(*args): return _mapscript.mapObj_saveQueryAsGML(*args)
    def getMetaData(*args): return _mapscript.mapObj_getMetaData(*args)
    def setMetaData(*args): return _mapscript.mapObj_setMetaData(*args)
    def removeMetaData(*args): return _mapscript.mapObj_removeMetaData(*args)
    def getFirstMetaDataKey(*args): return _mapscript.mapObj_getFirstMetaDataKey(*args)
    def getNextMetaDataKey(*args): return _mapscript.mapObj_getNextMetaDataKey(*args)
    def setSymbolSet(*args): return _mapscript.mapObj_setSymbolSet(*args)
    def getNumSymbols(*args): return _mapscript.mapObj_getNumSymbols(*args)
    def setFontSet(*args): return _mapscript.mapObj_setFontSet(*args)
    def saveMapContext(*args): return _mapscript.mapObj_saveMapContext(*args)
    def loadMapContext(*args): return _mapscript.mapObj_loadMapContext(*args)
    def moveLayerUp(*args): return _mapscript.mapObj_moveLayerUp(*args)
    def moveLayerDown(*args): return _mapscript.mapObj_moveLayerDown(*args)
    def getLayersDrawingOrder(*args): return _mapscript.mapObj_getLayersDrawingOrder(*args)
    def setLayersDrawingOrder(*args): return _mapscript.mapObj_setLayersDrawingOrder(*args)
    def setConfigOption(*args): return _mapscript.mapObj_setConfigOption(*args)
    def getConfigOption(*args): return _mapscript.mapObj_getConfigOption(*args)
    def applyConfigOptions(*args): return _mapscript.mapObj_applyConfigOptions(*args)
    def applySLD(*args): return _mapscript.mapObj_applySLD(*args)
    def applySLDURL(*args): return _mapscript.mapObj_applySLDURL(*args)
    def generateSLD(*args): return _mapscript.mapObj_generateSLD(*args)
    def processTemplate(*args): return _mapscript.mapObj_processTemplate(*args)
    def processLegendTemplate(*args): return _mapscript.mapObj_processLegendTemplate(*args)
    def processQueryTemplate(*args): return _mapscript.mapObj_processQueryTemplate(*args)
    def getOutputFormatByName(*args): return _mapscript.mapObj_getOutputFormatByName(*args)
    def appendOutputFormat(*args): return _mapscript.mapObj_appendOutputFormat(*args)
    def removeOutputFormat(*args): return _mapscript.mapObj_removeOutputFormat(*args)
    def loadOWSParameters(*args): return _mapscript.mapObj_loadOWSParameters(*args)
    def OWSDispatch(*args): return _mapscript.mapObj_OWSDispatch(*args)
    def zoomPoint(*args): return _mapscript.mapObj_zoomPoint(*args)
    def zoomRectangle(*args): return _mapscript.mapObj_zoomRectangle(*args)
    def zoomScale(*args): return _mapscript.mapObj_zoomScale(*args)
    def getLayerOrder(*args): return _mapscript.mapObj_getLayerOrder(*args)
    def setLayerOrder(*args): return _mapscript.mapObj_setLayerOrder(*args)
    def getSize(*args): return _mapscript.mapObj_getSize(*args)
    def get_height(self):
        return self.getSize()[1] # <-- second member is the height
    def get_width(self):
        return self.getSize()[0] # <-- first member is the width
    def set_height(self, value):
        return self.setSize(self.getSize()[0], value)
    def set_width(self, value):
        return self.setSize(value, self.getSize()[1])
    width = property(get_width, set_width)
    height = property(get_height, set_height)



class mapObjPtr(mapObj):
    def __init__(self, this):
        _swig_setattr(self, mapObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, mapObj, 'thisown', 0)
        _swig_setattr(self, mapObj,self.__class__,mapObj)
_mapscript.mapObj_swigregister(mapObjPtr)

class imageObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, imageObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, imageObj, name)
    def __repr__(self):
        return "<C imageObj instance at %s>" % (self.this,)
    __swig_getmethods__["width"] = _mapscript.imageObj_width_get
    if _newclass:width = property(_mapscript.imageObj_width_get)
    __swig_getmethods__["height"] = _mapscript.imageObj_height_get
    if _newclass:height = property(_mapscript.imageObj_height_get)
    __swig_getmethods__["imagepath"] = _mapscript.imageObj_imagepath_get
    if _newclass:imagepath = property(_mapscript.imageObj_imagepath_get)
    __swig_getmethods__["imageurl"] = _mapscript.imageObj_imageurl_get
    if _newclass:imageurl = property(_mapscript.imageObj_imageurl_get)
    __swig_getmethods__["format"] = _mapscript.imageObj_format_get
    if _newclass:format = property(_mapscript.imageObj_format_get)
    __swig_setmethods__["renderer"] = _mapscript.imageObj_renderer_set
    __swig_getmethods__["renderer"] = _mapscript.imageObj_renderer_get
    if _newclass:renderer = property(_mapscript.imageObj_renderer_get, _mapscript.imageObj_renderer_set)
    __swig_setmethods__["size"] = _mapscript.imageObj_size_set
    __swig_getmethods__["size"] = _mapscript.imageObj_size_get
    if _newclass:size = property(_mapscript.imageObj_size_get, _mapscript.imageObj_size_set)
    def __del__(self, destroy=_mapscript.delete_imageObj):
        try:
            if self.thisown: destroy(self)
        except: pass
    def save(*args): return _mapscript.imageObj_save(*args)
    def getBytes(*args): return _mapscript.imageObj_getBytes(*args)
    def __init__(self, *args):
        _swig_setattr(self, imageObj, 'this', _mapscript.new_imageObj(*args))
        _swig_setattr(self, imageObj, 'thisown', 1)
    def write(*args): return _mapscript.imageObj_write(*args)
    def saveToString(*args): return _mapscript.imageObj_saveToString(*args)

class imageObjPtr(imageObj):
    def __init__(self, this):
        _swig_setattr(self, imageObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, imageObj, 'thisown', 0)
        _swig_setattr(self, imageObj,self.__class__,imageObj)
_mapscript.imageObj_swigregister(imageObjPtr)


msSaveImage = _mapscript.msSaveImage

msFreeImage = _mapscript.msFreeImage

msSetup = _mapscript.msSetup

msCleanup = _mapscript.msCleanup
class rectObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, rectObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, rectObj, name)
    def __repr__(self):
        return "<C rectObj instance at %s>" % (self.this,)
    __swig_setmethods__["minx"] = _mapscript.rectObj_minx_set
    __swig_getmethods__["minx"] = _mapscript.rectObj_minx_get
    if _newclass:minx = property(_mapscript.rectObj_minx_get, _mapscript.rectObj_minx_set)
    __swig_setmethods__["miny"] = _mapscript.rectObj_miny_set
    __swig_getmethods__["miny"] = _mapscript.rectObj_miny_get
    if _newclass:miny = property(_mapscript.rectObj_miny_get, _mapscript.rectObj_miny_set)
    __swig_setmethods__["maxx"] = _mapscript.rectObj_maxx_set
    __swig_getmethods__["maxx"] = _mapscript.rectObj_maxx_get
    if _newclass:maxx = property(_mapscript.rectObj_maxx_get, _mapscript.rectObj_maxx_set)
    __swig_setmethods__["maxy"] = _mapscript.rectObj_maxy_set
    __swig_getmethods__["maxy"] = _mapscript.rectObj_maxy_get
    if _newclass:maxy = property(_mapscript.rectObj_maxy_get, _mapscript.rectObj_maxy_set)
    def __init__(self, *args):
        _swig_setattr(self, rectObj, 'this', _mapscript.new_rectObj(*args))
        _swig_setattr(self, rectObj, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_rectObj):
        try:
            if self.thisown: destroy(self)
        except: pass
    def project(*args): return _mapscript.rectObj_project(*args)
    def fit(*args): return _mapscript.rectObj_fit(*args)
    def draw(*args): return _mapscript.rectObj_draw(*args)
    def toPolygon(*args): return _mapscript.rectObj_toPolygon(*args)
    def toString(*args): return _mapscript.rectObj_toString(*args)
    def __str__(self):
        return self.toString()
        
    def __contains__(self, item):
        item_type = str(type(item))
        if item_type == "<class 'mapscript.pointObj'>":
            if item.x >= self.minx and item.x <= self.maxx \
            and item.y >= self.miny and item.y <= self.maxy:
                return True
            else:
                return False
        else:
            raise TypeError, \
                '__contains__ does not yet handle %s' % (item_type)
        


class rectObjPtr(rectObj):
    def __init__(self, this):
        _swig_setattr(self, rectObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, rectObj, 'thisown', 0)
        _swig_setattr(self, rectObj,self.__class__,rectObj)
_mapscript.rectObj_swigregister(rectObjPtr)

class pointObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, pointObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, pointObj, name)
    def __repr__(self):
        return "<C pointObj instance at %s>" % (self.this,)
    __swig_setmethods__["x"] = _mapscript.pointObj_x_set
    __swig_getmethods__["x"] = _mapscript.pointObj_x_get
    if _newclass:x = property(_mapscript.pointObj_x_get, _mapscript.pointObj_x_set)
    __swig_setmethods__["y"] = _mapscript.pointObj_y_set
    __swig_getmethods__["y"] = _mapscript.pointObj_y_get
    if _newclass:y = property(_mapscript.pointObj_y_get, _mapscript.pointObj_y_set)
    def __init__(self, *args):
        _swig_setattr(self, pointObj, 'this', _mapscript.new_pointObj(*args))
        _swig_setattr(self, pointObj, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_pointObj):
        try:
            if self.thisown: destroy(self)
        except: pass
    def project(*args): return _mapscript.pointObj_project(*args)
    def draw(*args): return _mapscript.pointObj_draw(*args)
    def distanceToPoint(*args): return _mapscript.pointObj_distanceToPoint(*args)
    def distanceToSegment(*args): return _mapscript.pointObj_distanceToSegment(*args)
    def distanceToShape(*args): return _mapscript.pointObj_distanceToShape(*args)
    def setXY(*args): return _mapscript.pointObj_setXY(*args)
    def setXYZ(*args): return _mapscript.pointObj_setXYZ(*args)
    def setXYZM(*args): return _mapscript.pointObj_setXYZM(*args)
    def toString(*args): return _mapscript.pointObj_toString(*args)
    def toShape(*args): return _mapscript.pointObj_toShape(*args)
    def __str__(self):
        return self.toString()



class pointObjPtr(pointObj):
    def __init__(self, this):
        _swig_setattr(self, pointObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, pointObj, 'thisown', 0)
        _swig_setattr(self, pointObj,self.__class__,pointObj)
_mapscript.pointObj_swigregister(pointObjPtr)

class lineObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, lineObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, lineObj, name)
    def __repr__(self):
        return "<C lineObj instance at %s>" % (self.this,)
    __swig_getmethods__["numpoints"] = _mapscript.lineObj_numpoints_get
    if _newclass:numpoints = property(_mapscript.lineObj_numpoints_get)
    __swig_getmethods__["point"] = _mapscript.lineObj_point_get
    if _newclass:point = property(_mapscript.lineObj_point_get)
    def __init__(self, *args):
        _swig_setattr(self, lineObj, 'this', _mapscript.new_lineObj(*args))
        _swig_setattr(self, lineObj, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_lineObj):
        try:
            if self.thisown: destroy(self)
        except: pass
    def project(*args): return _mapscript.lineObj_project(*args)
    def get(*args): return _mapscript.lineObj_get(*args)
    def add(*args): return _mapscript.lineObj_add(*args)
    def set(*args): return _mapscript.lineObj_set(*args)

class lineObjPtr(lineObj):
    def __init__(self, this):
        _swig_setattr(self, lineObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, lineObj, 'thisown', 0)
        _swig_setattr(self, lineObj,self.__class__,lineObj)
_mapscript.lineObj_swigregister(lineObjPtr)

class shapeObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, shapeObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, shapeObj, name)
    def __repr__(self):
        return "<C shapeObj instance at %s>" % (self.this,)
    __swig_getmethods__["numlines"] = _mapscript.shapeObj_numlines_get
    if _newclass:numlines = property(_mapscript.shapeObj_numlines_get)
    __swig_getmethods__["numvalues"] = _mapscript.shapeObj_numvalues_get
    if _newclass:numvalues = property(_mapscript.shapeObj_numvalues_get)
    __swig_getmethods__["line"] = _mapscript.shapeObj_line_get
    if _newclass:line = property(_mapscript.shapeObj_line_get)
    __swig_getmethods__["values"] = _mapscript.shapeObj_values_get
    if _newclass:values = property(_mapscript.shapeObj_values_get)
    __swig_setmethods__["bounds"] = _mapscript.shapeObj_bounds_set
    __swig_getmethods__["bounds"] = _mapscript.shapeObj_bounds_get
    if _newclass:bounds = property(_mapscript.shapeObj_bounds_get, _mapscript.shapeObj_bounds_set)
    __swig_setmethods__["type"] = _mapscript.shapeObj_type_set
    __swig_getmethods__["type"] = _mapscript.shapeObj_type_get
    if _newclass:type = property(_mapscript.shapeObj_type_get, _mapscript.shapeObj_type_set)
    __swig_setmethods__["index"] = _mapscript.shapeObj_index_set
    __swig_getmethods__["index"] = _mapscript.shapeObj_index_get
    if _newclass:index = property(_mapscript.shapeObj_index_get, _mapscript.shapeObj_index_set)
    __swig_setmethods__["tileindex"] = _mapscript.shapeObj_tileindex_set
    __swig_getmethods__["tileindex"] = _mapscript.shapeObj_tileindex_get
    if _newclass:tileindex = property(_mapscript.shapeObj_tileindex_get, _mapscript.shapeObj_tileindex_set)
    __swig_setmethods__["classindex"] = _mapscript.shapeObj_classindex_set
    __swig_getmethods__["classindex"] = _mapscript.shapeObj_classindex_get
    if _newclass:classindex = property(_mapscript.shapeObj_classindex_get, _mapscript.shapeObj_classindex_set)
    __swig_setmethods__["text"] = _mapscript.shapeObj_text_set
    __swig_getmethods__["text"] = _mapscript.shapeObj_text_get
    if _newclass:text = property(_mapscript.shapeObj_text_get, _mapscript.shapeObj_text_set)
    def __init__(self, *args):
        _swig_setattr(self, shapeObj, 'this', _mapscript.new_shapeObj(*args))
        _swig_setattr(self, shapeObj, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_shapeObj):
        try:
            if self.thisown: destroy(self)
        except: pass
    __swig_getmethods__["fromWKT"] = lambda x: _mapscript.shapeObj_fromWKT
    if _newclass:fromWKT = staticmethod(_mapscript.shapeObj_fromWKT)
    def project(*args): return _mapscript.shapeObj_project(*args)
    def get(*args): return _mapscript.shapeObj_get(*args)
    def add(*args): return _mapscript.shapeObj_add(*args)
    def draw(*args): return _mapscript.shapeObj_draw(*args)
    def setBounds(*args): return _mapscript.shapeObj_setBounds(*args)
    def clone(*args): return _mapscript.shapeObj_clone(*args)
    def copy(*args): return _mapscript.shapeObj_copy(*args)
    def toWKT(*args): return _mapscript.shapeObj_toWKT(*args)
    def buffer(*args): return _mapscript.shapeObj_buffer(*args)
    def convexHull(*args): return _mapscript.shapeObj_convexHull(*args)
    def boundary(*args): return _mapscript.shapeObj_boundary(*args)
    def getCentroid(*args): return _mapscript.shapeObj_getCentroid(*args)
    def Union(*args): return _mapscript.shapeObj_Union(*args)
    def intersection(*args): return _mapscript.shapeObj_intersection(*args)
    def difference(*args): return _mapscript.shapeObj_difference(*args)
    def symDifference(*args): return _mapscript.shapeObj_symDifference(*args)
    def overlaps(*args): return _mapscript.shapeObj_overlaps(*args)
    def within(*args): return _mapscript.shapeObj_within(*args)
    def crosses(*args): return _mapscript.shapeObj_crosses(*args)
    def intersects(*args): return _mapscript.shapeObj_intersects(*args)
    def touches(*args): return _mapscript.shapeObj_touches(*args)
    def equals(*args): return _mapscript.shapeObj_equals(*args)
    def disjoint(*args): return _mapscript.shapeObj_disjoint(*args)
    def getArea(*args): return _mapscript.shapeObj_getArea(*args)
    def getLength(*args): return _mapscript.shapeObj_getLength(*args)
    def getValue(*args): return _mapscript.shapeObj_getValue(*args)
    def contains(*args): return _mapscript.shapeObj_contains(*args)
    def distanceToPoint(*args): return _mapscript.shapeObj_distanceToPoint(*args)
    def distanceToShape(*args): return _mapscript.shapeObj_distanceToShape(*args)
    def setValue(*args): return _mapscript.shapeObj_setValue(*args)
    def initValues(*args): return _mapscript.shapeObj_initValues(*args)

class shapeObjPtr(shapeObj):
    def __init__(self, this):
        _swig_setattr(self, shapeObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, shapeObj, 'thisown', 0)
        _swig_setattr(self, shapeObj,self.__class__,shapeObj)
_mapscript.shapeObj_swigregister(shapeObjPtr)

shapeObj_fromWKT = _mapscript.shapeObj_fromWKT

MS_SHAPEFILE_POINT = _mapscript.MS_SHAPEFILE_POINT
MS_SHAPEFILE_ARC = _mapscript.MS_SHAPEFILE_ARC
MS_SHAPEFILE_POLYGON = _mapscript.MS_SHAPEFILE_POLYGON
MS_SHAPEFILE_MULTIPOINT = _mapscript.MS_SHAPEFILE_MULTIPOINT
MS_SHP_POINTZ = _mapscript.MS_SHP_POINTZ
MS_SHP_ARCZ = _mapscript.MS_SHP_ARCZ
MS_SHP_POLYGONZ = _mapscript.MS_SHP_POLYGONZ
MS_SHP_MULTIPOINTZ = _mapscript.MS_SHP_MULTIPOINTZ
MS_SHP_POINTM = _mapscript.MS_SHP_POINTM
MS_SHP_ARCM = _mapscript.MS_SHP_ARCM
MS_SHP_POLYGONM = _mapscript.MS_SHP_POLYGONM
MS_SHP_MULTIPOINTM = _mapscript.MS_SHP_MULTIPOINTM
class DBFInfo(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, DBFInfo, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, DBFInfo, name)
    def __repr__(self):
        return "<C DBFInfo instance at %s>" % (self.this,)
    __swig_getmethods__["fp"] = _mapscript.DBFInfo_fp_get
    if _newclass:fp = property(_mapscript.DBFInfo_fp_get)
    __swig_getmethods__["nRecords"] = _mapscript.DBFInfo_nRecords_get
    if _newclass:nRecords = property(_mapscript.DBFInfo_nRecords_get)
    __swig_getmethods__["nRecordLength"] = _mapscript.DBFInfo_nRecordLength_get
    if _newclass:nRecordLength = property(_mapscript.DBFInfo_nRecordLength_get)
    __swig_getmethods__["nHeaderLength"] = _mapscript.DBFInfo_nHeaderLength_get
    if _newclass:nHeaderLength = property(_mapscript.DBFInfo_nHeaderLength_get)
    __swig_getmethods__["nFields"] = _mapscript.DBFInfo_nFields_get
    if _newclass:nFields = property(_mapscript.DBFInfo_nFields_get)
    __swig_getmethods__["panFieldOffset"] = _mapscript.DBFInfo_panFieldOffset_get
    if _newclass:panFieldOffset = property(_mapscript.DBFInfo_panFieldOffset_get)
    __swig_getmethods__["panFieldSize"] = _mapscript.DBFInfo_panFieldSize_get
    if _newclass:panFieldSize = property(_mapscript.DBFInfo_panFieldSize_get)
    __swig_getmethods__["panFieldDecimals"] = _mapscript.DBFInfo_panFieldDecimals_get
    if _newclass:panFieldDecimals = property(_mapscript.DBFInfo_panFieldDecimals_get)
    __swig_getmethods__["pachFieldType"] = _mapscript.DBFInfo_pachFieldType_get
    if _newclass:pachFieldType = property(_mapscript.DBFInfo_pachFieldType_get)
    __swig_getmethods__["pszHeader"] = _mapscript.DBFInfo_pszHeader_get
    if _newclass:pszHeader = property(_mapscript.DBFInfo_pszHeader_get)
    __swig_getmethods__["nCurrentRecord"] = _mapscript.DBFInfo_nCurrentRecord_get
    if _newclass:nCurrentRecord = property(_mapscript.DBFInfo_nCurrentRecord_get)
    __swig_getmethods__["bCurrentRecordModified"] = _mapscript.DBFInfo_bCurrentRecordModified_get
    if _newclass:bCurrentRecordModified = property(_mapscript.DBFInfo_bCurrentRecordModified_get)
    __swig_getmethods__["pszCurrentRecord"] = _mapscript.DBFInfo_pszCurrentRecord_get
    if _newclass:pszCurrentRecord = property(_mapscript.DBFInfo_pszCurrentRecord_get)
    __swig_getmethods__["bNoHeader"] = _mapscript.DBFInfo_bNoHeader_get
    if _newclass:bNoHeader = property(_mapscript.DBFInfo_bNoHeader_get)
    __swig_getmethods__["bUpdated"] = _mapscript.DBFInfo_bUpdated_get
    if _newclass:bUpdated = property(_mapscript.DBFInfo_bUpdated_get)
    __swig_getmethods__["pszStringField"] = _mapscript.DBFInfo_pszStringField_get
    if _newclass:pszStringField = property(_mapscript.DBFInfo_pszStringField_get)
    __swig_getmethods__["nStringFieldLen"] = _mapscript.DBFInfo_nStringFieldLen_get
    if _newclass:nStringFieldLen = property(_mapscript.DBFInfo_nStringFieldLen_get)
    def getFieldName(*args): return _mapscript.DBFInfo_getFieldName(*args)
    def getFieldWidth(*args): return _mapscript.DBFInfo_getFieldWidth(*args)
    def getFieldDecimals(*args): return _mapscript.DBFInfo_getFieldDecimals(*args)
    def getFieldType(*args): return _mapscript.DBFInfo_getFieldType(*args)
    def __init__(self, *args):
        _swig_setattr(self, DBFInfo, 'this', _mapscript.new_DBFInfo(*args))
        _swig_setattr(self, DBFInfo, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_DBFInfo):
        try:
            if self.thisown: destroy(self)
        except: pass

class DBFInfoPtr(DBFInfo):
    def __init__(self, this):
        _swig_setattr(self, DBFInfo, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, DBFInfo, 'thisown', 0)
        _swig_setattr(self, DBFInfo,self.__class__,DBFInfo)
_mapscript.DBFInfo_swigregister(DBFInfoPtr)

FTString = _mapscript.FTString
FTInteger = _mapscript.FTInteger
FTDouble = _mapscript.FTDouble
FTInvalid = _mapscript.FTInvalid
class shapefileObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, shapefileObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, shapefileObj, name)
    def __repr__(self):
        return "<C shapefileObj instance at %s>" % (self.this,)
    __swig_getmethods__["source"] = _mapscript.shapefileObj_source_get
    if _newclass:source = property(_mapscript.shapefileObj_source_get)
    __swig_getmethods__["type"] = _mapscript.shapefileObj_type_get
    if _newclass:type = property(_mapscript.shapefileObj_type_get)
    __swig_getmethods__["numshapes"] = _mapscript.shapefileObj_numshapes_get
    if _newclass:numshapes = property(_mapscript.shapefileObj_numshapes_get)
    __swig_getmethods__["bounds"] = _mapscript.shapefileObj_bounds_get
    if _newclass:bounds = property(_mapscript.shapefileObj_bounds_get)
    __swig_getmethods__["lastshape"] = _mapscript.shapefileObj_lastshape_get
    if _newclass:lastshape = property(_mapscript.shapefileObj_lastshape_get)
    __swig_getmethods__["status"] = _mapscript.shapefileObj_status_get
    if _newclass:status = property(_mapscript.shapefileObj_status_get)
    __swig_getmethods__["statusbounds"] = _mapscript.shapefileObj_statusbounds_get
    if _newclass:statusbounds = property(_mapscript.shapefileObj_statusbounds_get)
    __swig_getmethods__["isopen"] = _mapscript.shapefileObj_isopen_get
    if _newclass:isopen = property(_mapscript.shapefileObj_isopen_get)
    def __init__(self, *args):
        _swig_setattr(self, shapefileObj, 'this', _mapscript.new_shapefileObj(*args))
        _swig_setattr(self, shapefileObj, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_shapefileObj):
        try:
            if self.thisown: destroy(self)
        except: pass
    def get(*args): return _mapscript.shapefileObj_get(*args)
    def getShape(*args): return _mapscript.shapefileObj_getShape(*args)
    def getPoint(*args): return _mapscript.shapefileObj_getPoint(*args)
    def getTransformed(*args): return _mapscript.shapefileObj_getTransformed(*args)
    def getExtent(*args): return _mapscript.shapefileObj_getExtent(*args)
    def add(*args): return _mapscript.shapefileObj_add(*args)
    def addPoint(*args): return _mapscript.shapefileObj_addPoint(*args)

class shapefileObjPtr(shapefileObj):
    def __init__(self, this):
        _swig_setattr(self, shapefileObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, shapefileObj, 'thisown', 0)
        _swig_setattr(self, shapefileObj,self.__class__,shapefileObj)
_mapscript.shapefileObj_swigregister(shapefileObjPtr)

class projectionObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, projectionObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, projectionObj, name)
    def __repr__(self):
        return "<C projectionObj instance at %s>" % (self.this,)
    __swig_getmethods__["numargs"] = _mapscript.projectionObj_numargs_get
    if _newclass:numargs = property(_mapscript.projectionObj_numargs_get)
    def __init__(self, *args):
        _swig_setattr(self, projectionObj, 'this', _mapscript.new_projectionObj(*args))
        _swig_setattr(self, projectionObj, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_projectionObj):
        try:
            if self.thisown: destroy(self)
        except: pass

class projectionObjPtr(projectionObj):
    def __init__(self, this):
        _swig_setattr(self, projectionObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, projectionObj, 'thisown', 0)
        _swig_setattr(self, projectionObj,self.__class__,projectionObj)
_mapscript.projectionObj_swigregister(projectionObjPtr)

MS_SYMBOL_SIMPLE = _mapscript.MS_SYMBOL_SIMPLE
MS_SYMBOL_VECTOR = _mapscript.MS_SYMBOL_VECTOR
MS_SYMBOL_ELLIPSE = _mapscript.MS_SYMBOL_ELLIPSE
MS_SYMBOL_PIXMAP = _mapscript.MS_SYMBOL_PIXMAP
MS_SYMBOL_TRUETYPE = _mapscript.MS_SYMBOL_TRUETYPE
MS_SYMBOL_CARTOLINE = _mapscript.MS_SYMBOL_CARTOLINE
MS_SYMBOL_HATCH = _mapscript.MS_SYMBOL_HATCH
MS_MAXSYMBOLS = _mapscript.MS_MAXSYMBOLS
MS_MAXVECTORPOINTS = _mapscript.MS_MAXVECTORPOINTS
MS_MAXSTYLELENGTH = _mapscript.MS_MAXSTYLELENGTH
MS_IMAGECACHESIZE = _mapscript.MS_IMAGECACHESIZE
class colorObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, colorObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, colorObj, name)
    def __repr__(self):
        return "<C colorObj instance at %s>" % (self.this,)
    __swig_setmethods__["pen"] = _mapscript.colorObj_pen_set
    __swig_getmethods__["pen"] = _mapscript.colorObj_pen_get
    if _newclass:pen = property(_mapscript.colorObj_pen_get, _mapscript.colorObj_pen_set)
    __swig_setmethods__["red"] = _mapscript.colorObj_red_set
    __swig_getmethods__["red"] = _mapscript.colorObj_red_get
    if _newclass:red = property(_mapscript.colorObj_red_get, _mapscript.colorObj_red_set)
    __swig_setmethods__["green"] = _mapscript.colorObj_green_set
    __swig_getmethods__["green"] = _mapscript.colorObj_green_get
    if _newclass:green = property(_mapscript.colorObj_green_get, _mapscript.colorObj_green_set)
    __swig_setmethods__["blue"] = _mapscript.colorObj_blue_set
    __swig_getmethods__["blue"] = _mapscript.colorObj_blue_get
    if _newclass:blue = property(_mapscript.colorObj_blue_get, _mapscript.colorObj_blue_set)
    def __init__(self, *args):
        _swig_setattr(self, colorObj, 'this', _mapscript.new_colorObj(*args))
        _swig_setattr(self, colorObj, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_colorObj):
        try:
            if self.thisown: destroy(self)
        except: pass
    def setRGB(*args): return _mapscript.colorObj_setRGB(*args)
    def setHex(*args): return _mapscript.colorObj_setHex(*args)
    def toHex(*args): return _mapscript.colorObj_toHex(*args)

class colorObjPtr(colorObj):
    def __init__(self, this):
        _swig_setattr(self, colorObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, colorObj, 'thisown', 0)
        _swig_setattr(self, colorObj,self.__class__,colorObj)
_mapscript.colorObj_swigregister(colorObjPtr)

class symbolObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, symbolObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, symbolObj, name)
    def __repr__(self):
        return "<C symbolObj instance at %s>" % (self.this,)
    __swig_setmethods__["name"] = _mapscript.symbolObj_name_set
    __swig_getmethods__["name"] = _mapscript.symbolObj_name_get
    if _newclass:name = property(_mapscript.symbolObj_name_get, _mapscript.symbolObj_name_set)
    __swig_setmethods__["type"] = _mapscript.symbolObj_type_set
    __swig_getmethods__["type"] = _mapscript.symbolObj_type_get
    if _newclass:type = property(_mapscript.symbolObj_type_get, _mapscript.symbolObj_type_set)
    __swig_setmethods__["sizex"] = _mapscript.symbolObj_sizex_set
    __swig_getmethods__["sizex"] = _mapscript.symbolObj_sizex_get
    if _newclass:sizex = property(_mapscript.symbolObj_sizex_get, _mapscript.symbolObj_sizex_set)
    __swig_setmethods__["sizey"] = _mapscript.symbolObj_sizey_set
    __swig_getmethods__["sizey"] = _mapscript.symbolObj_sizey_get
    if _newclass:sizey = property(_mapscript.symbolObj_sizey_get, _mapscript.symbolObj_sizey_set)
    __swig_getmethods__["numpoints"] = _mapscript.symbolObj_numpoints_get
    if _newclass:numpoints = property(_mapscript.symbolObj_numpoints_get)
    __swig_setmethods__["filled"] = _mapscript.symbolObj_filled_set
    __swig_getmethods__["filled"] = _mapscript.symbolObj_filled_get
    if _newclass:filled = property(_mapscript.symbolObj_filled_get, _mapscript.symbolObj_filled_set)
    __swig_setmethods__["stylelength"] = _mapscript.symbolObj_stylelength_set
    __swig_getmethods__["stylelength"] = _mapscript.symbolObj_stylelength_get
    if _newclass:stylelength = property(_mapscript.symbolObj_stylelength_get, _mapscript.symbolObj_stylelength_set)
    __swig_setmethods__["style"] = _mapscript.symbolObj_style_set
    __swig_getmethods__["style"] = _mapscript.symbolObj_style_get
    if _newclass:style = property(_mapscript.symbolObj_style_get, _mapscript.symbolObj_style_set)
    __swig_getmethods__["imagepath"] = _mapscript.symbolObj_imagepath_get
    if _newclass:imagepath = property(_mapscript.symbolObj_imagepath_get)
    __swig_setmethods__["transparent"] = _mapscript.symbolObj_transparent_set
    __swig_getmethods__["transparent"] = _mapscript.symbolObj_transparent_get
    if _newclass:transparent = property(_mapscript.symbolObj_transparent_get, _mapscript.symbolObj_transparent_set)
    __swig_setmethods__["transparentcolor"] = _mapscript.symbolObj_transparentcolor_set
    __swig_getmethods__["transparentcolor"] = _mapscript.symbolObj_transparentcolor_get
    if _newclass:transparentcolor = property(_mapscript.symbolObj_transparentcolor_get, _mapscript.symbolObj_transparentcolor_set)
    __swig_setmethods__["character"] = _mapscript.symbolObj_character_set
    __swig_getmethods__["character"] = _mapscript.symbolObj_character_get
    if _newclass:character = property(_mapscript.symbolObj_character_get, _mapscript.symbolObj_character_set)
    __swig_setmethods__["antialias"] = _mapscript.symbolObj_antialias_set
    __swig_getmethods__["antialias"] = _mapscript.symbolObj_antialias_get
    if _newclass:antialias = property(_mapscript.symbolObj_antialias_get, _mapscript.symbolObj_antialias_set)
    __swig_setmethods__["font"] = _mapscript.symbolObj_font_set
    __swig_getmethods__["font"] = _mapscript.symbolObj_font_get
    if _newclass:font = property(_mapscript.symbolObj_font_get, _mapscript.symbolObj_font_set)
    __swig_setmethods__["gap"] = _mapscript.symbolObj_gap_set
    __swig_getmethods__["gap"] = _mapscript.symbolObj_gap_get
    if _newclass:gap = property(_mapscript.symbolObj_gap_get, _mapscript.symbolObj_gap_set)
    __swig_setmethods__["position"] = _mapscript.symbolObj_position_set
    __swig_getmethods__["position"] = _mapscript.symbolObj_position_get
    if _newclass:position = property(_mapscript.symbolObj_position_get, _mapscript.symbolObj_position_set)
    __swig_setmethods__["linecap"] = _mapscript.symbolObj_linecap_set
    __swig_getmethods__["linecap"] = _mapscript.symbolObj_linecap_get
    if _newclass:linecap = property(_mapscript.symbolObj_linecap_get, _mapscript.symbolObj_linecap_set)
    __swig_setmethods__["linejoin"] = _mapscript.symbolObj_linejoin_set
    __swig_getmethods__["linejoin"] = _mapscript.symbolObj_linejoin_get
    if _newclass:linejoin = property(_mapscript.symbolObj_linejoin_get, _mapscript.symbolObj_linejoin_set)
    __swig_setmethods__["linejoinmaxsize"] = _mapscript.symbolObj_linejoinmaxsize_set
    __swig_getmethods__["linejoinmaxsize"] = _mapscript.symbolObj_linejoinmaxsize_get
    if _newclass:linejoinmaxsize = property(_mapscript.symbolObj_linejoinmaxsize_get, _mapscript.symbolObj_linejoinmaxsize_set)
    def __init__(self, *args):
        _swig_setattr(self, symbolObj, 'this', _mapscript.new_symbolObj(*args))
        _swig_setattr(self, symbolObj, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_symbolObj):
        try:
            if self.thisown: destroy(self)
        except: pass
    def setImagepath(*args): return _mapscript.symbolObj_setImagepath(*args)
    def setPoints(*args): return _mapscript.symbolObj_setPoints(*args)
    def getPoints(*args): return _mapscript.symbolObj_getPoints(*args)
    def setStyle(*args): return _mapscript.symbolObj_setStyle(*args)
    def getImage(*args): return _mapscript.symbolObj_getImage(*args)
    def setImage(*args): return _mapscript.symbolObj_setImage(*args)

class symbolObjPtr(symbolObj):
    def __init__(self, this):
        _swig_setattr(self, symbolObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, symbolObj, 'thisown', 0)
        _swig_setattr(self, symbolObj,self.__class__,symbolObj)
_mapscript.symbolObj_swigregister(symbolObjPtr)

MS_NOERR = _mapscript.MS_NOERR
MS_IOERR = _mapscript.MS_IOERR
MS_MEMERR = _mapscript.MS_MEMERR
MS_TYPEERR = _mapscript.MS_TYPEERR
MS_SYMERR = _mapscript.MS_SYMERR
MS_REGEXERR = _mapscript.MS_REGEXERR
MS_TTFERR = _mapscript.MS_TTFERR
MS_DBFERR = _mapscript.MS_DBFERR
MS_GDERR = _mapscript.MS_GDERR
MS_IDENTERR = _mapscript.MS_IDENTERR
MS_EOFERR = _mapscript.MS_EOFERR
MS_PROJERR = _mapscript.MS_PROJERR
MS_MISCERR = _mapscript.MS_MISCERR
MS_CGIERR = _mapscript.MS_CGIERR
MS_WEBERR = _mapscript.MS_WEBERR
MS_IMGERR = _mapscript.MS_IMGERR
MS_HASHERR = _mapscript.MS_HASHERR
MS_JOINERR = _mapscript.MS_JOINERR
MS_NOTFOUND = _mapscript.MS_NOTFOUND
MS_SHPERR = _mapscript.MS_SHPERR
MS_PARSEERR = _mapscript.MS_PARSEERR
MS_SDEERR = _mapscript.MS_SDEERR
MS_OGRERR = _mapscript.MS_OGRERR
MS_QUERYERR = _mapscript.MS_QUERYERR
MS_WMSERR = _mapscript.MS_WMSERR
MS_WMSCONNERR = _mapscript.MS_WMSCONNERR
MS_ORACLESPATIALERR = _mapscript.MS_ORACLESPATIALERR
MS_WFSERR = _mapscript.MS_WFSERR
MS_WFSCONNERR = _mapscript.MS_WFSCONNERR
MS_MAPCONTEXTERR = _mapscript.MS_MAPCONTEXTERR
MS_HTTPERR = _mapscript.MS_HTTPERR
MS_CHILDERR = _mapscript.MS_CHILDERR
MS_WCSERR = _mapscript.MS_WCSERR
MS_GEOSERR = _mapscript.MS_GEOSERR
MS_RECTERR = _mapscript.MS_RECTERR
MS_TIMEERR = _mapscript.MS_TIMEERR
MS_GMLERR = _mapscript.MS_GMLERR
MS_SOSERR = _mapscript.MS_SOSERR
MS_NUMERRORCODES = _mapscript.MS_NUMERRORCODES
MESSAGELENGTH = _mapscript.MESSAGELENGTH
ROUTINELENGTH = _mapscript.ROUTINELENGTH
class errorObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, errorObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, errorObj, name)
    def __repr__(self):
        return "<C errorObj instance at %s>" % (self.this,)
    __swig_setmethods__["code"] = _mapscript.errorObj_code_set
    __swig_getmethods__["code"] = _mapscript.errorObj_code_get
    if _newclass:code = property(_mapscript.errorObj_code_get, _mapscript.errorObj_code_set)
    __swig_setmethods__["routine"] = _mapscript.errorObj_routine_set
    __swig_getmethods__["routine"] = _mapscript.errorObj_routine_get
    if _newclass:routine = property(_mapscript.errorObj_routine_get, _mapscript.errorObj_routine_set)
    __swig_setmethods__["message"] = _mapscript.errorObj_message_set
    __swig_getmethods__["message"] = _mapscript.errorObj_message_get
    if _newclass:message = property(_mapscript.errorObj_message_get, _mapscript.errorObj_message_set)
    def __init__(self, *args):
        _swig_setattr(self, errorObj, 'this', _mapscript.new_errorObj(*args))
        _swig_setattr(self, errorObj, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_errorObj):
        try:
            if self.thisown: destroy(self)
        except: pass
    def next(*args): return _mapscript.errorObj_next(*args)

class errorObjPtr(errorObj):
    def __init__(self, this):
        _swig_setattr(self, errorObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, errorObj, 'thisown', 0)
        _swig_setattr(self, errorObj,self.__class__,errorObj)
_mapscript.errorObj_swigregister(errorObjPtr)


msGetErrorObj = _mapscript.msGetErrorObj

msResetErrorList = _mapscript.msResetErrorList

msGetVersion = _mapscript.msGetVersion

msGetErrorString = _mapscript.msGetErrorString
MS_HASHSIZE = _mapscript.MS_HASHSIZE
class hashTableObj(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, hashTableObj, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, hashTableObj, name)
    def __repr__(self):
        return "<C hashTableObj instance at %s>" % (self.this,)
    __swig_getmethods__["numitems"] = _mapscript.hashTableObj_numitems_get
    if _newclass:numitems = property(_mapscript.hashTableObj_numitems_get)
    def __init__(self, *args):
        _swig_setattr(self, hashTableObj, 'this', _mapscript.new_hashTableObj(*args))
        _swig_setattr(self, hashTableObj, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_hashTableObj):
        try:
            if self.thisown: destroy(self)
        except: pass
    def set(*args): return _mapscript.hashTableObj_set(*args)
    def get(*args): return _mapscript.hashTableObj_get(*args)
    def remove(*args): return _mapscript.hashTableObj_remove(*args)
    def clear(*args): return _mapscript.hashTableObj_clear(*args)
    def nextKey(*args): return _mapscript.hashTableObj_nextKey(*args)

class hashTableObjPtr(hashTableObj):
    def __init__(self, this):
        _swig_setattr(self, hashTableObj, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, hashTableObj, 'thisown', 0)
        _swig_setattr(self, hashTableObj,self.__class__,hashTableObj)
_mapscript.hashTableObj_swigregister(hashTableObjPtr)

MS_MAX_CGI_PARAMS = _mapscript.MS_MAX_CGI_PARAMS
MS_GET_REQUEST = _mapscript.MS_GET_REQUEST
MS_POST_REQUEST = _mapscript.MS_POST_REQUEST
class OWSRequest(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, OWSRequest, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, OWSRequest, name)
    def __repr__(self):
        return "<C cgiRequestObj instance at %s>" % (self.this,)
    __swig_getmethods__["NumParams"] = _mapscript.OWSRequest_NumParams_get
    if _newclass:NumParams = property(_mapscript.OWSRequest_NumParams_get)
    __swig_setmethods__["type"] = _mapscript.OWSRequest_type_set
    __swig_getmethods__["type"] = _mapscript.OWSRequest_type_get
    if _newclass:type = property(_mapscript.OWSRequest_type_get, _mapscript.OWSRequest_type_set)
    __swig_setmethods__["contenttype"] = _mapscript.OWSRequest_contenttype_set
    __swig_getmethods__["contenttype"] = _mapscript.OWSRequest_contenttype_get
    if _newclass:contenttype = property(_mapscript.OWSRequest_contenttype_get, _mapscript.OWSRequest_contenttype_set)
    __swig_setmethods__["postrequest"] = _mapscript.OWSRequest_postrequest_set
    __swig_getmethods__["postrequest"] = _mapscript.OWSRequest_postrequest_get
    if _newclass:postrequest = property(_mapscript.OWSRequest_postrequest_get, _mapscript.OWSRequest_postrequest_set)
    def __init__(self, *args):
        _swig_setattr(self, OWSRequest, 'this', _mapscript.new_OWSRequest(*args))
        _swig_setattr(self, OWSRequest, 'thisown', 1)
    def __del__(self, destroy=_mapscript.delete_OWSRequest):
        try:
            if self.thisown: destroy(self)
        except: pass
    def loadParams(*args): return _mapscript.OWSRequest_loadParams(*args)
    def setParameter(*args): return _mapscript.OWSRequest_setParameter(*args)
    def getName(*args): return _mapscript.OWSRequest_getName(*args)
    def getValue(*args): return _mapscript.OWSRequest_getValue(*args)
    def getValueByName(*args): return _mapscript.OWSRequest_getValueByName(*args)

class OWSRequestPtr(OWSRequest):
    def __init__(self, this):
        _swig_setattr(self, OWSRequest, 'this', this)
        if not hasattr(self,"thisown"): _swig_setattr(self, OWSRequest, 'thisown', 0)
        _swig_setattr(self, OWSRequest,self.__class__,OWSRequest)
_mapscript.OWSRequest_swigregister(OWSRequestPtr)


msConnPoolCloseUnreferenced = _mapscript.msConnPoolCloseUnreferenced

msIO_resetHandlers = _mapscript.msIO_resetHandlers

msIO_installStdoutToBuffer = _mapscript.msIO_installStdoutToBuffer

msIO_installStdinFromBuffer = _mapscript.msIO_installStdinFromBuffer

msIO_stripStdoutBufferContentType = _mapscript.msIO_stripStdoutBufferContentType

msIO_getStdoutBufferString = _mapscript.msIO_getStdoutBufferString

msIO_getStdoutBufferBytes = _mapscript.msIO_getStdoutBufferBytes


Generated by  Doxygen 1.6.0   Back to index