<P>Hi, I am new to mapserver. </P>
<P> </P>
<P>I have a mapinfo data file(.tab) in WGS84. After using QGIS export .map file and change layer connect parameter in .map file, I successfully display map using following url. </P>
<P> </P>
<P> <A href="http://127.0.0.1:8080/cgi-bin/mapserv.exe?MAP=F:/ms4w/apps/testmap/htdocs/testmap.map&SERVICE=WMS&LAYERS=ALL&MODE=MAP">http://127.0.0.1:8080/cgi-bin/mapserv.exe?MAP=F:/ms4w/apps/testmap/htdocs/testmap.map&SERVICE=WMS&LAYERS=ALL&MODE=MAP</A></P>
<P> </P>
<P>I edit config.php in ka-map application, it can not be displayed correctly. And I convert the mapinfo .tab file into shape file, it failed too.</P>
<P> </P>
<P>It seems that ka-map uses non-earth projection . How to display WGS84 data in ka-map? Modify ka-map source code? Or some parameter setup can do?</P>
<P> </P>
<P> </P>
<P>Thanks.</P>
<P> </P>
<P> </P>
<P>Following is the .map for shapefile generated by QGIS</P>
<P> </P>
<P> </P>
<P># Map file created from QGIS project file F:/Program Files/Quantum GIS Enceladus/myproj/shandong.qgs<BR># Edit this file to customize for your map interface<BR># (Created with PyQgis MapServer Export plugin)<BR>MAP<BR> NAME "testmap"<BR> # Map image size<BR> SIZE 500 500<BR> UNITS meters</P>
<P> EXTENT -33.774149 16.403951 71.578722 97.850893<BR> FONTSET '../etc/fonts.txt'<BR> SYMBOLSET '../etc/symbols.txt'<BR> PROJECTION<BR> 'proj=longlat'<BR> 'ellps=WGS84'<BR> 'datum=WGS84'<BR> 'no_defs'<BR> END</P>
<P> # Background color for the map canvas -- change as desired<BR> IMAGECOLOR 255 255 255<BR> IMAGEQUALITY 95<BR> IMAGETYPE png</P>
<P> OUTPUTFORMAT<BR> NAME png<BR> DRIVER 'GD/PNG'<BR> MIMETYPE 'image/png'<BR> IMAGEMODE RGBA<BR> EXTENSION 'png'<BR> END<BR> # Legend<BR> LEGEND<BR> IMAGECOLOR 255 255 255<BR> STATUS ON<BR> KEYSIZE 18 12<BR> LABEL<BR> TYPE BITMAP<BR> SIZE MEDIUM<BR> COLOR 0 0 89<BR> END<BR> END</P>
<P> # Web interface definition. Only the template parameter<BR> # is required to display a map. See MapServer documentation<BR> WEB<BR> # Set IMAGEPATH to the path where MapServer should<BR> # write its output.<BR> IMAGEPATH '/tmp/'</P>
<P> # Set IMAGEURL to the url that points to IMAGEPATH<BR> # as defined in your web server configuration<BR> IMAGEURL '/tmp/'</P>
<P> # WMS server settings<BR> METADATA<BR> 'ows_title' 'testmap'<BR> 'ows_onlineresource' 'http://127.0.0.1:8080/cgi-bin/mapserv.exe?map=F:/ms4w/apps/testmap/htdocs/testmap.map'<BR> 'ows_srs' 'EPSG:4326'<BR> END</P>
<P> #Scale range at which web interface will operate<BR> # Template and header/footer settings<BR> # Only the template parameter is required to display a map. See MapServer documentation<BR> TEMPLATE 'fooOnlyForWMSGetFeatureInfo'<BR> END</P>
<P> LAYER<BR> NAME 'test'<BR> TYPE POLYGON<BR> DUMP true<BR> TEMPLATE fooOnlyForWMSGetFeatureInfo<BR> EXTENT -33.774149 16.403951 71.578722 97.850893<BR> DATA 'F:/ms4w/apps/testmap/htdocs/testmap.shp|layerid=0'<BR> METADATA<BR> 'ows_title' 'test'<BR> END<BR> STATUS ON<BR> TRANSPARENCY 100<BR> PROJECTION<BR> 'proj=longlat'<BR> 'ellps=WGS84'<BR> 'datum=WGS84'<BR> 'no_defs'<BR> END<BR> CLASS<BR> NAME 'test' <BR> STYLE<BR> SYMBOL 0 <BR> SIZE 7.0 <BR> OUTLINECOLOR 0 0 0<BR> COLOR 4 24 93<BR> END<BR> END<BR> END</P>
<P>END</P>