-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 81_introduce_mechanism_to_automatically_lint…
…_the_sources_before_each_push
- Loading branch information
Showing
3 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## Architecture Decision Log | ||
|
||
This folder contains a list of Architecture Decision Records (ADRs) for this project. |
24 changes: 24 additions & 0 deletions
24
doc/architecture/choice-of-GeoJSON-feature-for-element-types.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
## Status | ||
Accepted | ||
|
||
## Context | ||
We're going to store application data in GeoJSON. We need to decide which GeoJSON feature type to use for our data. | ||
|
||
## Decision | ||
|
||
|
||
| Element | Feature Type | Rationale / Other thoughts | | ||
|------------|--------------|--------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| Track | Line String | If we ever need to support multiple track segments, switch to array of line segments (Multi Line String) | | ||
| Buoy Field | Multi Point | | | ||
| Zone | Polygon | We may support several different zone shape styles. Shape-specific construction points/dimensions could be stored as properties, but resulting shape stored in polygon. | | ||
| Line | Linestring | In legacy system lines are type of zone, but suggest renaming to avoid confusion. When loading 3rd party data treat a Line String as `Track` if it contains time data, else `Line` | | ||
| Point | Point | | | ||
| Metadata | Point | Create point feature with empty coordinates, then store app level metadata in properties. Generate multiple metadata features if logically necessary. | | ||
| | | | | ||
|
||
|
||
## Consequences | ||
Future maintainers will thank use for wise data storage decisions. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters