[Fwd: Re: [Chameleon] deploying a mapserver application on the web]

Mony me.pezoa at gmail.com
Wed Mar 1 13:53:17 EST 2006


Skipped content of type multipart/alternative-------------- next part --------------
# MapFile created with Gix Export Tool -  Wed Mar 01 13:31:15 2006
# http://gix.sourceforge.net
# View Date   : Miércoles, 01 de Marzo de 2006 13:30:22
#
MAP
  NAME 'View1'
  SIZE 550 400
  EXTENT 229183.84020509 6229357.02883017 402314.29319312 6448790.27334895
  UNITS meters
  RESOLUTION 72
  CONFIG PROJ_LIB 'c:\ms4w\proj\nad\'
  DATAPATTERN ''
  TEMPLATEPATTERN ''
  SHAPEPATH 'c:\ms4w\apps\chameleon\samples\data\base\'
  SYMBOLSET 'c:\ms4w\apps\chameleon\samples\data\base\v1.sym'
  FONTSET 'c:\ms4w\apps\chameleon\samples\data\base\v1.fnt'
  STATUS on
  IMAGECOLOR 255 255 255
  IMAGETYPE png24
  STATUS on
  DEBUG false

  WEB
    MINSCALE 0
    IMAGEPATH 'c:\ms4w\tmp\ms_tmp\'
    IMAGEURL 'c:\ms4w\ms_tmp\'
    LOG 'c:\ms4w\apps\chameleon\samples\data\base\v1.log'
    METADATA
      wms_extent                       "237053.40625000 6239331.26721739 394444.72714821 6438816.03496173"
      wms_abstract                     "envisat_labpdi ** Gix Generated MapFile"
      wms_encoding                     "ISO-8859-1"
      wms_opaque                       "1"
      #wms_accesscontraints             "none"
      wms_addresstype                  "mailing address"
      #wms_address                      ""
      #wms_city                         ""
      #wms_stateorprovince              ""
      #wms_postcode                     ""
      #wms_country                      ""
      #wms_contactelectronicmailaddress ""
      #wms_contactfacsimiletelephone    ""
      #wms_contactperson                ""
      #wms_contactorganization          ""
      #wms_contactposition              ""
      #wms_contactvoicetelephone        ""
      #wms_feature_info_mime_type       "NONE"
      #wms_fees                         "none"
      #wms_group_title                  ""
      wms_keywordlist                  "View1"
      wms_title                        "View1"
      wms_timeformat                   "YYYY-MM-DDTHH, YYYY-MM-DDTHH:MM, YYYY-MM-DD HH:MM:SS"
      wms_onlineresource               "http://envisat_labpdi/cgi-bin/mapserv.exe?map=v1.map&"
      wms_srs                          "epsg:37219"
    END #METADATA
  END  #WEB
PROJECTION
  "init=epsg:37219"
END

  REFERENCE
    IMAGE 'c:\ms4w\apps\chameleon\samples\data\base\v1.jpg'
    EXTENT 229183.84020509 6229357.02883017 402314.29319312 6448790.27334895
    STATUS on
    COLOR -1 -1 -1
    OUTLINECOLOR 255 255 0
    SIZE 110 120
    #MARKER 
    #MARKERSIZE 
    #MINBOXSIZE 
    #MAXBOXSIZE 
  END  #REFERENCE

  LEGEND
    IMAGECOLOR 255 255 255
    OUTLINECOLOR -1 -1 -1
    KEYSIZE 18 12
    KEYSPACING 2 2
    POSTLABELCACHE true
    POSITION ll
    LABEL
      ANTIALIAS true
      BACKGROUNDCOLOR 255 255 255
      BACKGROUNDSHADOWCOLOR -1 -1 -1
      BACKGROUNDSHADOWSIZE 2 2
      OUTLINECOLOR -1 -1 -1
      COLOR 0 0 0
      FONT 'Arial-Normal'
      SIZE 10
      TYPE truetype
    END
    STATUS on
  END  #LEGEND

  SCALEBAR
    BACKGROUNDCOLOR 255 255 255
    COLOR 0 0 0
    IMAGECOLOR 255 255 255
    INTERVALS 4
    LABEL
      COLOR 0 0 0
      SIZE tiny
      TYPE bitmap
      ANTIALIAS true
    END
    OUTLINECOLOR 0 0 0
    POSITION lr
    POSTLABELCACHE true
    SIZE 200 4
    STATUS on
    STYLE 0
    UNITS meters
  END   #SCALEBAR

  QUERYMAP
    STYLE hilite
    STATUS on
    COLOR 255 255 0
  END   #QUERYMAP

  LAYER  #C_agua.shp
    TRANSPARENCY 100
    NAME 'C_agua'
    METADATA
      wms_abstract         "envisat_labpdi C_agua.shp Gix Generated MapFile"
      wms_extent           "237053.40625000 6239331.26721739 394444.72714821 6438816.03496173"
      wms_keywordlist      "C_agua, envisat_labpdi, View1"
      wms_opaque           "1"
      wms_srs              "epsg:37219"
      wms_title            "C_agua"
#      wms_default          "YYYY-MM-DD HH:MM:SS"
#      wms_timeextent       ""
#      wms_timeitem         ""
    END  #METADATA
    TOLERANCE 3
    TOLERANCEUNITS pixels
    DATA 'c_agua'
    HEADER 'header.html'
    FOOTER 'footer.html'
    LABELCACHE on
#    TILEINDEX ''
#    TILEITEM  ''
    STATUS on
    DEBUG false
    TRANSFORM true
    TYPE polygon
    CLASS
      NAME 'C_agua.shp'
      TEMPLATE 'template.html'
      #RASTERFILL_STYLE_SOLID
      STYLE
        COLOR 20 164 172
        BACKGROUNDCOLOR 255 255 255
      END  #STYLE
      #OUTLINE SYMBOL
      STYLE
        OUTLINECOLOR 0 209 220
        SYMBOL 'C_agua--0--outline'
        SIZE 1
      END
    END #CLASS
PROJECTION
  "init=epsg:37219"
END

  END  #LAYER

OUTPUTFORMAT
   NAME png24
   DRIVER "GD/PNG"
   MIMETYPE "image/png"
   IMAGEMODE RGBA
   EXTENSION png
   TRANSPARENT on
END  #OUTPUTFORMAT

END  #MAP

-------------- next part --------------
#
# Start of map file
#
# Sample map file for a chameleon app.
#
NAME GORE
STATUS ON
SIZE 700 450
SYMBOLSET ../etc/symbols.sym
EXTENT 165938.87132633 6239375.46226096 408666.31250000 6455937.23678562
UNITS METERS
SHAPEPATH "../data/base"
IMAGECOLOR 167 204 245
FONTSET ../etc/fonts.txt
TRANSPARENT FALSE

#
# Start of web interface definition
#
WEB
  #MINSCALE 2000000
  #MAXSCALE 50000000
#
# On Windows systems, /tmp and /tmp/ms_tmp/ should be created at the root 
# of the drive where the .MAP file resides.
#
  IMAGEPATH "/ms4w/tmp/ms_tmp/" 
  IMAGEURL "/ms_tmp/"
#  LOG "/tmp/gmap.log"
  METADATA
  END
END

#
# Start of reference map
#
REFERENCE
   IMAGE images/keymap_gore.gif
   EXTENT 141466 6233311 433091 6461048
   STATUS ON
  COLOR -1 -1 -1
  OUTLINECOLOR 255 0 0
  SIZE 150 117      
END

#
# Start of legend
#
LEGEND
  KEYSIZE 18 12
  LABEL
    TYPE BITMAP
    SIZE MEDIUM
    COLOR 0 0 89
  END
  STATUS ON
END

#
# Start of scalebar
#
SCALEBAR
  IMAGECOLOR 255 255 255
  LABEL
    COLOR 0 0 0 
    SIZE SMALL
  END
  SIZE 150 5
  COLOR 255 255 255
  BACKGROUNDCOLOR 0 0 0
  OUTLINECOLOR 0 0 0
  UNITS kilometers
  INTERVALS 5
  STATUS ON
END


QUERYMAP
  STYLE HILITE
  COLOR 255 0 0
END

PROJECTION
   	 "init=epsg:32719"
	END

#
# Start of layer definitions
#
#################################################limites administrativos#################################
LAYER
    CONNECTION "http://localhost/cgi-bin/mapserv.exe?map=v1.map&"
    CONNECTIONTYPE WMS
      METADATA
        "wms_srs" "EPSG:37219"
        "wms_onlineresource"  "http://localhost/cgi-bin/mapserv.exe?map=v1.map&"
        "wms_name"  "c_agua"
        "wms_formatlist"  "image/png,image/gif,image/jpeg,image/wbmp"
        "wms_format"  "image/png"
        "selected"  "0"
        "wms_server_version"  "1.1.0"
        "wms_title" "c_agua"
      END
    NAME "c_agua"
    SIZEUNITS PIXELS
    STATUS ON
    TOLERANCE 0
    TOLERANCEUNITS PIXELS
    TYPE RASTER
    UNITS METERS
  END
LAYER
    CONNECTION "http://www2.dmsolutions.ca/cgi-bin/mswms_world?"
    CONNECTIONTYPE WMS
      METADATA
        "wms_srs" "EPSG:4326"
        "wms_onlineresource"  "http://www2.dmsolutions.ca/cgi-bin/mswms_world?"
        "wms_name"  "WorldRoads"
        "wms_formatlist"  "image/png,image/gif,image/jpeg,image/wbmp"
        "wms_format"  "image/png"
        "selected"  "0"
        "wms_server_version"  "1.1.0"
        "wms_title" "WorldRoads"
      END
    NAME "l3:WorldRoads"
    SIZEUNITS PIXELS
    STATUS ON
    TOLERANCE 0
    TOLERANCEUNITS PIXELS
    TYPE RASTER
    UNITS METERS
  END


END # Map File




More information about the Chameleon mailing list