[mapserver-dev] SWIG 1.3.16

Paul Ramsey pramsey at refractions.net
Wed Oct 30 19:45:23 EST 2002


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