[Talk-GB] LandForm Panorama + VectorMap District + OSM Footpaths : Method

Nick Whitelegg Nick.Whitelegg at solent.ac.uk
Sat Mar 19 10:46:21 GMT 2011

>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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-gb/attachments/20110319/ca93a388/attachment.html>

More information about the Talk-GB mailing list