[ms4w-users] Resend- MS4W in IIS
jmckenna at dmsolutions.ca
Sun Oct 21 15:39:31 EDT 2007
Jessica Fendos wrote:
> Hi list:
> I am using MS4W package with Chameleon in an IIS environment. Some
> of my mapping applications will display map images (containing both
> shapefiles and PostGIS data) in Apache but when I tried to display
> both types of data in IIS, I got an broken image. It seems that I
> can display only multiple shapefiles OR only PostGIS data but not
> both in IIS.
I have never come across or heard of such a problem.
> In addition, when I tested using a php file,
> $oMap =
> $oImage = $oMap->draw();
> header("Content-type: image/png");
> I got this error message: The image
> > cannot be displayed, because it contains errors.
> "The image created by the script is fine when accessed via:
> http:// mapt.deed.state.mn.us:8080/ms_tmp/test.png" .
> I am really lost as to how to fix this problem. Could someone please
> guide me on this? Thank you for your time.
Odd. By the way a nice little test script for php/mapscript is included
in ms4w at /ms4w/Apache/htdocs/quickmap.php.
What happens when you try your mapfile with a shp2img command?
DM Solutions Group Inc.
More information about the ms4w-users