DRAFT — live geospatial proof-of-concept (not for redistribution). Licensing: UNKNOWN — permission requested from JMG. All JMG 1:500k layers stream dynamically from mygems.jmg.gov.my at runtime; no stripped GeoJSON/PMTiles are re-hosted on this domain.
Audit Schema & Guardrails ↓
UPSTREAM MACROSTRAT MAP INGESTION PACKET · LIVE GEOSPATIAL PROOF-OF-CONCEPT

Geological Map of Malaysia (1:500,000)

Live dual-layer MapLibre GL JS v5 comparison pitting Macrostrat's current 1:25,000,000 global baseline (Chorlton 1998, source_id=154) against live 1:500,000 national bedrock & fault layers streamed directly from the Department of Mineral and Geoscience Malaysia (JMG MyGEMS) ArcGIS REST service across 13 states and 3 Federal Territories.

● MAPLIBRE GL JS v5 LIVE SCALE JUMP: 1:25M → 1:500,000 (50×) 13 STATES + 2 FT LIVE · LABUAN GAP FLAGGED EPSG:4326 / WKID:3857 JMG LICENCE: UNKNOWN (DIRECT STREAM ONLY)
◈ Dual-Layer Split Viewport · Macrostrat 1:25M vs JMG MyGEMS 1:500k STREAMING LIVE REST + MVT
◀ BEFORE · MACROSTRAT GLOBAL BASELINE (1:25M MVT · source_id=154)
AFTER · LIVE JMG MyGEMS 1:500,000 (LAYERS 0–28 + FAULTS) ▶
⇄
Isolated: All States
Source: JMG MyGEMS (1:500,000) · Live ArcGIS REST stream (mygems.jmg.gov.my) · Baseline: UW-Macrostrat MVT (CC-BY 4.0) · Basemap: OpenFreeMap Dark · Click any polygon to audit raw JMG → Macrostrat lexicon mapping
CAMERA / CURSOR (WGS84) 4.2000° N, 108.8000° E · z=5.4
ACTIVE JMG LAYER FILTER All 15 Layers (0..28 even) + Major Faults [5]
JMG REST ENDPOINT HEALTH Probing 15 state endpoints…
CLIENT CACHE (INDEXEDDB / MEM) 0 state vector layers cached

01National Bedrock Coverage Controller (13 States + 3 FT; Labuan Gap Flagged)

Click any row below to smoothly fly the MapLibre camera (map.fitBounds()) to that state's verified WKID 3857 bounding extent, isolate its polygon layer on the 1:500k JMG pane, and stream its vector polygons (with browser IndexedDB caching for instant repeat inspection). Live health badges report real-time asynchronous query latency and polygon feature counts directly from mygems.jmg.gov.my.

LIVE TELEMETRY: Probing 15 JMG layers… ISOLATED LAYER: NONE (SHOWING ALL 13 STATES + 2 FT)
State / Federal Territory JMG Layer ID Service Layer Name Tectonic Belt / Key Stratigraphic Affinity WKID 3857 Extent → WGS84 BBox Live REST Health (Latency · Polygons) Map Action
Perlis[0]Lithology of PerlisWestern Belt (Sibumasu · Setul / Chuping Limestone)100.06°E, 1.38°N → 104.38°E, 6.73°N● Probing…▸ Fly & Isolate
Kedah[2]Lithology of KedahWestern Belt (Machinchang Cambrian / Singa Fm)98.93°E, 5.07°N → 101.13°E, 6.55°N● Probing…▸ Fly & Isolate
Pulau Pinang[4]Lithology of Pulau_PinangMain Range Granite (Late Triassic S-type Batholith)100.18°E, 5.12°N → 100.55°E, 5.59°N● Probing…▸ Fly & Isolate
Perak[6]Lithology of PerakMain Range Granite & Kinta Valley Limestone100.36°E, 3.66°N → 101.76°E, 5.94°N● Probing…▸ Fly & Isolate
Kelantan[8]Lithology of KelantanCentral Belt & Bentong-Raub Suture Zone101.33°E, 4.55°N → 102.67°E, 6.24°N● Probing…▸ Fly & Isolate
Terengganu[10]Lithology of TerengganuEastern Belt (Kenyir I-type Granite & Carboniferous)102.38°E, 3.88°N → 103.69°E, 5.97°N● Probing…▸ Fly & Isolate
Pahang[12]Lithology of PahangBentong-Raub Suture, Semantan Flysch & Kuantan Basalt101.33°E, 2.46°N → 104.23°E, 4.78°N● Probing…▸ Fly & Isolate
Selangor[14]Lithology of SelangorKuala Lumpur Limestone, Kenny Hill & Main Range Granite100.81°E, 2.59°N → 101.97°E, 3.87°N● Probing…▸ Fly & Isolate
Putrajaya (FT)[16]Lithology of PutrajayaFederal Territory Bedrock (Schist, Phyllite & Granite)101.66°E, 2.88°N → 101.73°E, 2.98°N● Probing…▸ Fly & Isolate
Kuala Lumpur (FT)[18]Lithology of Kuala LumpurFederal Territory Bedrock (KL Limestone & Hawthornden Schist)101.62°E, 3.03°N → 101.76°E, 3.24°N● Probing…▸ Fly & Isolate
Negeri Sembilan[20]Lithology of Negeri SembilanMain Range Granites & Jelebu Metamorphic Suture Margin101.70°E, 2.39°N → 102.70°E, 3.29°N● Probing…▸ Fly & Isolate
Melaka[22]Lithology of MelakaCoastal Paleozoic Schist/Phyllite & Triassic Intrusives101.97°E, 2.05°N → 102.60°E, 2.50°N● Probing…▸ Fly & Isolate
Johor[24]Lithology of JohorEastern Belt Volcanics, Mersing Shear Zone & Granites102.47°E, 1.26°N → 104.55°E, 2.83°N● Probing…▸ Fly & Isolate
Sabah[26]Lithology of SabahCrocker Fold-Thrust & Kinabalu Pluton (~7–8 Ma U-Pb; older K-Ar contested)115.12°E, 4.11°N → 119.26°E, 7.36°N● Probing…▸ Fly & Isolate
Sarawak[28]Lithology of SarawakRajang Accretionary Wedge (Belaga Fm) & Lupar Melange109.54°E, 0.86°N → 115.67°E, 4.99°N● Probing…▸ Fly & Isolate
Labuan (FT)—Not present in JMG source layersOffshore NW Sabah Shelf (Belait / Setap Shale anticline)115.12°E, 5.21°N → 115.32°E, 5.42°N⚠ OFFSHORE GAP · 0 layers▸ Fly to Gap Box

02Interactive Schema Diff & Provenance Guardrails

Audit how raw JMG MyGEMS ArcGIS REST attributes and coded domains (FNM, GLN, GLL, AGE, GAM, GAX, GLS, HOR, GFD, NAM) normalize into UW-Macrostrat's target ingestion schema (strat_name, unit_name, t_int_name, b_int_name, numeric best_t_age / best_b_age in Ma per ICS 2023, and lithology classes). Clicking any polygon on the map above also populates this live normalizer.

◈ LIVE JMG MyGEMS → UW-MACROSTRAT SCHEMA NORMALIZER & FIELD CROSSWALK ICS 2023 Numeric Age & Coded-Domain Resolver

RAW JMG MyGEMS REST PAYLOAD (ArcGIS MapServer/{layerId})


          

NORMALIZED UW-MACROSTRAT INGESTION RECORD (ICS 2023 Ma + Lexicon)


          
JMG MyGEMS REST Field (Coded / Raw) Manifest Alias Macrostrat Ingestion Target Normalization & Fail-Closed Rule
GLN (Formation) / GLL (Unit Code) FORMATION strat_name Uses verified formation string (GLN, e.g., Kelabit formation) or map symbol code (GLL, e.g., P6Kb, LMiPi); nulls stripped fail-closed.
FNM (Feature Name) / GFD (Description) LITHOLOGY unit_name Combines lithostratigraphic/lithodemic class (FNM) with primary unit label when GLN is generic.
GAM (Min Age Code) & GAX (Max Age Code) ROCK_AGE t_int_name, b_int_name, best_t_age, best_b_age Resolves JMG 61-value coded domain (e.g., 212→Pleistocene, 222→Pliocene, 223→Miocene, 225→Oligocene, 330→Triassic) to ICS 2023 bounds in Ma (e.g., Miocene–Pliocene → best_b_age: 23.03, best_t_age: 2.58). Never misreads coded integer 100 (Recent) as 100 Ma.
HOR (Horizon Lithology) & GLS (33-value Domain) ROCK_TYPE lith, lith_class Maps JMG coded lithology (100 Unconsolidated, 200 Sedimentary, 240 Calcareous, 300 Metamorphic, 410 Intrusive) + HOR text into Macrostrat lithology dictionary tokens.
GFD (Geological Feature Description) DESCRIPTION descrip Preserves full verbatim survey petrographic description (e.g., "Adamellite and granodiorite at G. Kinabalu, Poring and Paranchangan").
NAM (16-State Domain) + layerId + OBJECTID NEGERI state, source_id, orig_id Binds state jurisdiction, JMG layer index [0..28], and OBJECTID for deterministic upstream lineage auditing.

“Macrostrat's global model of the Earth's upper crust is the cornerstone of open paleogeographic intelligence. Bridging the 1:500,000 national bedrock of Malaysia into Macrostrat upgrades Southeast Asia from generalized 1:25M global coverage to a preliminary, draft stratigraphic view across Sundaland and Northwest Borneo.”

— Muhammad Arif bin Fazil · Exploration Geoscientist & arifOS Federation Architect

03Submission Packet Artifacts

1. Upstream Submission Proposal

Formal geoscientific proposal addressed to Prof. Shanan Peters & Dr. Daven Quinn (UW-Macrostrat) detailing tectonic domains, stratigraphic lexicon, and provenance.

View Proposal (.md) →

2. Macrostrat Ingestion Manifest

Cleaned source specification mapping JMG attribute fields (FNM/GFD, GLN/GLL, AGE/GAM/GAX, HOR/GLS, NAM) into standard Macrostrat ingestion fields.

View Manifest (.json) →

3. State/FT Geospatial Catalog

Verified layer catalog containing bounding extents (WKID 3857) and live REST service endpoints for all state/FT-level geological mapping layers.

View States Catalog (.json) →

4. Automated Pipeline Exporter

Python script that queries JMG MyGEMS ArcGIS REST endpoints, validates bounding boxes, and formats vectors for Macrostrat pipeline ingest.

View Python Script (.py) →
UPSTREAM REPOSITORY TARGET

Target Submission: UW-Macrostrat / macrostrat (Monorepo)

Upstream map ingestion issues and contributions are managed in the main UW-Macrostrat/macrostrat monorepo under the Maps / Ingestion track. Live layers remain dynamically streamed from JMG MyGEMS while formal redistribution clearance is pending.

Open Macrostrat GitHub Issues Track ↗