Diversity Gazetteer
Database
DiversityGazetteer - Database
The diagram of for the main tables of the database is shown below.
The description is available in the databaseobjects and enumeration table chapters .
The diagram of for the main tables of the database is shown below.
The description is available in the databaseobjects and enumeration table chapters .
To get access to the data, you have to take several hurdles. In DiversityGazetteers you must be a member of one of the usergroups. You have only access to those data, that are listed in the projects you have access to.
A user can be in 3 groups with diverse rights in the database where certain higher groups have all rights of lower groups in addition to special rights for this group, e.g. the group DiversityWorkbenchUser can only read the data of certain tables while DiversityWorkbenchEditor has the rights of DiversityWorkbenchUser and additionally can edit the data in certain tables - see overview below.
Summarized overview of the permissions of the groups
Role | Permissions in addition to lower role resp. user group | Inculded rights |
DiversityWorkbenchAdministrator | Delete data, edit user permissions | DiversityWorkbenchEditor |
DiversityWorkbenchEditor | Create new entries and delete details (not whole datasets) | DiversityWorkbenchUser |
DiversityWorkbenchUser | See the data of the data tables, add annotations |
If you are a DiversityWorkbenchAdministrator you can add a user to one of these Logins.
Any user may have access to several Projects.
Logging tables
System objects
Objects marked as obsolete
Previous versions of objects
Column | Data type | Description |
---|---|---|
Code | nvarchar (50) | - |
Description | nvarchar (500) | - |
DisplayText | nvarchar (50) | - |
DisplayOrder | smallint | - |
DisplayEnable | bit | - |
ParentCode | nvarchar (50) | - |
InternalNotes | nvarchar (500) | - |
HierarchyPrefixUp | nvarchar (50) | - |
HierarchyPrefixDown | nvarchar (50) | - |
HierarchyPostfixUp | nvarchar (50) | - |
HierarchyPostfixDown | nvarchar (50) | - |
Dependent tables:
Dependent tables:
External datasource of the data
Column | Data type | Description | Nullable | Relation |
---|---|---|---|---|
ExternalDatabaseID | int | ID of the source, PK | NO | - |
ExternalDatabaseName | nvarchar (60) | Name of the external datasource | NO | - |
ExternalDatabaseVersion | nvarchar (255) | Version of the external datasource | NO | - |
ExternalAttribute_NameID | nvarchar (255) | Attribute of the extarnal source for mapping the data in table GeoName | YES | - |
ExternalAttribute_PlaceID | nvarchar (255) | Attribute of the extarnal source for mapping the data in table GeoPlace | YES | - |
ExternalCoordinatePrecision | nvarchar (255) | Description of the coordinate precision in the external source | YES | - |
InternalNotes | nvarchar (MAX) | Notes concerning the import of the data | YES | - |
Cached values for the hierarchy of places
Column | Data type | Description | Nullable | Relation |
---|---|---|---|---|
PlaceID | int | Primary key as defined in table GeoPlace | NO | - |
Country | nvarchar (100) | The cached country derived from GeoName via the Hierarchy defined in GeoPlace via the SuperiorPlaceID | YES | - |
HierarchyPlaceToCountry | nvarchar (2000) | The cached hierarchy from the place to the country derived from GeoName via the Hierarchy defined in GeoPlace via the SuperiorPlaceID | YES | - |
HierarchyCountryToPlace | nvarchar (2000) | The cached hierarchy from the country to the place derived from GeoName via the Hierarchy defined in GeoPlace via the SuperiorPlaceID | YES | - |
SuperiorPlaceID | int | Temporary used value for the superior place ID - empty after successful update of the cache values | YES | - |