MapTools.org

[maplab-users] gMapFactory and Mapserver 4.x

Aaron Racicot aaronr@ccalmr.ogi.edu
Thu, 25 Mar 2004 13:48:13 -0800
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




This archive was generated by Pipermail.