>First, of all, you should >generally compare integer results from mapscript to >mapscript.MS_SUCCESS (0) and mapscript.MS_FAILURE (1) For some reason SWIG "hides" these return values in MapServer.MS_RETURN_VALUE.MS_SUCCESS and MapServer.MS_RETURN_VALUE.MS_FAILURE /Morten