[maplab-users] Grouping Layers

Satyajit satyajit.gantayat at aurovision.com
Fri Feb 4 09:16:08 EST 2005


Folks,

It's the first place where I look for solutions. I have installed Mapserver
on my RedHat Linux platform with the following configuration.

apache-base 1.3.33

curl-lib 7.12.2

expat-base 1.95.8

freetype-lib 2.1.9

gd-lib 2.0.33

gdal-base 1.2.5

gmap-demo 1.0.0

jpeg-lib 6b

libgeotiff-lib 1.2.2

libiconv-base 1.9.1

libpng-lib 1.2.6

mapserver-base 4.4.1

mapserver-php 4.4.1

netcdf-lib 3.5.1

openssl-lib 0.9.7d

php-base 4.3.10

postgresql-lib 7.4.6

proj-lib 4.4.8

proj4_epsg42xxx-support 1.0.0

tiff-lib 3.7.1

unixODBC-base 2.2.10

xerces_c-base 2_6_0

I could install this from the Linux installer available at this place
<http://www.maptools.org/fgs/> http://www.maptools.org/fgs/ . 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 

****************************************************************************
********************************

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

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

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

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

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

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

****************************************************************************
********************************

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.

What could be the problem. Here is my map file 

****************************************************************************
*********************************

MAP

NAME "ahm"

STATUS ON

EXTENT 100 8300 9100 300

SIZE 9000 8000 

SHAPEPATH "/opt/fgs/www/htdocs/maplab-2.2/projects/test/data"

SYMBOLSET "/opt/fgs/www/htdocs/maplab-2.2/projects/etc/symbols.sym"

FONTSET "/opt/fgs/www/htdocs/maplab-2.2/projects/etc/fonts.txt"

UNITS METERS

WEB

MINSCALE 500

MAXSCALE 90000

IMAGEPATH "/opt/fgs/tmp/ms_tmp/"

IMAGEURL "/ms_tmp/"

END

LAYER

NAME "cluster"

STATUS ON

DATA "/opt/fgs/www/htdocs/maplab-2.2/projects/test/data/Export_Output.shp"

TYPE POLYGON

CONNECTIONTYPE LOCAL

UNITS METERS

CLASS

MINSCALE 500

MAXSCALE 90000

STYLE

SYMBOL 11

COLOR 255 255 234

OUTLINECOLOR 255 0 0

SIZE 15

MINSIZE 12

MAXSIZE 18

ANTIALIAS TRUE

END

END

END

END

****************************************************************************
*********************************

Any Suggestions ?? 

Thanks in anticipation.

Regards,

Satyajit

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20050204/f3df127a/attachment.html


More information about the Maplab-users mailing list