]> git.openstreetmap.org Git - nominatim.git/blob - data/gb_postcode_table.sql
small typos and wording in the API docs
[nominatim.git] / data / gb_postcode_table.sql
1 -- This data contains Ordnance Survey data © Crown copyright and database right 2010. 
2 -- Code-Point Open contains Royal Mail data © Royal Mail copyright and database right 2010.
3 -- OS data may be used under the terms of the OS OpenData licence:
4 -- http://www.ordnancesurvey.co.uk/oswebsite/opendata/licence/docs/licence.pdf
5
6 SET statement_timeout = 0;
7 SET client_encoding = 'UTF8';
8 SET standard_conforming_strings = off;
9 SET check_function_bodies = false;
10 SET client_min_messages = warning;
11 SET escape_string_warning = off;
12
13 SET search_path = public, pg_catalog;
14
15 SET default_tablespace = '';
16
17 SET default_with_oids = false;
18
19 CREATE TABLE gb_postcode (
20     id integer,
21     postcode character varying(9),
22     geometry geometry,
23     CONSTRAINT enforce_dims_geometry CHECK ((st_ndims(geometry) = 2)),
24     CONSTRAINT enforce_srid_geometry CHECK ((st_srid(geometry) = 4326))
25 );
26