    MAP
      NAME        "mapserver_tutorial_wms_server"
      IMAGETYPE   PNG
      EXTENT      139.72520 35.67139 139.78845 35.70731
      SIZE        550 450

      IMAGECOLOR  255 255 255
      SHAPEPATH   "../data"

      FONTSET     ../fonts/fonts.txt

      UNITS dd

      WEB
        TEMPLATE  'example_template.html'
        IMAGEPATH "@osgeo4w@/tmp/ms_tmp/"
        IMAGEURL "/ms_tmp/"
        MINSCALEDENOM  1000
        MAXSCALEDENOM  70000
        METADATA
          "wms_title"          "MapServer Tutorial WMS Server"
          "wms_onlineresource" "http://127.0.0.1/cgi-bin/mapserv.exe?MAP=@osgeo4w@/apps/mapserver-tutorial/example12.map"
          "wms_srs"            "EPSG:4301 EPSG:4269 EPSG:4326"
          "wms_abstract"      "This demonstration server shows how to setup a MapServer .map file to serve data through the WMS standard."
        END
      END

      PROJECTION
        "init=epsg:4301"
      END

      LAYER
        NAME "roads"
        METADATA
          "wms_title"    "Roads"
        END
        DATA dourokukan
        STATUS ON
        TYPE LINE
        MAXSCALEDENOM 50000
        CLASS
          NAME "roads"
          STYLE
            COLOR 187 187 127
          END
        END
        PROJECTION
          "init=epsg:4301"
        END
      END

      LAYER
        NAME "administrative"
        METADATA
          "wms_title"    "Administrative"
        END
        DATA gyouseikai
        STATUS ON
        TYPE LINE
        CLASS
          NAME "Administrative"
          STYLE
            COLOR 227 127 227
          END
        END
        PROJECTION
          "init=epsg:4301"
        END
      END

      LAYER
        NAME "rail"
        METADATA
          "wms_title"    "Rail"
        END
        DATA tetsudokukan
        STATUS ON
        TYPE LINE
        CLASS
          NAME "Rail"
          STYLE
            COLOR 128 128 128
          END
        END
        PROJECTION
          "init=epsg:4301"
        END
      END

      LAYER
        NAME "rivers"
        METADATA
          "wms_title"    "Rivers"
        END
        DATA kasenkukan
        STATUS ON
        TYPE LINE
        CLASS
          NAME "Rivers"
          STYLE
            COLOR 0 255 255
          END
        END
        PROJECTION
          "init=epsg:4301"
        END
      END

      LAYER
        NAME "water"
        METADATA
        "wms_title"    "Water"
        END
        DATA suiikikai
        STATUS ON
        TYPE LINE
        CLASS
          NAME "Water"
          STYLE
            COLOR 0 0 255
          END
        END
        PROJECTION
          "init=epsg:4301"
        END
      END

      LAYER
        NAME "places"
        METADATA
        "wms_title"    "Place name"
        END
        DATA chimei
        STATUS ON
        TYPE POINT
        LABELITEM "NAMAE"
        CLASS
          NAME "Places"
          STYLE
            COLOR 10 100 100
          END
          LABEL
            TYPE TRUETYPE
            FONT pgothic
            COLOR 220 20 20
            SIZE 7
            POSITION CL
            PARTIALS FALSE
            BUFFER 5
            ENCODING "SHIFT_JIS"
          END
        END
        PROJECTION
          "init=epsg:4301"
        END
      END

    END

- –ß‚é (back) -