วันอาทิตย์ที่ 22 กรกฎาคม พ.ศ. 2555

MapServer CGI view

http://mapserver.org/tutorial/example1-1.html

URL :
http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/gis/mf/cgi.map&layer=INDEX50000&mode=map

Mapfile : cgi.map


MAP
     IMAGETYPE PNG
     EXTENT 314979.951833 608304.741335 1228819.576993 2267530.270792
     SIZE 400 500
     SHAPEPATH "/ms4w/apps/gis/shp/index"
     IMAGECOLOR 240 240 240
     LAYER
          NAME "INDEX50000"
          DATA "index50k"
          STATUS ON
          TYPE POLYGON
               CLASS
                    NAME ""
                    OUTLINECOLOR 60 60 60
                    COLOR 255 255 0
                    SYMBOL 0
               END
     END
END


ไม่มีความคิดเห็น:

แสดงความคิดเห็น