Skip to content

Commit f0f2abb

Browse files
committed
Fixed contributing guide
1 parent 3e40f9b commit f0f2abb

File tree

2 files changed

+42
-7
lines changed

2 files changed

+42
-7
lines changed

content/Contributing/Maps.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Contributing maps to Macrostrat
2+
3+
## Polygon data fields
4+
5+
### Mandatory fields
6+
7+
- `name`: The name of the feature. This could be the name of a geologic unit, formation, or a more general unit name. If
8+
no formal name exists, a descriptive name may be used, such as the lithology type. (e.g., "Navajo Sandstone", "Dakota
9+
Formation", "Upper Member of
10+
the Morrison Formation", "Unknown Granite", "Alluvium", "Fluvial terrace 1A", "Water").
11+
- `age`: A human-readable description of the age of the feature (e.g., "Cretaceous", "Late Jurassic", "201-145 Ma", "
12+
probably Late Miocene", "Kimmeridgian–Tithonian(?)").
13+
- `descrip`: A text description for the unit, typically what would be rendered in a map legend.
14+
- `lith`: A comma-separated list of lithologies present in the unit (e.g., "sandstone, shale, conglomerate").
15+
- `b_interval`: The formal base interval of the unit (Macrostrat `interval_id`)
16+
- `t_interval`: The formal top interval of the unit (Macrostrat `interval_id`)
17+
18+
### Commonly used fields
19+
20+
- `orig_id`: A unique identifier for the polygon within the source dataset.
21+
- `comments`: Additional comments about the individual polygon or containing unit
22+
- `strat_name`: The formal stratigraphic name, or comma-separated list of names, for the unit
23+
24+
### Seldomly used fields
25+
26+
- `t_age`: The numeric top age of the unit (in Ma) if known
27+
- `b_age`: The numeric base age of the unit (in Ma) if known
28+
29+
### Not added yet
30+
31+
- `color`: A hex or RGB color code for the unit
32+
- `abbrev`: An abbreviation for the unit name (e.g., "Jm" for Morrison Formation, "K" for Cretaceous, "Qal" for
33+
Quaternary alluvium)

pages/maps/ingestion/@id/components/map-interface.ts

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -232,16 +232,18 @@ export function MapInterface({
232232
h(BaseLayerSelector, { layer, setLayer }),
233233
]);
234234

235-
const settingsPopoverButton = h(
236-
"div.map-controls",h(
237-
Popover2,
238-
{
239-
content: contextPanel,
240-
},
235+
const settingsPopoverButton = h(
236+
"div.map-controls",
237+
h(
238+
Popover2,
239+
{
240+
content: contextPanel,
241+
},
241242
h(Button, {
242243
icon: "cog",
243244
})
244-
));
245+
)
246+
);
245247

246248
if (mapStyle == null) {
247249
return h(Spinner);

0 commit comments

Comments
 (0)