@chrtco/sdk 0.7.6 → 0.7.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -5315,7 +5315,10 @@ var NAUTICAL_SYMBOLS = [
5315
5315
  getSvg: landmarkSpire,
5316
5316
  group: "landmarks",
5317
5317
  description: "Church spire or steeple, conspicuous from seaward. Useful for visual fixing.",
5318
- s52PlRef: "LNDMRK17",
5318
+ // CATLMK 20 alone has no dedicated PL symbol (renders POSGEN01/03); church spires carry
5319
+ // FUNCTN 20/21 and render as the religious-building symbol BUIREL01 (BUIREL13 when conspicuous)
5320
+ s52PlRef: "BUIREL01",
5321
+ s57Class: "LNDMRK",
5319
5322
  attributeKey: "CATLMK",
5320
5323
  attributeValue: 20,
5321
5324
  renderSize: "32x32",
@@ -5332,9 +5335,11 @@ var NAUTICAL_SYMBOLS = [
5332
5335
  getSvg: landmarkTower,
5333
5336
  group: "landmarks",
5334
5337
  description: "Tower conspicuous from seaward. General-purpose landmark symbol.",
5335
- s52PlRef: "LNDMRK20",
5338
+ s52PlRef: "TOWERS01",
5339
+ s57Class: "LNDMRK",
5336
5340
  attributeKey: "CATLMK",
5337
5341
  attributeValue: 17,
5342
+ // TOWERS03 = conspicuous variant
5338
5343
  renderSize: "32x32",
5339
5344
  colors: [{ token: "CHBLK", hex: "#000000", usage: "Tower body, cap, position circle" }],
5340
5345
  lineStyles: [{ element: "Tower outline", width: 0.8, color: "#000000" }, { element: "Position circle", width: 0.6, pattern: "2, 2", color: "#000000" }],
@@ -5349,7 +5354,8 @@ var NAUTICAL_SYMBOLS = [
5349
5354
  getSvg: landmarkChimney,
5350
5355
  group: "landmarks",
5351
5356
  description: "Industrial chimney or smokestack visible from the sea.",
5352
- s52PlRef: "LNDMRK01",
5357
+ s52PlRef: "CHIMNY01",
5358
+ s57Class: "LNDMRK",
5353
5359
  attributeKey: "CATLMK",
5354
5360
  attributeValue: 3,
5355
5361
  renderSize: "32x32",
@@ -5366,7 +5372,8 @@ var NAUTICAL_SYMBOLS = [
5366
5372
  getSvg: landmarkFlagstaff,
5367
5373
  group: "landmarks",
5368
5374
  description: "Flagstaff or flagpole conspicuous from seaward.",
5369
- s52PlRef: "LNDMRK03",
5375
+ s52PlRef: "FLGSTF01",
5376
+ s57Class: "LNDMRK",
5370
5377
  attributeKey: "CATLMK",
5371
5378
  attributeValue: 5,
5372
5379
  renderSize: "32x32",
@@ -5386,9 +5393,11 @@ var NAUTICAL_SYMBOLS = [
5386
5393
  getSvg: landmarkMonument,
5387
5394
  group: "landmarks",
5388
5395
  description: "Monument or memorial conspicuous from the sea.",
5389
- s52PlRef: "LNDMRK05",
5396
+ s52PlRef: "MONUMT12",
5397
+ s57Class: "LNDMRK",
5390
5398
  attributeKey: "CATLMK",
5391
5399
  attributeValue: 9,
5400
+ // MONUMT02 = non-conspicuous variant
5392
5401
  renderSize: "32x32",
5393
5402
  colors: [{ token: "CHBLK", hex: "#000000", usage: "Monument body, base, position circle" }],
5394
5403
  lineStyles: [{ element: "Body outline", width: 0.8, color: "#000000" }, { element: "Position circle", width: 0.6, pattern: "2, 2", color: "#000000" }],
@@ -5404,6 +5413,7 @@ var NAUTICAL_SYMBOLS = [
5404
5413
  group: "landmarks",
5405
5414
  description: "Traditional windmill with rotating vanes. Conspicuous landmark.",
5406
5415
  s52PlRef: "WNDMIL12",
5416
+ s57Class: "LNDMRK",
5407
5417
  attributeKey: "CATLMK",
5408
5418
  attributeValue: 18,
5409
5419
  renderSize: "32x32",
@@ -5421,6 +5431,7 @@ var NAUTICAL_SYMBOLS = [
5421
5431
  group: "landmarks",
5422
5432
  description: "Modern 3-blade wind turbine. Increasingly common offshore landmark.",
5423
5433
  s52PlRef: "WIMCON11",
5434
+ s57Class: "LNDMRK",
5424
5435
  attributeKey: "CATLMK",
5425
5436
  attributeValue: 19,
5426
5437
  renderSize: "32x32",
@@ -5437,9 +5448,11 @@ var NAUTICAL_SYMBOLS = [
5437
5448
  getSvg: landmarkDome,
5438
5449
  group: "landmarks",
5439
5450
  description: "Dome or cupola (e.g., observatory, mosque) visible from the sea.",
5440
- s52PlRef: "LNDMRK03",
5451
+ s52PlRef: "DOMES011",
5452
+ s57Class: "LNDMRK",
5441
5453
  attributeKey: "CATLMK",
5442
5454
  attributeValue: 15,
5455
+ // DOMES001 = non-conspicuous variant
5443
5456
  renderSize: "32x32",
5444
5457
  colors: [{ token: "CHBLK", hex: "#000000", usage: "Dome, base, position circle" }],
5445
5458
  lineStyles: [{ element: "Base outline", width: 0.8, color: "#000000" }, { element: "Dome curve", width: 0.8, color: "#000000" }, { element: "Position circle", width: 0.6, pattern: "2, 2", color: "#000000" }],
@@ -5454,7 +5467,8 @@ var NAUTICAL_SYMBOLS = [
5454
5467
  getSvg: landmarkRadarScanner,
5455
5468
  group: "landmarks",
5456
5469
  description: "Radar scanner antenna conspicuous from seaward.",
5457
- s52PlRef: "LNDMRK12",
5470
+ s52PlRef: "RASCAN01",
5471
+ s57Class: "LNDMRK",
5458
5472
  attributeKey: "CATLMK",
5459
5473
  attributeValue: 16,
5460
5474
  renderSize: "32x32",
@@ -5471,7 +5485,8 @@ var NAUTICAL_SYMBOLS = [
5471
5485
  getSvg: landmarkDishAerial,
5472
5486
  group: "landmarks",
5473
5487
  description: "Satellite dish or parabolic antenna visible from the sea.",
5474
- s52PlRef: "LNDMRK12",
5488
+ s52PlRef: "DSHAER01",
5489
+ s57Class: "LNDMRK",
5475
5490
  attributeKey: "CATLMK",
5476
5491
  attributeValue: 4,
5477
5492
  renderSize: "32x32",
@@ -5489,6 +5504,7 @@ var NAUTICAL_SYMBOLS = [
5489
5504
  group: "landmarks",
5490
5505
  description: "Water tower. Elevated tank on supporting structure, conspicuous landmark.",
5491
5506
  s52PlRef: "TOWERS12",
5507
+ s57Class: "SILTNK",
5492
5508
  attributeKey: "CATSIL",
5493
5509
  attributeValue: 4,
5494
5510
  renderSize: "32x32",
@@ -5505,7 +5521,9 @@ var NAUTICAL_SYMBOLS = [
5505
5521
  getSvg: landmarkRadioTvMast,
5506
5522
  group: "landmarks",
5507
5523
  description: "Radio or television transmission mast with horizontal cross-arms.",
5508
- s52PlRef: "LNDMRK10",
5524
+ // Radio/TV masts are CATLMK 7 (mast) + FUNCTN in S-57, so both mast entries share MSTCON04
5525
+ s52PlRef: "MSTCON04",
5526
+ s57Class: "LNDMRK",
5509
5527
  attributeKey: "CATLMK",
5510
5528
  attributeValue: 7,
5511
5529
  renderSize: "32x32",
@@ -5522,7 +5540,10 @@ var NAUTICAL_SYMBOLS = [
5522
5540
  getSvg: landmarkCross,
5523
5541
  group: "landmarks",
5524
5542
  description: "Religious cross or calvary conspicuous from seaward.",
5525
- s52PlRef: "LNDMRK05",
5543
+ // The PL has no dedicated symbol for CATLMK 14 (cross/calvary) — S-52 falls back to the
5544
+ // generic position symbol POSGEN01 (POSGEN03 when conspicuous)
5545
+ s52PlRef: "POSGEN01",
5546
+ s57Class: "LNDMRK",
5526
5547
  attributeKey: "CATLMK",
5527
5548
  attributeValue: 14,
5528
5549
  renderSize: "32x32",
@@ -5539,9 +5560,11 @@ var NAUTICAL_SYMBOLS = [
5539
5560
  getSvg: landmarkMast,
5540
5561
  group: "landmarks",
5541
5562
  description: "General mast (not radio/TV). Pole with spherical top.",
5542
- s52PlRef: "LNDMRK10",
5563
+ s52PlRef: "MSTCON04",
5564
+ s57Class: "LNDMRK",
5543
5565
  attributeKey: "CATLMK",
5544
5566
  attributeValue: 7,
5567
+ // MSTCON14 = conspicuous variant
5545
5568
  renderSize: "32x32",
5546
5569
  colors: [{ token: "CHBLK", hex: "#000000", usage: "Mast pole, top ball, position circle" }],
5547
5570
  lineStyles: [{ element: "Mast pole", width: 2, color: "#000000" }, { element: "Position circle", width: 0.6, pattern: "2, 2", color: "#000000" }],
@@ -5557,6 +5580,7 @@ var NAUTICAL_SYMBOLS = [
5557
5580
  group: "landmarks",
5558
5581
  description: "Silo, grain elevator, or storage tank conspicuous from the sea.",
5559
5582
  s52PlRef: "SILBUI01",
5583
+ s57Class: "SILTNK",
5560
5584
  attributeKey: "CATSIL",
5561
5585
  attributeValue: 1,
5562
5586
  renderSize: "32x32",
@@ -8267,6 +8291,18 @@ var S101_FEATURES = [
8267
8291
  isNewInS101: false,
8268
8292
  attributes: ["categoryOfLandmark", "function", "visuallyConspicuous"]
8269
8293
  },
8294
+ {
8295
+ featureClass: "SiloStorageTank",
8296
+ name: "Silo / Storage Tank",
8297
+ s57Equivalent: "SILTNK",
8298
+ section: "E",
8299
+ group: "landmarks",
8300
+ category: "geo",
8301
+ description: "An enclosed structure for storing bulk solids or liquids (silo, grain elevator, water tower, tank). Often conspicuous and useful for position fixing.",
8302
+ portrayalRef: "SILTNK_S101",
8303
+ isNewInS101: false,
8304
+ attributes: ["categoryOfSiloTank", "colour", "visuallyConspicuous"]
8305
+ },
8270
8306
  // ── Section D: Bridges ──
8271
8307
  {
8272
8308
  featureClass: "Bridge",