<DIV>Dear Zak and lists,</DIV>
<DIV> </DIV>
<DIV>My MSW4 with maplab works fine with tutorial mapfile. There is no projection setting in tutorial mapfile.</DIV>
<DIV> </DIV>
<DIV>When I worked on my own data, whatever projection I seted, it give the following error message. If I delete the projection definition in my mapfile, the maplab works and no crash , but no image at all. </DIV>
<DIV> </DIV>
<DIV>I am using data from mapinfo(.tab) and longitude and latitude projection.</DIV>
<DIV> </DIV>
<DIV>Following is my error message and mapfile.</DIV>
<DIV> </DIV>
<DIV>Thank you for you help!!</DIV>
<DIV> </DIV>
<DIV>Charlie</DIV>
<DIV> </DIV>
<DIV>Warning: [MapServer Error]: msProcessProjection(): major axis or radius = 0 or not given in C:\ms4w\apps\maplab-2.1\htdocs\common\wrapper\map_session.php on line 215</DIV>
<DIV>Warning: Failed to open map file /ms4w/tmp//40e1c2b759cf3.map in C:\ms4w\apps\maplab-2.1\htdocs\common\wrapper\map_session.php on line 215</DIV>
<DIV>Warning: [MapServer Error]: msProcessProjection(): major axis or radius = 0 or not given in C:\ms4w\apps\maplab-2.1\htdocs\common\wrapper\map_session.php on line 215</DIV>
<DIV>Warning: [MapServer Error]: msProcessProjection(): major axis or radius = 0 or not given in C:\ms4w\apps\maplab-2.1\htdocs\common\wrapper\map_session.php on line 215</DIV>
<DIV>Warning: Failed to open map file /ms4w/tmp//40e1c2b759cf3.map in C:\ms4w\apps\maplab-2.1\htdocs\common\wrapper\map_session.php on line 215</DIV>
<DIV>Fatal error: Call to a member function on a non-object in C:\ms4w\apps\maplab-2.1\htdocs\mapedit\preview.php on line 304</DIV>
<DIV><BR>MAP<BR> NAME "NAL_GIS_DEMO"<BR> STATUS ON<BR> EXTENT -120.10 48.95 -109.91 60.03 <BR> SIZE 400 600 <BR> SYMBOLSET "./etc/symbols.sym"<BR> FONTSET "./etc/fonts.txt"<BR> IMAGETYPE PNG<BR> IMAGECOLOR 255 255 255<BR> UNITS KILOMETERS<BR> <BR> <BR> WEB<BR> MINSCALE 2e+06<BR> MAXSCALE 5e+07<BR> IMAGEPATH "/ms4w/tmp/ms_tmp/"<BR> IMAGEURL "/ms_tmp/"<BR> END<BR> <BR> <BR> PROJECTION<BR> "proj=latlong"<BR> END</DIV>
<DIV><BR> REFERENCE<BR> STATUS ON<BR> IMAGE "images/overview_nal.png"<BR> SIZE 75 131 <BR> EXTENT -120.10 48.95 -109.91 60.03 <BR> COLOR -1 -1 -1<BR> OUTLINECOLOR 255 0 0<BR> MINBOXSIZE 3<BR> MAXBOXSIZE 0<BR> MARKER 0<BR> MARKERSIZE 0<BR> END<BR> <BR> <BR> QUERYMAP<BR> STATUS OFF<BR> SIZE -1 -1 <BR> COLOR 255 0 0<BR> STYLE HILITE<BR> END<BR> <BR> <BR> LEGEND<BR> STATUS ON<BR> IMAGECOLOR 255 255 255<BR> POSITION LL<BR> KEYSIZE 18 12 <BR> KEYSPACING 5 5 <BR> TEMPLATE "ttt"<BR> END<BR> <BR> <BR> SCALEBAR<BR> STATUS ON<BR>
COLOR 255 255 255<BR> OUTLINECOLOR 0 0 0<BR> BACKGROUNDCOLOR 0 0 0<BR> IMAGECOLOR 255 255 255<BR> UNITS KILOMETERS<BR> INTERVALS 5<BR> SIZE 150 5 <BR> STYLE 0<BR> POSITION LL<BR> END<BR> <BR> <BR> OUTPUTFORMAT<BR> NAME "png"<BR> MIMETYPE "image/png"<BR> DRIVER "GD/PNG"<BR> EXTENSION "png"<BR> IMAGEMODE PC256<BR> TRANSPARENT OFF<BR> END<BR> <BR> <BR> LAYER<BR> NAME "Alberta Bnd"<BR> STATUS ON<BR> TYPE POLYGON<BR> <BR> CONNECTIONTYPE OGR<BR> CONNECTION "TAB_ FILES/AlbertaBounds.TAB"<BR> <BR>
PROJECTION<BR> "proj=latlong"<BR> END<BR> <BR> <BR> TOLERANCE 5<BR> TOLERANCEUNITS PIXELS<BR> CLASS<BR> NAME "Province_Name"<BR> color 0 255 182<BR> outlinecolor 32 32 32 <BR> <BR> END<BR> END<BR>END<BR></DIV>
<DIV> </DIV><p><br><hr size=1>Post your free ad now! <a href="http://ca.personals.yahoo.com/"><b>Yahoo! Canada Personals</b></a><br>