ADDRESSCOORDINATES
Contains a list of longitude and latitude values for a given address.
Primary Key
| Primary Key |
Field Type |
| ID |
uniqueidentifier |
Fields
| Field |
Field Type |
Null |
Notes |
Description |
| PENDINGGEOCODE |
bit |
|
Default = 0 |
True if an address is being geocoded. |
| INVALIDGEOCODE |
bit |
|
Default = 0 |
Indicates that a valid geocode could not be found for this address. |
| MATCHCODE |
nvarchar(50) |
|
Default = '' |
Indicates the certainty of the geocoding match. |
| MATCHEDMETHOD |
nvarchar(50) |
|
Default = '' |
Indicates the level on which the geocode match takes place. |
| GEOCODEEXCEPTION |
nvarchar(255) |
|
Default = '' |
Indicates the reason for which an address cannot be geocoded. |
| LONGITUDE |
decimal(16, 13) |
|
Default = 0 |
Longitude value of the address's coordinates. |
| LATITUDE |
decimal(16, 13) |
|
Default = 0 |
Latitude value of the address's coordinates. |
| DATEADDED |
datetime |
|
Default = getdate() |
Indicates the date this record was added. |
| DATECHANGED |
datetime |
|
Default = getdate() |
Indicates the date this record was last changed. |
| TS |
timestamp |
|
|
Timestamp. |
| TSLONG |
bigint (Computed) |
yes |
CONVERT(bigint, TS) |
Numeric representation of the timestamp. |
| REGEOCODE |
bit |
|
Default = 0 |
|
Foreign Keys
| Foreign Key |
Field Type |
Null |
Notes |
Description |
| ADDRESSID |
uniqueidentifier |
|
ADDRESS.LOCALID
|
FK to ADDRESS table |
| ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
| CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
| Index Name |
Fields |
Unique |
Primary |
Clustered |
| IX_ADDRESSCOORDINATES_DATEADDED |
DATEADDED |
|
|
yes |
| IX_ADDRESSCOORDINATES_DATECHANGED |
DATECHANGED |
|
|
|
| PK_ADDRESSCOORDINATES |
ID |
yes |
yes |
|
| UIX_ADDRESSCOORDINATES_ADDRESSID |
ADDRESSID |
yes |
|
|
Triggers