>Answering myself, the following seems to work:
>CREATE TABLE "contours" (gid serial PRIMARY KEY, height double precision); >SELECT AddGeometryColumn('', 'contours', 'way', '27700', 'LINESTRING', 2); Yes that should work, or just CREATE TABLE "contours" (gid serial PRIMARY KEY, height int, way GEOMETRY); 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. Nick
_______________________________________________ Talk-GB mailing list Talk-GB@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-gb