WFS Servers Mapfile

 This is WFS mapfile to put the data on GIS Client Software. e.g : MapServer
NAME DEMO
STATUS ON
SIZE 400 300
SYMBOLSET ../etc/symbols.sym
## ESPG:42304 extents:
EXTENT -2200000 -712631 3072800 3840000
## EPSG:42101 extents
#EXTENT -2200000 -2000000 3072800 2000000
UNITS METERS
SHAPEPATH “../data”
IMAGECOLOR 255 255 255
FONTSET ../etc/fonts.txt

#
# 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
“wfs_title” “GMap WFS Demo Server”
“wfs_srs” “EPSG:42304 EPSG:42101 EPSG:4269 EPSG:4326″ ## Recommended
END
END

PROJECTION
“init=epsg:42304″
END

#
# Start of reference map
#
REFERENCE
IMAGE images/keymap.png
#EPSG:42304 extents
EXTENT -2200000 -712631 3072800 3840000
#EPSG:42101 extents
# EXTENT -2200000 -2000000 3072800 2000000
STATUS ON
COLOR -1 -1 -1
OUTLINECOLOR 255 0 0
SIZE 120 90
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 200 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

#
# Start of layer definitions
#

LAYER
NAME park
METADATA
“wfs_title” “park”
“gml_featureid” “PARK_ID” ## REQUIRED
“gml_include_items” “all” ## Optional (serves all attributes for layer)
END
TYPE POLYGON
STATUS OFF
DATA park
PROJECTION
“init=epsg:42304″
END
## DUMP TRUE required for layer to be usable as WFS
DUMP TRUE
CLASS
NAME “park”
COLOR 200 255 0
OUTLINECOLOR 120 120 120
TEMPLATE “ttt_query.html”
END
TOLERANCE 5
END # Layer

LAYER
NAME popplace
METADATA
“wfs_title” “Cities”
“gml_featureid” “POPPLACE_I” ## REQUIRED
“gml_include_items” “all” ## Optional (serves all attributes for layer)
END
TYPE POINT
STATUS ON
DATA popplace
PROJECTION
“init=epsg:42304″
END
## DUMP TRUE required for layer to be usable as WFS
DUMP TRUE

CLASSITEM “Capital”
CLASS
EXPRESSION “1″
TEMPLATE “ttt_query.html”
SYMBOL 2
SIZE 8

NAME “Cities”
LABEL
COLOR 255 0 0
FONT fritqat-italic
TYPE truetype
SIZE 8
POSITION AUTO
PARTIALS FALSE
OUTLINECOLOR 255 255 255
END
COLOR 0 0 0
END
CLASS
EXPRESSION /2|3/
TEMPLATE “ttt_query.html”
SYMBOL 7
SIZE 6
NAME “Cities”
LABEL
COLOR 0 0 0
FONT fritqat
TYPE truetype
SIZE 8
POSITION AUTO
PARTIALS FALSE
OUTLINECOLOR 255 255 255
END
COLOR 0 0 0
END
TOLERANCE 5
END # Layer

END # Map File

Share on Facebook
This entry was posted in MapServer. Bookmark the permalink.

2 Responses to WFS Servers Mapfile

  1. hhnkknnab says:

    Bests busic website i found)
    free ringtones sprint phone
    praise party

  2. kkspwynnvr says:

    Best link for best site video and music

    header and base images
    john shuck

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>