Last active
December 16, 2015 17:08
-
-
Save aaizemberg/5467803 to your computer and use it in GitHub Desktop.
mapfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# FOSS4G Conference | |
# | |
# Data Access Workshop | |
# | |
# Authors: Jeff McKenna - @mapserving | |
# Ariel Aizemberg - @aaizemberg | |
############################################################## | |
# | |
# Start of map file | |
# | |
MAP | |
NAME 'workshop-blank' | |
STATUS ON | |
SIZE 419 482 | |
# EXTENT -180 -90 180 90 # Whole world | |
EXTENT 167799.048 6886556.863 377299.048 7127556.863 | |
# UNITS DD | |
UNITS meters | |
SHAPEPATH "../data" | |
IMAGECOLOR 255 255 255 | |
FONTSET "../fonts/fonts.list" | |
# | |
# Projection definition, consult the PROJ.4 documentation for parameter discussi | |
# | |
# WGS84 / UTM ZONA 20S | |
PROJECTION | |
"init=epsg:32720" | |
END | |
# PROJECTION | |
# 'proj=utm' | |
# 'zone=20' | |
# 'south' | |
# 'datum=WGS84' | |
# 'units=m' | |
# 'no_defs' | |
# END | |
# | |
# Start of web interface definition | |
# | |
WEB | |
TEMPLATE vector_template.html | |
IMAGEPATH "/ms4w/tmp/ms_tmp/" | |
IMAGEURL "/ms_tmp/" | |
METADATA | |
"wms_title" "WMS Demo Server" ##required | |
"ows_onlineresource" "http://localhost/cgi-bin/mapserv.exe?MAP=C:/ms4w/apps/ms101/htdocs/mapfile.map" ##required | |
"ows_srs" "epsg:4326 epsg:32720" ##recommended | |
"ows_enable_request" "*" ##necessary | |
END | |
END | |
# | |
# Start of reference map | |
# | |
# | |
# Start of legend | |
# | |
LEGEND | |
KEYSIZE 18 12 | |
LABEL | |
TYPE BITMAP | |
SIZE MEDIUM | |
COLOR 0 0 89 | |
END | |
STATUS ON | |
#TEMPLATE 'html-legend.html' | |
END | |
# | |
# Start of scalebar | |
# | |
SCALEBAR | |
IMAGECOLOR 255 255 255 | |
LABEL | |
COLOR 0 0 0 | |
SIZE small | |
END | |
STYLE 1 | |
SIZE 250 4 | |
COLOR 0 0 0 | |
UNITS KILOMETERS | |
INTERVALS 5 | |
TRANSPARENT FALSE | |
STATUS TRUE | |
END | |
# | |
# Start of symbol definitions | |
# | |
SYMBOL | |
NAME 'circle' | |
TYPE ellipse | |
FILLED TRUE | |
POINTS 1 1 END | |
END | |
# | |
# Start of layer definitions | |
# | |
########## RASTER ############## | |
LAYER | |
NAME 'bm01' | |
METADATA | |
"wms_title" "bm01" | |
END | |
TYPE RASTER | |
DUMP true | |
TEMPLATE fooOnlyForWMSGetFeatureInfo | |
EXTENT 167799.048 6886556.863 377299.048 7127556.863 | |
DATA './bm01.tif' | |
METADATA | |
'ows_title' 'bm01' | |
END | |
STATUS ON | |
TRANSPARENCY 100 | |
PROJECTION | |
"init=EPSG:32720" | |
END | |
END | |
LAYER | |
NAME 'bm02' | |
METADATA | |
"wms_title" "bm02" | |
END | |
TYPE RASTER | |
DUMP true | |
TEMPLATE fooOnlyForWMSGetFeatureInfo | |
EXTENT 167799.048 6886556.863 377299.048 7127556.863 | |
DATA './bm02.tif' | |
METADATA | |
'ows_title' 'bm02' | |
END | |
STATUS ON | |
TRANSPARENCY 100 | |
PROJECTION | |
"init=EPSG:32720" | |
END | |
END | |
LAYER | |
NAME 'bm03' | |
METADATA | |
"wms_title" "bm03" | |
END | |
TYPE RASTER | |
DUMP true | |
TEMPLATE fooOnlyForWMSGetFeatureInfo | |
EXTENT 167799.048 6886556.863 377299.048 7127556.863 | |
DATA './bm03.tif' | |
METADATA | |
'ows_title' 'bm03' | |
END | |
STATUS ON | |
TRANSPARENCY 100 | |
PROJECTION | |
"init=EPSG:32720" | |
END | |
END | |
LAYER | |
NAME 'bm04' | |
METADATA | |
"wms_title" "bm04" | |
END | |
TYPE RASTER | |
DUMP true | |
TEMPLATE fooOnlyForWMSGetFeatureInfo | |
EXTENT 167799.048 6886556.863 377299.048 7127556.863 | |
DATA './bm04.tif' | |
METADATA | |
'ows_title' 'bm04' | |
END | |
STATUS ON | |
TRANSPARENCY 100 | |
PROJECTION | |
"init=EPSG:32720" | |
END | |
END | |
LAYER | |
NAME 'bm05' | |
METADATA | |
"wms_title" "bm05" | |
END | |
TYPE RASTER | |
DUMP true | |
TEMPLATE fooOnlyForWMSGetFeatureInfo | |
EXTENT 167799.048 6886556.863 377299.048 7127556.863 | |
DATA './bm05.tif' | |
METADATA | |
'ows_title' 'bm05' | |
END | |
STATUS ON | |
TRANSPARENCY 100 | |
PROJECTION | |
"init=EPSG:32720" | |
END | |
END | |
LAYER | |
NAME 'bm06' | |
METADATA | |
"wms_title" "bm06" | |
END | |
TYPE RASTER | |
DUMP true | |
TEMPLATE fooOnlyForWMSGetFeatureInfo | |
EXTENT 167799.048 6886556.863 377299.048 7127556.863 | |
DATA './bm06.tif' | |
METADATA | |
'ows_title' 'bm06' | |
END | |
STATUS ON | |
TRANSPARENCY 100 | |
PROJECTION | |
"init=EPSG:32720" | |
END | |
END | |
LAYER | |
NAME 'bm07' | |
METADATA | |
"wms_title" "bm07" | |
END | |
TYPE RASTER | |
DUMP true | |
TEMPLATE fooOnlyForWMSGetFeatureInfo | |
EXTENT 167799.048 6886556.863 377299.048 7127556.863 | |
DATA './bm07.tif' | |
METADATA | |
'ows_title' 'bm07' | |
END | |
STATUS ON | |
TRANSPARENCY 100 | |
PROJECTION | |
"init=EPSG:32720" | |
END | |
END | |
LAYER | |
NAME 'bm08' | |
METADATA | |
"wms_title" "bm08" | |
END | |
TYPE RASTER | |
DUMP true | |
TEMPLATE fooOnlyForWMSGetFeatureInfo | |
EXTENT 167799.048 6886556.863 377299.048 7127556.863 | |
DATA './bm08.tif' | |
METADATA | |
'ows_title' 'bm08' | |
END | |
STATUS ON | |
TRANSPARENCY 100 | |
PROJECTION | |
"init=EPSG:32720" | |
END | |
END | |
LAYER | |
NAME 'bm09' | |
METADATA | |
"wms_title" "bm09" | |
END | |
TYPE RASTER | |
DUMP true | |
TEMPLATE fooOnlyForWMSGetFeatureInfo | |
EXTENT 167799.048 6886556.863 377299.048 7127556.863 | |
DATA './bm09.tif' | |
METADATA | |
'ows_title' 'bm09' | |
END | |
STATUS ON | |
TRANSPARENCY 100 | |
PROJECTION | |
"init=EPSG:32720" | |
END | |
END | |
LAYER | |
NAME 'bm10' | |
METADATA | |
"wms_title" "bm10" | |
END | |
TYPE RASTER | |
DUMP true | |
TEMPLATE fooOnlyForWMSGetFeatureInfo | |
EXTENT 167799.048 6886556.863 377299.048 7127556.863 | |
DATA './bm10.tif' | |
METADATA | |
'ows_title' 'bm10' | |
END | |
STATUS ON | |
TRANSPARENCY 100 | |
PROJECTION | |
"init=EPSG:32720" | |
END | |
END | |
LAYER | |
NAME 'bm11' | |
METADATA | |
"wms_title" "bm11" | |
END | |
TYPE RASTER | |
DUMP true | |
TEMPLATE fooOnlyForWMSGetFeatureInfo | |
EXTENT 167799.048 6886556.863 377299.048 7127556.863 | |
DATA './bm11.tif' | |
METADATA | |
'ows_title' 'bm11' | |
END | |
STATUS ON | |
TRANSPARENCY 100 | |
PROJECTION | |
"init=EPSG:32720" | |
END | |
END | |
LAYER | |
NAME 'bm12' | |
METADATA | |
"wms_title" "bm12" | |
END | |
TYPE RASTER | |
DUMP true | |
TEMPLATE fooOnlyForWMSGetFeatureInfo | |
EXTENT 167799.048 6886556.863 377299.048 7127556.863 | |
DATA './bm12.tif' | |
METADATA | |
'ows_title' 'bm12' | |
END | |
STATUS ON | |
TRANSPARENCY 100 | |
PROJECTION | |
"init=EPSG:32720" | |
END | |
END | |
LAYER | |
NAME 'deptos' | |
TYPE POLYGON | |
DUMP true | |
TEMPLATE fooOnlyForWMSGetFeatureInfo | |
EXTENT 3329137.544355 6870653.103235 3805144.678029 7145717.531514 | |
DATA './deptos.shp' | |
METADATA | |
"ows_title" "deptos" | |
"gml_include_items" "all" | |
END | |
STATUS ON | |
TRANSPARENCY 100 | |
PROJECTION | |
'proj=tmerc' | |
'lat_0=-90' | |
'lon_0=-66' | |
'k=1' | |
'x_0=3500000' | |
'y_0=0' | |
'ellps=GRS80' | |
'towgs84=0,0,0,0,0,0,0' | |
'units=m' | |
'no_defs' | |
END | |
CLASS | |
NAME 'deptos' | |
STYLE | |
WIDTH 0.91 | |
OUTLINECOLOR 255 255 127 | |
END | |
END | |
END | |
END # Map File |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment