[Mapserver-users] Gmap and MS 4.2

TCHaddad TCHaddad at cshore.com
Tue Jul 6 17:20:28 EDT 2004


Greetings,

We just installed Mapserver/PHP Mapscript 4.2.0 (see config below) successfully (we thought) on IIS 5. To test it out we downloaded the most recent GMap we could find ( gmap-ms40.zip ), but on loading Gmap it is clear that GMap won't initialize correctly... instead it gives a bunch of PHP (see bottom), and an unworking interface shell...

Is gmap-ms40.zip compatible with PHP Mapscript 4.2.0 ? if not will there be an update of GMap? If it is supposed to work as is, where do we begin diagnosing our problem?

many thanks for any help,

TC


MapServer version 4.2.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE  

PHP MapScript Version  ($Revision: 1.194.2.3 $ $Date: 2004/05/13 21:37:44 $)  

------------php dumped -------------->

extent->maxx - $gpoMap->extent->minx)/10; $dfTmpDeltaY = ($gpoMap->extent->maxy - $gpoMap->extent->miny)/10; // For now, we disable the 10% buffer until we get new data $dfTmpDeltaX = 0; $dfTmpDeltaY = 0; $dfMapExtMinX = $gpoMap->extent->minx; $dfMapExtMinY = $gpoMap->extent->miny; $dfMapExtMaxX = $gpoMap->extent->maxx; $dfMapExtMaxY = $gpoMap->extent->maxy; $dfMaxExtMinX = $gpoMap->extent->minx - $dfTmpDeltaX; $dfMaxExtMinY = $gpoMap->extent->miny - $dfTmpDeltaY; $dfMaxExtMaxX = $gpoMap->extent->maxx + $dfTmpDeltaX; $dfMaxExtMaxY = $gpoMap->extent->maxy + $dfTmpDeltaY; GMap75CheckClick(); $gszCommand = $HTTP_FORM_VARS["CMD"]; if ( sizeof($gszCommand) == 0) { $gszCommand = "ZOOM_IN"; } /* -------------------------------------------------------------------- */ /* swich between the rosa java applet and simple html for */ /* zooming and querying. */ /* -------------------------------------------------------------------- */ if (strlen($HTTP_FORM_VARS["PREVIOUS_MODE"])==0) $gbIsHtmlMode = 0; // Start with Java On by default else $gbIsHtmlMode = intval($HTTP_FORM_VARS["PREVIOUS_MODE"]); if ($HTTP_FORM_VARS[JavaOn_x]) $gbIsHtmlMode = 0; if ($HTTP_FORM_VARS[JavaOff_x]) $gbIsHtmlMode = 1; function IsHtmlMode() { GLOBAL $gbIsHtmlMode; return $gbIsHtmlMode; } ?> 


                 



More information about the mapserver-users mailing list