[maplab-users] Re: How to fix following problems.?

Bimal Achary bimal.achary at gmail.com
Wed Jun 29 09:56:58 EDT 2005


Dear Zak,

         Thanks for the suggestion.in fact i didn't get the INVERTED
error when next opened the project.But i couldn't get the map 'Puri'
in the view extent.

So just for trial i changed the layer and set Orissa Block layer and
found the result is same.

My map edit script is as follows :

   MAP
 NAME "TEST"
 STATUS ON
 EXTENT 80 16 90 24
 SIZE 400 300
 SHAPEPATH "D:/ms4w/apps/maplab-2.2/tutorial/data"
 SYMBOLSET "D:/ms4w/apps/gmap/etc/symbols.sym"
 FONTSET "D:/ms4w/apps/gmap/etc/fonts.txt"
 IMAGETYPE PNG
 IMAGECOLOR 255 255 255
 UNITS METERS
 WEB
   MINSCALE 2e+06
   MAXSCALE 5e+07
   IMAGEPATH "D:/ms4w/apps/maplab-2.2/data"
   IMAGEURL "D:/ms4w/apps/maplab-2.2/data"
 END
 REFERENCE
   STATUS ON
   IMAGE "D:\ms4w\apps\maplab-2.2\data\orissa.jpg"
   SIZE 100 75
   EXTENT 80 16 90 24
   COLOR -1 -1 -1
   OUTLINECOLOR 255 0 0
   MINBOXSIZE 3
   MAXBOXSIZE 0
   MARKER 0
   MARKERSIZE 0
 END
 QUERYMAP
   STATUS OFF
   SIZE -1 -1
   COLOR 255 0 0
   STYLE HILITE
 END
 LEGEND
   STATUS ON
   IMAGECOLOR 255 255 255
   POSITION LL
   KEYSIZE 18 12
   KEYSPACING 5 5
   LABEL
     TYPE BITMAP
     SIZE MEDIUM
     OFFSET 0 0
     BUFFER 0
     MINDISTANCE -1
     MINFEATURESIZE -1
     COLOR -1 -1 -1
     PARTIALS TRUE
     FORCE FALSE
   END
 END
 SCALEBAR
   STATUS ON
   COLOR 255 255 255
   OUTLINECOLOR 0 0 0
   BACKGROUNDCOLOR 0 0 0
   IMAGECOLOR 255 255 255
   UNITS KILOMETERS
   INTERVALS 3
   SIZE 150 5
   STYLE 0
   POSITION LL
   LABEL
     TYPE BITMAP
     SIZE SMALL
     OFFSET 0 0
     BUFFER 0
     MINDISTANCE -1
     MINFEATURESIZE -1
     COLOR 0 0 0
     PARTIALS TRUE
     FORCE FALSE
   END
 END
 OUTPUTFORMAT
   NAME "png"
   MIMETYPE "image/png"
   DRIVER "GD/PNG"
   EXTENSION "png"
   IMAGEMODE PC256
   TRANSPARENT FALSE
 END
 LAYER
   NAME "Orissa"
   STATUS ON
   DATA "D:/ms4w/apps/maplab-2.2/tutorial/data/Orissa BLK00"
   TYPE POLYGON
   UNITS METERS
   SIZEUNITS PIXELS
   TOLERANCE 0
   TOLERANCEUNITS PIXELS
   OFFSITE -1 -1 -1
   CLASS
     NAME "District"
   END
 END
END

This time i'm not getting any error but the map is not viewable.

Kindly help me.

Regards,
Bimal


On 6/22/05, Bimal Achary <bimal.achary at gmail.com> wrote:
> Dear Friends,
> 
>              I have a Map file whih is having a layer called
> "Puri".When i'm trying to open the map in the MapBrowser it gives
> following messages.How to correct it?
> 
> Warning: [MapServer Error]: getSymbol(): Parsing error near
> (INVERTED):(line 36) in
> D:\ms4w\apps\maplab-2.2\htdocs\common\wrapper\map_session.php on line
> 215
> 
> Warning: Failed to open map file D:/ms4w/tmp/1119443553-4194.map in
> D:\ms4w\apps\maplab-2.2\htdocs\common\wrapper\map_session.php on line
> 215
> 
> Fatal error: Call to a member function on a non-object in
> D:\ms4w\apps\maplab-2.2\htdocs\mapbrowser\legend.php on line 85
> 
> Thanks in advance for any suggestions.
> 
> 
> Regards,
> Bimal
> GIS Consultant.
>



More information about the Maplab-users mailing list