<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><br><br>><font size="2" face="Default Monospace,Courier New,Courier,monospace">Answering myself, the following seems to work:<br><br>>CREATE TABLE "contours" (gid serial PRIMARY KEY, height double precision);<br>>SELECT AddGeometryColumn('', 'contours', 'way', '27700', 'LINESTRING', 2);<br><br>Yes that should work, or just<br></font><font size="2" face="Default Monospace,Courier New,Courier,monospace">CREATE TABLE "contours" (gid serial PRIMARY KEY, height int, way GEOMETRY);</font><br><br>TBH there's no need for it to be double or even float. It could just be an int, same goes for the C++ program as the heights are always integers.<br><font size="2" face="Default Monospace,Courier New,Courier,monospace"><br>Nick<br></font><div></div></font>