<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><FONT size=2>
<P>Folks,</P>
<P>It’s the first place where I look for solutions. I have installed Mapserver
on my RedHat Linux platform with the following configuration.</P>
<P>apache-base 1.3.33</P>
<P>curl-lib 7.12.2</P>
<P>expat-base 1.95.8</P>
<P>freetype-lib 2.1.9</P>
<P>gd-lib 2.0.33</P>
<P>gdal-base 1.2.5</P>
<P>gmap-demo 1.0.0</P>
<P>jpeg-lib 6b</P>
<P>libgeotiff-lib 1.2.2</P>
<P>libiconv-base 1.9.1</P>
<P>libpng-lib 1.2.6</P>
<P>mapserver-base 4.4.1</P>
<P>mapserver-php 4.4.1</P>
<P>netcdf-lib 3.5.1</P>
<P>openssl-lib 0.9.7d</P>
<P>php-base 4.3.10</P>
<P>postgresql-lib 7.4.6</P>
<P>proj-lib 4.4.8</P>
<P>proj4_epsg42xxx-support 1.0.0</P>
<P>tiff-lib 3.7.1</P>
<P>unixODBC-base 2.2.10</P>
<P>xerces_c-base 2_6_0</P>
<P>I could install this from the Linux installer available at this place
</FONT><A href="http://www.maptools.org/fgs/"><U><FONT size=2><FONT
color=#000000>http://www.maptools.org/fgs/</FONT></U></FONT></A><FONT size=2> .
I sincerely thank Daniel for preparaing this installer. I got the demo
"gmap-demo" perfectly running on my machine. However I am getting some strange
errors while trying to preview my map. The error says something like this </P>
<P>************************************************************************************************************</P>
<P><FONT color=#0000ff>Warning: [MapServer Error]: loadMapInternal(): Given map
extent is invalid. in
/opt/fgs/www/htdocs/maplab-2.2/htdocs/common/wrapper/map_session.php on line
215</FONT></P>
<P><FONT color=#0000ff>Warning: Failed to open map file /tmp//4203772e2bcec.map
in /opt/fgs/www/htdocs/maplab-2.2/htdocs/common/wrapper/map_session.php on line
215</FONT></P>
<P><FONT color=#0000ff>Warning: [MapServer Error]: loadMapInternal(): Given map
extent is invalid. in
/opt/fgs/www/htdocs/maplab-2.2/htdocs/common/wrapper/map_session.php on line
215</FONT></P>
<P><FONT color=#0000ff>Warning: [MapServer Error]: loadMapInternal(): Given map
extent is invalid. in
/opt/fgs/www/htdocs/maplab-2.2/htdocs/common/wrapper/map_session.php on line
215</FONT></P>
<P><FONT color=#0000ff>Warning: Failed to open map file /tmp//4203772e2bcec.map
in /opt/fgs/www/htdocs/maplab-2.2/htdocs/common/wrapper/map_session.php on line
215</FONT></P>
<P><FONT color=#0000ff>Fatal error: Call to a member function on a non-object in
/opt/fgs/www/htdocs/maplab-2.2/htdocs/mapedit/preview.php on line 311</FONT></P>
<P>************************************************************************************************************</P>
<P>If my map extent contains any negative values then theabove error comes. If I
make it positive then I'm not encountering with these errors but my map simple
won't show any features.</P>
<P>What could be the problem. Here is my map file </P>
<P>*************************************************************************************************************</P>
<P><FONT color=#0000ff>MAP</FONT></P>
<P><FONT color=#0000ff>NAME "ahm"</FONT></P>
<P><FONT color=#0000ff>STATUS ON</FONT></P>
<P><FONT color=#0000ff>EXTENT 100 8300 9100 300</FONT></P>
<P><FONT color=#0000ff>SIZE 9000 8000 </FONT></P>
<P><FONT color=#0000ff>SHAPEPATH
"/opt/fgs/www/htdocs/maplab-2.2/projects/test/data"</FONT></P>
<P><FONT color=#0000ff>SYMBOLSET
"/opt/fgs/www/htdocs/maplab-2.2/projects/etc/symbols.sym"</FONT></P>
<P><FONT color=#0000ff>FONTSET
"/opt/fgs/www/htdocs/maplab-2.2/projects/etc/fonts.txt"</FONT></P>
<P><FONT color=#0000ff>UNITS METERS</FONT></P>
<P><FONT color=#0000ff>WEB</FONT></P>
<P><FONT color=#0000ff>MINSCALE 500</FONT></P>
<P><FONT color=#0000ff>MAXSCALE 90000</FONT></P>
<P><FONT color=#0000ff>IMAGEPATH "/opt/fgs/tmp/ms_tmp/"</FONT></P>
<P><FONT color=#0000ff>IMAGEURL "/ms_tmp/"</FONT></P>
<P><FONT color=#0000ff>END</FONT></P>
<P><FONT color=#0000ff>LAYER</FONT></P>
<P><FONT color=#0000ff>NAME "cluster"</FONT></P>
<P><FONT color=#0000ff>STATUS ON</FONT></P>
<P><FONT color=#0000ff>DATA
"/opt/fgs/www/htdocs/maplab-2.2/projects/test/data/Export_Output.shp"</FONT></P>
<P><FONT color=#0000ff>TYPE POLYGON</FONT></P>
<P><FONT color=#0000ff>CONNECTIONTYPE LOCAL</FONT></P>
<P><FONT color=#0000ff>UNITS METERS</FONT></P>
<P><FONT color=#0000ff>CLASS</FONT></P>
<P><FONT color=#0000ff>MINSCALE 500</FONT></P>
<P><FONT color=#0000ff>MAXSCALE 90000</FONT></P>
<P><FONT color=#0000ff>STYLE</FONT></P>
<P><FONT color=#0000ff>SYMBOL 11</FONT></P>
<P><FONT color=#0000ff>COLOR 255 255 234</FONT></P>
<P><FONT color=#0000ff>OUTLINECOLOR 255 0 0</FONT></P>
<P><FONT color=#0000ff>SIZE 15</FONT></P>
<P><FONT color=#0000ff>MINSIZE 12</FONT></P>
<P><FONT color=#0000ff>MAXSIZE 18</FONT></P>
<P><FONT color=#0000ff>ANTIALIAS TRUE</FONT></P>
<P><FONT color=#0000ff>END</FONT></P>
<P><FONT color=#0000ff>END</FONT></P>
<P><FONT color=#0000ff>END</FONT></P>
<P><FONT color=#0000ff>END</FONT></P>
<P>*************************************************************************************************************</P>
<P>Any Suggestions ?? </P>
<P>Thanks in anticipation.</P>
<P>Regards,</P>
<P>Satyajit</P></FONT></FONT></DIV></BODY></HTML>