tomkralidis at hotmail.com
Sun Feb 11 09:15:20 EST 2001
I would like to use mapscript (via Perl) to add functionality to my
application, and have a few questions.
1./ How does mapscript interact w/ web applications. ie does it replace the
mapserv binary, acting as an interface to it? I have an app underway
without mapscript, so how does one integrate it into a web app?
I tried the online example under the mapscript documentation page:
$map = new mapObj('/www/docs/mapserv/example.map') or die('Unable to open
$img = $map->draw() or die('Unable to draw map');
..and received this error:
Unable to open mapfile: Inappropriate ioctl for device
I tried this both through a CGI and command-line mode.
Any idea what could be causing this (using Linux RedHat6.2).
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
More information about the mapserver-users