16 lines
515 B
XML
16 lines
515 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!DOCTYPE Map[
|
|
<!ENTITY db_name "gis">
|
|
<!ENTITY db_host "/no/socket/here">
|
|
]>
|
|
<Map background-color="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>
|