Document toolboxDocument toolbox

sp920_region_polygon

This table holds all the polygon definitions used in ServicePlanner;  this table is introduced due to the migration of "Pitney Bows Maps" to "HERE maps".



Table Definition

Field
Type
Default
Nullable
polygon_seqnumber(10)
(error)
region_nonumber(9)
(tick)
release_idvarchar2(10)
(error)
labelvarchar2(255)
(error)
region_refvarchar2(255)
(error)
polygonclob
(error)
geopolygonsdo_geometry
(tick)

Keys

primary key (polygon_seq)

foreign key (region_no)  References sp057_regions (region_no)


Column Descriptions

FieldDescription
polygon_seq

polygon_seq is used as the primary key and increments by 1 each insertion.

region_no

region_no is a foreign key that makes reference to sp057_regions

release_idA combination of COUNTRY & YEAR (for example "UK_2018"). In order to differentiate future versions of polygons layer.
labelThe sector postcode.
region_refThe region reference which is used to retrieve the polygon for one specific region.
polygonA collection of latitude and longitude which is the perimeter of the polygon.
geopolygonA Geometry type column in which an index Polygon_IDX is generated