NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I have a Ubuntu 11.10 VM running the Ubuntu Tile Server as described on the wiki. I've imported the Geofabrik Oxfordshire extract and the usual OSM data is rendering well. I cannot, however, get any contour lines to display.

I have followed the wiki'd instructions covering the PostGIS Approach, using the import script provided to add the following files to my database:

These files, I imagined, would correspond my existing OSM data.

To /etc/mapnik-osm-data/osm.xml I have added the line:

&layer-contours;

To /etc/mapnik-osm-data/inc/layers.xml.inc I have added the line:

!ENTITY layer-contours SYSTEM "layer-contours.xml.inc

(note, I've removed some tags as the formatting was making my line disappear. This line is formatted the same as the others)

The file /etc/mapnik-osm-data/inc/layer-contours.xml.inc is as pasted here

I restarted renderd and got the same permissions error as described here. Since granting the gis user select on geometry_columns the error has been removed, but I still cannot see any contours.

I have connected to the database remotely to verify that there is data in the contours table.

I've not done anything with extents here - are they required? Anything else I'm missing?

Help greatly appreciated.

Thanks, Joseph

asked 13 May '12, 19:11

IknowJoseph's gravatar image

IknowJoseph
226225
accept rate: 0%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×440
×341
×44
×25

question asked: 13 May '12, 19:11

question was seen: 3,011 times

last updated: 13 May '12, 19:11

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum