[Mapserver-users] Gmap and MS 4.2

Eduardo Patto Kanegae eduardo at consultoria.eti.br
Tue Jul 6 18:29:25 EDT 2004


Check if you set up IIS to process .phtml extensions using PHP processor.

best.

Eduardo Patto Kanegae
http://www.consultoria.eti.br
UIN: 303747254

Treinamento em UMN MapServer - http://www.consultoria.eti.br/ptbr/?menuoption=mapserver
I Encontro Nacional de Usuários MapServer - http://mapserver.cttmar.univali.br/encontro2004
Fórum MapServer Brasil - http://mapserver.cttmar.univali.br/forum

***Fim da Mensagem / End of Message ***



TCHaddad escreveu:

>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) $gbIsH!
> tmlMode = 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; } ?> 
>
>
>                 
>_______________________________________________
>Mapserver-users mailing list
>Mapserver-users at lists.gis.umn.edu
>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
>
>  
>

-- 





More information about the mapserver-users mailing list