climateoverlays


Description

Climate overlays can be used in conjunction with OpenStreetMap in order to visualize climate data in a geographic context.

Columns

Column Type Size Nulls Auto Default Children Parents Comments
id INT 10 null

Primary id for this table. This uniquely identifies the row.

climate_id INT 10 null
climates.id climateoverlays_ibfk_1C

Foreign key to climates (climates.id).

path VARCHAR 255 null

This is the path for holding images which can be used as overlays for the Google Maps representation in Germinate. The path is relative.

bottom_left_longitude DOUBLE 64,10 null

Allows the allignment of images against OpenStreetMap API.

bottom_left_latitude DOUBLE 64,10 null

Allows the allignment of images against OpenStreetMap API.

top_right_longitude DOUBLE 64,10 null

Allows the allignment of images against OpenStreetMap API.

top_right_latitude DOUBLE 64,10 null

Allows the allignment of images against OpenStreetMap API.

is_legend BIT 1 0

The legend for the image. What colours represent in the overlays. This is not required but used if present.

description VARCHAR 255 null

Describes the climate overlay if additional explanation of the overlay image is required.

created_on DATETIME 26 CURRENT_TIMESTAMP

When the record was created.

updated_on TIMESTAMP 26 CURRENT_TIMESTAMP

When the record was updated. This may be different from the created on date if subsequent changes have been made to the underlying record.

Indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
climateoverlays_climate_id Performance Asc climate_id
climateoverlays_description Performance Asc description

Relationships