queryByAttributes...

Sean Gillies sgillies at FRII.COM
Tue Apr 12 14:11:51 PDT 2005


On Apr 12, 2005, at 3:02 PM, Morten Nielsen wrote:

>> 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
>

I'm looking in mapscript.cs and see a

public class mapscript {
   ...
   public static readonly int MS_SUCCESS
   ...
}

Is that not accessible as mapscript.MS_SUCCESS from C#?

Sean



More information about the MapServer-users mailing list