Strength (Category – 1, 2, 3, 4, 5) is an aggregate categorical attribute that summarizes all windspeeds and maybe other stuff
Entities
And
Attributes
And
Relationships
The “Join” is a concept from the world of Relational Databases, SQL and set theory, but the term is used generally to talk about combining data from one or more entities based on the relationship between those entities. In the land of Relational Databases a Join is the intersection between two sets (tables/entities).
Widely used even outside the world of strictly “relational” databases. Created to operate on Relational Databases to retrieve and manipulate data.
SQL is often used for data analytic purposes - to aggregate values, sort, group, etc.
SELECT watch_warning.extent, watch_warning.type
FROM hurricane, advisory, watch_warning
WHERE hurricane.name = “Ian”
AND hurricane.h_id = advisory.h_id
AND advisory.ad_id = watch_warning.ad_id
SELECT watch_warning.type, COUNT(*)
FROM hurricane, advisory, watch_warning
WHERE hurricane.name = “Ian”
AND hurricane.h_id = advisory.h_id
AND advisory.ad_id = watch_warning.ad_id
GROUP BY watch_warning.type
TROP STORM WATCH, 2
HURRICANE WATCH, 5
TROP STORM WARNING, 1
HURRICANE WARNING, 10
Analogous to a relational Join, but uses spatial attributes to accomplish the Join. GIS facilitates this kind of Join.
SELECT watch_warning.type, COUNT(*)
FROM hurricane, advisory, watch_warning
WHERE hurricane.name = “Ian”
AND hurricane.h_id = advisory.h_id
AND advisory.ad_id = watch_warning.ad_id
AND st_within(city.postion, watch_warning.extent)
GROUP BY watch_warning.type
TROP STORM WATCH, 1
HURRICANE WATCH, 1
TROP STORM WARNING, 1
HURRICANE WARNING, 2