17 lines
506 B
XML
17 lines
506 B
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<!DOCTYPE Map[
|
||
|
<!ENTITY db_name "gis">
|
||
|
<!ENTITY db_host "/no/socket/here">
|
||
|
]>
|
||
|
<Map bgcolor="red">
|
||
|
<Layer name="some_layer" status="on" srs="+proj=merc +datum=WGS84 +k=1.0 +units=m +over +no_defs">
|
||
|
<Datasource>
|
||
|
<Parameter name="type">postgis</Parameter>
|
||
|
<Parameter name="host">&db_host;</Parameter>
|
||
|
<Parameter name="password">SECRET</Parameter>
|
||
|
<Parameter name="dbname">&db_name;</Parameter>
|
||
|
</Datasource>
|
||
|
</Layer>
|
||
|
|
||
|
</Map>
|