MapTools.org

[maplab-users] gMapFactory and Mapserver 4.x

Zak James zak-ms@hoppsan.org
Fri, 26 Mar 2004 09:06:10 -0500
Aaron,

That's an error that should be corrected before the final 2.1 release.  
Is it causing problems in the generated application (other than php  
notices)?

zak
--
Zak James
Applications and Software Development
DM Solutions Group Inc.
http://www.dmsolutions.ca


On Mar 25, 2004, at 4:48 PM, Aaron Racicot wrote:

> Hello,
> 	I am looking at gMapFactory with my new 4.0.1 Mapserver installation
> and am a bit confused.  The documentation for MapLab 2.1-rc3 states  
> that it
> requires "at least 4.0" Mapserver, yet when I create a gMapFactory
> application the globprefs.php file contains references to things like  
> MS_PNG
> which are not supported in Mapserver 4.x?  This is the actual bottom  
> lines
> from the globprefs.php file that is generated:
>
> /*
> ======================================================================= 
> =====
>  * Determine image support
>  *  
> ======================================================================= 
> ==
> */
> // check gif first
> if (strpos( ms_GetVersion(), "OUTPUT=GIF") > 0 )
> {
>     // gif is supportted
>    define( "IMAGE_TYPE", MS_GIF );
> }
> elseif(strpos( ms_GetVersion(), "OUTPUT=PNG") > 0 )
> {
>     // png is supportted
>        define( "IMAGE_TYPE", MS_PNG );
> }
> else
> {
>     // default to JPEG
>    define( "IMAGE_TYPE", MS_JPEG );
> }
> ?>
>
> Am I missing something here?
>
> Anyone using 2.1-rc3 gMapFactory successfully with 4.0.1 Mapserver?
>
> Thanks
>
> Aaron
>
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> RedHat Enterprise Linux 3.0 AS on Intel Box (2.8gHz,1G,Dual 40G drives)
> Mapserver/Mapscript - 4.0.1
> Postgresql - 7.4.2
> Postgis - 0.8.1
> PHP - 4.3.4
> Maplab - 2.1-rc3
> Chameleon 1.1alpha-20031031
> chameleon-sample - From MapTools.org
>
>
> _______________________________________________
> Maplab-users mailing list
> Maplab-users@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/maplab-users
>



This archive was generated by Pipermail.