[mapserver-dev] SWIG 1.3.16

Daniel Morissette morissette at dmsolutions.ca
Wed Oct 30 21:40:34 EST 2002


Wow!  Very interesting!  :)   We'll have to try it out if we can ever
find the time... or if anyone has time to test this further before we do
then please go ahead and keep us posted on how it goes.

Daniel


Paul Ramsey wrote:
> 
> Folks,
> 
> I just pulled swig 1.3.16 and tried out the PHP4 support. It is looking
> pretty slick now... I just did the four line SWIG routine, and loaded
> the module, and the following php script works:
> 
> <?
> 
> dl("mapscript.so");
> 
> $map = new mapObj("/home/httpd/mapserver/html/usa/usa.map");
> $lyr = $map->getLayer(0);
> print $lyr->name;
> 
> ?>
> 
> It'll take a while to confirm the overall functionality of the SWIG
> generated code, but so far so good...
> 
> P.
> 
> --
>        __
>       /
>       | Paul Ramsey
>       | Refractions Research
>       | Email: pramsey at refractions.net
>       | Phone: (250) 885-0632
>       \_



More information about the mapserver-dev mailing list