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
195225
accept rate: 0%

Be the first one to answer this question!
toggle preview

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:

×374
×310
×42
×23

question asked: 13 May '12, 19:11

question was seen: 2,152 times

last updated: 13 May '12, 19:11

powered by OSQA