[maplab-users] Wrong parameter count

gue gue5000 at plasa.com
Tue Jan 25 07:05:40 EST 2005


Dear All,

I am newbie in mablab and need for help to setup maplab.

1. When i try to run map edit with tutorial map data (from 
download), New window appear without map image) and  i got 
this massage (w

Warning: MapServer Error in msLoadMap(): 
(OUTPUTFORMAT):(125) in
    c:\ms4w\apps\maplab-2.2\htdocs\common\wrapper\map_session.php 
on line 215
Fatal error: Failed to open map file 
c:/ms4w/tmp//41f622c3de86e.map in
    c:\ms4w\apps\maplab-2.2\htdocs\common\wrapper\map_session.php 
on line 215

    Temporary map file was created in c:/ms4w/tmp. Image 
file didn't.


2. Then i try with my  map file lat/long coord (in oracle 
spatial)like this :


MAP
   NAME "Smartmap"
   STATUS ON
   EXTENT 110.338 -7.72775 110.344 -7.72374
   SIZE 600 400
   SYMBOLSET "./etc/symbols.sym"
   FONTSET "./etc/fonts.txt"
   IMAGETYPE PNG
   IMAGECOLOR 0 0 249
   UNITS METERS
   WEB
     IMAGEPATH "C:/ms4w/tmp/ms_tmp"
     IMAGEURL "/ms_tmp/"
   END
   REFERENCE
     STATUS ON
     IMAGE "./images/indonesia.gif"
     SIZE 150 100
     EXTENT -1 -1 -1 -1
     COLOR 246 255 161
     OUTLINECOLOR 237 105 0
     MINBOXSIZE 3
     MAXBOXSIZE 0
     MARKER 0
     MARKERSIZE 0
   END
   QUERYMAP
     STATUS OFF
     SIZE -1 -1
     COLOR 255 255 0
     STYLE HILITE
   END
   LEGEND
     STATUS OFF
     IMAGECOLOR 255 255 255
     TRANSPARENT FALSE
     INTERLACE TRUE
     POSITION LL
     KEYSIZE 20 10
     KEYSPACING 5 5
     TEMPLATE 
"c:/ms4w/apps/maplab-2.2/htdocs/mapbrowser/legend_template.html"
     LABEL
       TYPE BITMAP
       SIZE MEDIUM
       OFFSET 0 0
       BUFFER 0
       MINDISTANCE -1
       MINFEATURESIZE -1
       COLOR 0 0 0
       PARTIALS TRUE
       FORCE FALSE
     END
   END
   SCALEBAR
     STATUS OFF
     COLOR 0 0 0
     IMAGECOLOR 255 255 255
     TRANSPARENT FALSE
     UNITS MILES
     INTERVALS 4
     SIZE 200 3
     STYLE 0
     POSITION LL
     INTERLACE TRUE
     LABEL
       TYPE BITMAP
       SIZE MEDIUM
       OFFSET 0 0
       BUFFER 0
       MINDISTANCE -1
       MINFEATURESIZE -1
       COLOR 0 0 0
       PARTIALS TRUE
       FORCE FALSE
     END
   END
   LAYER
     NAME "Property_base"
     STATUS ON
     DATA "GEOLOC FROM MAP_BASE_PROPERTY USING SRID 8192"
     TYPE POLYGON
     CONNECTIONTYPE ORACLESPATIAL
     CONNECTION "pbbsleman/pbbsleman"
     UNITS METERS
     SIZEUNITS METERS
     TOLERANCE 3
     TOLERANCEUNITS PIXELS
   END
END


Temporary map file and image (.png) file were created, but 
image (.png) file was blank.
The Massage appeared :

Warning: Wrong parameter count for savewebimage() in
      c:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php 
on line 474
Warning: Wrong parameter count for savewebimage() in
     c:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on 
line 481
Warning: Wrong parameter count for savewebimage() in
     c:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on 
line 492

Command line in preview.php :
	(473) //if (!session_is_registered("gszImageType"))
	(474)     $urlMainMap = $imgMainMap->saveWebImage();

	(481)     $urlScalebar = $imgScalebar->saveWebImage();
	(492)     $urlReference = $imgReference->saveWebImage();



Please help me to solve this problem. Thank's alot for 
your kindness

Regard,

Gue
========================================================================================
Akses Internet TELKOMNet-Instan beri Diskon s.d. 50 % khusus untuk wilayah Jawa Timur.
Informasi selengkapnya di www.telkomnetinstan.com atau hub 0800-1-INSTAN (467826)
======================================================================================== 


More information about the Maplab-users mailing list