# # Start of map file # # $Id: ms_ogc_cite_wfs110.map,v 1.1 2009/12/02 19:14:38 nsavard Exp $ # MAP NAME OGC_CITE STATUS ON SIZE 600 400 EXTENT -25000000 -25000000 25000000 25000000 UNITS METERS SHAPEPATH "../data/data-wfs-1.1.0" IMAGECOLOR 255 255 255 FONTSET ../etc/fonts.txt SYMBOLSET ../etc/symbols.sym CONFIG "MS_ERRORFILE" "/tmp/ms.log" DEBUG 5 # # Start of web interface definition # WEB # On Windows systems, /tmp and /tmp/ms_tmp/ should be created at the root # of the drive where the .MAP file resides. # IMAGEPATH "/home/nsavard/sandboxes/fgs-mstrunk/tmp/ms_tmp/" IMAGEURL "/ms_tmp/" # LOG "/tmp/gmap.log" METADATA "WFS_TITLE" "cite:OGC_CITE WFS 1.1.0 Server" "WFS_ONLINERESOURCE" "http://something:8500/cgi-bin/mswfs110_ogc_cite?" "OWS_SCHEMAS_LOCATION" "http://schemas.opengis.net" "WFS_ACCESSCONTRAINTS" "none" "WFS_FEES" "none" "wfs_namespace_prefix" "sf" "wfs_namespace_uri" "http://cite.opengeospatial.org/gmlsf" "wfs_feature_collection" "SimpleFeatureCollection" "ows_updateSequence" "123" "ows_abstract" "Sample OWS for MapServer OGC Web Services Workshop. Enjoy!" "ows_keywordlist" "mapserver,ogc,workshop" "ows_service_onlineresource" "http://something:8500/cgi-bin/mswfs110_ogc_cite?" "ows_accessconstraints" "none" "ows_contactperson" "MapServer Developers" "ows_contactorganization" "MapServer QA" "ows_contactposition" "Senior Systems Scientist" "ows_addresstype" "postal" "ows_address" "867 Lakeshore Road" "ows_city" "Burlington" "ows_stateorprovince" "Ontario" "ows_postcode" "L7R-4A6" "ows_country" "Canada" "ows_contactvoicetelephone" "+01-905-336-4409" "ows_contactfacsimiletelephone" "+01-905-336-4499" "ows_contactelectronicmailaddress" "http://trac.osgeo.org/mapserver/wiki/MapServerOGCCITECompliance" "ows_srs" "EPSG:4326" #"ows_srs" "urn:ogc:def:EPSG:4326" "ows_hoursofservice" "8-17" "ows_contactinstructions" "Rules10" "ows_role" "Engineer" END END PROJECTION "init=epsg:4326" END QUERYMAP SIZE 200 200 STATUS ON STYLE HILITE COLOR 255 0 0 END # # Start of layer definitions # LAYER DEBUG 5 NAME "PrimitiveGeoFeature" CONNECTIONTYPE postgis CONNECTION "dbname=cite-wfs110 user=yourusername host=localhost port=5432 password=yourpassword" DATA "the_geom from primitivegeofeature USING UNIQUE id USING SRID=4326" STATUS ON TYPE POINT DUMP TRUE CLASS style color 255 0 0 end END METADATA "WFS_TITLE" "PrimitiveGeoFeature" "WFS_ABSTRACT" "PrimitiveGeoFeature layer." "WFS_SRS" "EPSG:4326" #"WFS_SRS" "urn:ogc:def:EPSG:4326" "gml_include_items" "intProperty,measurand,decimalProperty" #"gml_include_items" "all" "wfs_featureid" "id" "gml_geometries" "none" END END LAYER DEBUG 5 NAME "AggregateGeoFeature" CONNECTIONTYPE postgis CONNECTION "dbname=cite-wfs110 user=yourusername host=localhost port=5432 password=yourpassword" #DATA "surfaceproperty from primitivegeofeature USING UNIQUE id USING SRID=4326" DATA "the_geom from aggregategeofeature USING UNIQUE id USING SRID=4326" STATUS ON TYPE POINT DUMP TRUE CLASS style color 255 0 0 end END METADATA "WFS_TITLE" "AggregateGeoFeature" "WFS_ABSTRACT" "AggregateGeoFeature layer." "WFS_SRS" "EPSG:4326" #"WFS_SRS" "urn:ogc:def:EPSG:4326" "gml_include_items" "doubleProperty,strProperty,featureCode" "wfs_featureid" "id" "gml_geometries" "none" END END LAYER DEBUG 5 NAME "EntitéGénérique" CONNECTIONTYPE postgis CONNECTION "dbname=cite-wfs110 user=yourusername host=localhost port=5432 password=yourpassword" #DATA "surfaceproperty from entitegenerique USING UNIQUE id USING SRID=4326" DATA "the_geom from entitegenerique USING UNIQUE id USING SRID=4326" STATUS ON TYPE LINE DUMP TRUE CLASS style color 255 0 0 end END METADATA "WFS_TITLE" "EntitéGénérique" "WFS_ABSTRACT" "EntiteGenerique layer." "WFS_SRS" "EPSG:4326" #"WFS_SRS" "urn:ogc:def:EPSG:4326" "gml_include_items" "boolProperty,str4Property" "wfs_featureid" "id" "gml_geometries" "attribut.Geometrie" "gml_attribut.Geometrie_type" "line" END END END # Map File