Hi all helpers, it makes me confuse when i used http://localhost/cgi-bin/mapserv.exe?map=i:/Spatial/mapfile/kec_lbl.map&layers=all&mode=map
it appear the map (with absolute path) then, when i change folder (Chameleon framework) and change mapfile withRelative Path and checking : http://localhost/cgi-bin/mapserv.exe?map=i:/ms4w/apps/appweb/map/kec_lbl.map&layers=all&mode=map APPEAR error: msDrawMap(): Image handling error. Failed to draw layer named 'Kecamatan'. msSHPOpenFile(): Unable to access file. (i:/ms4w/apps/appweb/map/Kecamatan) msSHPOpenFile(): Unable to access file. (i:/ms4w/apps/appweb/map/../shp/Kecamatan) Here the STRUCTURE of FOLDER: i: -ms4w -apps -htdocs(Template .html, .phtml) -appweb -map (all map stored here) -shp (all shp stored here) -etc(fonts) MAPFILE: MAP NAME Kecamatan IMAGETYPE PNG EXTENT -123.950500 -183.224900 299.457000 145.260600 STATUS ON UNITS DD SIZE 546 388 IMAGECOLOR 255 255 255 SHAPEPATH "../shp" #??? Is it TRUE?? FONTSET "../etc/font.dat" WEB IMAGEPATH "./temp/" IMAGEURL "./temp/" END #PENDEFINISIAN LAYER LAYER NAME Kecamatan DATA Kecamatan STATUS DEFAULT TYPE POLYGON CLASS NAME "Kecamatan" STYLE COLOR 179 243 251 OUTLINECOLOR 0 0 0 END #STYLE END #CLASS END # DEFINISI LAYER LAYER NAME "Anotasi" DATA Kecamatan STATUS ON TYPE annotation # asalnya tipe poligon LABELITEM "kecamatan" CLASS LABEL COLOR 0 0 0 TYPE Truetype FONT Arial SIZE 11 MINSIZE 8 ANGLE Auto POSITION UC ANTIALIAS True END # LABEL END #CLASS END #LAYER END #MAP Thanks alot Helpers, -dbee
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users