Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MAP
- EXTENT -10935437.00 -2950754.00 12888108.00 14825919.00
- UNITS meters
- #EXTENT -15 30 40 70
- #UNITS dd
- SIZE 600 500
- SHAPEPATH "../../../pmapper_demodata"
- SYMBOLSET "../common/symbols/symbols-pmapper.sym"
- FONTSET "../common/fonts/msfontset.txt"
- RESOLUTION 96
- IMAGETYPE png
- INTERLACE OFF
- #CONFIG "PROJ_LIB" "C:/proj/nad/"
- PROJECTION
- # ETRS-LAEA
- #"init=epsg:3035"
- #"+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs"
- #"+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs"
- "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs"
- END
- #
- # Start of web interface definition
- #
- WEB
- TEMPLATE "map.html"
- IMAGEPATH "C:/ms4w/tmp/ms_tmp/"
- IMAGEURL "/ms_tmp/"
- METADATA
- #"MAPFILE_ENCODING" "ISO-8859-1"
- #"ows_title" "WMS Demo Server"
- #"ows_onlineresource" "http://wms.yourserver.org?owskey=test&"
- #"ows_srs" "EPSG:3035 EPSG:4326"
- END # Metadata
- END # Web
- #
- # Start of Reference map definition
- #
- REFERENCE
- EXTENT -10935437.00 -2950754.00 12888108.00 14825919.00
- IMAGE "../../images/reference.png"
- SIZE 199 149
- COLOR -1 -1 -1
- OUTLINECOLOR 255 0 0
- END # Reference
- #
- # Start of legend object
- #
- LEGEND
- STATUS OFF
- IMAGECOLOR 255 255 255
- # OUTLINECOLOR 0 0 0
- POSITION ll
- KEYSIZE 18 12
- KEYSPACING 10 5
- TEMPLATE "void"
- LABEL
- TYPE TRUETYPE
- FONT "FreeSans"
- SIZE small
- POSITION AUTO
- COLOR 0 0 89
- OUTLINECOLOR 255 255 255
- ANTIALIAS TRUE
- END
- END
- #
- # Start of ScaleBar definition
- #
- SCALEBAR
- STATUS off
- TRANSPARENT off
- INTERVALS 4
- SIZE 200 3
- UNITS kilometers
- COLOR 250 250 250
- OUTLINECOLOR 0 0 0
- BACKGROUNDCOLOR 100 100 100
- STYLE 0
- POSTLABELCACHE true
- LABEL
- COLOR 0 0 90
- #OUTLINECOLOR 200 200 200
- SIZE small
- END # Label
- END # Reference
- # SYMBOLS USED IN PMAPPER
- # - 'circle' always necessary (used e.g. for highlight)
- # - 'square' used in currecnt map file
- # Symbols can also be defined via tag SYMBOLSET (see above)
- Symbol
- Name 'circle'
- Type ELLIPSE
- Filled TRUE
- Points
- 1 1
- END
- END
- Symbol
- Name 'square'
- Type VECTOR
- Filled TRUE
- Points
- 0 1
- 0 0
- 1 0
- 1 1
- 0 1
- END
- END
- #================== START OF LAYER SECTION =====================#
- # Start of Layer PostGIS
- LAYER
- CONNECTIONTYPE postgis
- NAME "seamarks1"
- # Connect to a remote spatial database
- CONNECTION "user=postgres dbname=seamarks host=localhost password=metricos1979 port=5432"
- PROCESSING "CLOSE_CONNECTION=DEFER"
- # Get the lines from the 'geom' column of the 'roads' table
- DATA "way from planet_osm_point using srid=900913 using unique osm_id"
- STATUS ON
- TYPE POINT
- TOLERANCE 6
- TOLERANCEUNITS pixels
- CLASS
- Name 'seamarks1'
- COLOR 250 0 0
- OUTLINECOLOR 250 0 0
- SYMBOL 'square'
- SIZE 5
- END # Class
- END
- # Start of Layer PostGIS
- LAYER
- CONNECTIONTYPE postgis
- NAME "water_polygons"
- # Connect to a remote spatial database
- CONNECTION "user=postgres dbname=water_polygons host=localhost password=metricos1979 port=5432"
- PROCESSING "CLOSE_CONNECTION=DEFER"
- # Get the lines from the 'geom' column of the 'roads' table
- DATA "geom from water_polygons using srid=3857 using unique gid"
- STATUS ON
- TYPE POLYGON
- CLASS
- Name 'water_polygons'
- COLOR 184 207 231
- OUTLINECOLOR 222 193 124
- END # Class
- END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement