Database Reference
In-Depth Information
'Mapserver sample map'
'ows_abstract' 'OWS
services about population per country map'
'wms_onlineresource'
'http://localhost/cgi-bin/mapserv?map=/
var/www/data/countries.map&'
'ows_srs'
'EPSG:4326 EPSG:900913 EPSG:3857'
'wms_enable_request'
'GetCapabilities, GetMap, GetFeatureInfo'
'wms_feature_info_mime_type' 'text/
html'
END
END
# Start of layers definition
LAYER # Countries polygon layer begins
here
NAME countries
CONNECTIONTYPE POSTGIS
CONNECTION 'host=localhost
dbname=postgis_cookbook user=me
password=mypassword
port=5432'DATA 'the_geom from
chp09.countries'
TEMPLATE 'template.html'
METADATA
'ows_title' 'countries'
'ows_abstract' 'OWS service about
population per country map in 2005'
'gml_include_items' 'all'
END
STATUS ON
TYPE POLYGON
# layer projection definition
PROJECTION
'init=epsg:4326'
Search WWH ::




Custom Search