Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions mapnik/opentopomap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,17 @@
&postgis-settings;
</Datasource>
</Layer>

<Layer name="contours">
<StyleName>contours</StyleName>
<Datasource>
<!-- If you imported the contour lines as suggested in the HOWTO_DEM, use following:
<Parameter name="table">(SELECT way,ele FROM planet_osm_line) AS contours </Parameter>-->
<Parameter name="table">(SELECT way,ele FROM contours) AS contours </Parameter>
<Parameter name="dbname">contours</Parameter>
&postgis-settings;
</Datasource>
</Layer>

&basemap-sea;

Expand Down Expand Up @@ -303,17 +314,6 @@
&postgis-settings;
</Datasource>
</Layer>

<Layer name="contours">
<StyleName>contours</StyleName>
<Datasource>
<!-- If you imported the contour lines as suggested in the HOWTO_DEM, use following:
<Parameter name="table">(SELECT way,ele FROM planet_osm_line) AS contours </Parameter>-->
<Parameter name="table">(SELECT way,ele FROM contours) AS contours </Parameter>
<Parameter name="dbname">contours</Parameter>
&postgis-settings;
</Datasource>
</Layer>

<Layer name="borders-lowzoom">
<StyleName>borders-lowzoom</StyleName>
Expand Down