@chrtco/sdk 0.7.5 → 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/atlas/browser.cjs +56 -32
- package/dist/atlas/browser.cjs.map +1 -1
- package/dist/atlas/browser.js +56 -32
- package/dist/atlas/browser.js.map +1 -1
- package/dist/index.cjs +139 -75
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +139 -75
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/atlas/browser.cjs
CHANGED
|
@@ -2895,9 +2895,12 @@ var NAUTICAL_SYMBOLS = [
|
|
|
2895
2895
|
getSvg: landmarkSpire,
|
|
2896
2896
|
group: "landmarks",
|
|
2897
2897
|
description: "Church spire or steeple, conspicuous from seaward. Useful for visual fixing.",
|
|
2898
|
-
|
|
2898
|
+
// CATLMK 20 alone has no dedicated PL symbol (renders POSGEN01/03); church spires carry
|
|
2899
|
+
// FUNCTN 20/21 and render as the religious-building symbol BUIREL01 (BUIREL13 when conspicuous)
|
|
2900
|
+
s52PlRef: "BUIREL01",
|
|
2901
|
+
s57Class: "LNDMRK",
|
|
2899
2902
|
attributeKey: "CATLMK",
|
|
2900
|
-
attributeValue:
|
|
2903
|
+
attributeValue: 20,
|
|
2901
2904
|
renderSize: "32x32",
|
|
2902
2905
|
colors: [{ token: "CHBLK", hex: "#000000", usage: "Spire, building, position circle" }],
|
|
2903
2906
|
lineStyles: [{ element: "Building outline", width: 0.8, color: "#000000" }, { element: "Position circle", width: 0.6, pattern: "2, 2", color: "#000000" }],
|
|
@@ -2912,9 +2915,11 @@ var NAUTICAL_SYMBOLS = [
|
|
|
2912
2915
|
getSvg: landmarkTower,
|
|
2913
2916
|
group: "landmarks",
|
|
2914
2917
|
description: "Tower conspicuous from seaward. General-purpose landmark symbol.",
|
|
2915
|
-
s52PlRef: "
|
|
2918
|
+
s52PlRef: "TOWERS01",
|
|
2919
|
+
s57Class: "LNDMRK",
|
|
2916
2920
|
attributeKey: "CATLMK",
|
|
2917
|
-
attributeValue:
|
|
2921
|
+
attributeValue: 17,
|
|
2922
|
+
// TOWERS03 = conspicuous variant
|
|
2918
2923
|
renderSize: "32x32",
|
|
2919
2924
|
colors: [{ token: "CHBLK", hex: "#000000", usage: "Tower body, cap, position circle" }],
|
|
2920
2925
|
lineStyles: [{ element: "Tower outline", width: 0.8, color: "#000000" }, { element: "Position circle", width: 0.6, pattern: "2, 2", color: "#000000" }],
|
|
@@ -2929,9 +2934,10 @@ var NAUTICAL_SYMBOLS = [
|
|
|
2929
2934
|
getSvg: landmarkChimney,
|
|
2930
2935
|
group: "landmarks",
|
|
2931
2936
|
description: "Industrial chimney or smokestack visible from the sea.",
|
|
2932
|
-
s52PlRef: "
|
|
2937
|
+
s52PlRef: "CHIMNY01",
|
|
2938
|
+
s57Class: "LNDMRK",
|
|
2933
2939
|
attributeKey: "CATLMK",
|
|
2934
|
-
attributeValue:
|
|
2940
|
+
attributeValue: 3,
|
|
2935
2941
|
renderSize: "32x32",
|
|
2936
2942
|
colors: [{ token: "CHBLK", hex: "#000000", usage: "Chimney body, smoke, position circle" }],
|
|
2937
2943
|
lineStyles: [{ element: "Body outline", width: 0.8, color: "#000000" }, { element: "Smoke plume", width: 1, color: "#000000" }, { element: "Position circle", width: 0.6, pattern: "2, 2", color: "#000000" }],
|
|
@@ -2946,9 +2952,10 @@ var NAUTICAL_SYMBOLS = [
|
|
|
2946
2952
|
getSvg: landmarkFlagstaff,
|
|
2947
2953
|
group: "landmarks",
|
|
2948
2954
|
description: "Flagstaff or flagpole conspicuous from seaward.",
|
|
2949
|
-
s52PlRef: "
|
|
2955
|
+
s52PlRef: "FLGSTF01",
|
|
2956
|
+
s57Class: "LNDMRK",
|
|
2950
2957
|
attributeKey: "CATLMK",
|
|
2951
|
-
attributeValue:
|
|
2958
|
+
attributeValue: 5,
|
|
2952
2959
|
renderSize: "32x32",
|
|
2953
2960
|
colors: [
|
|
2954
2961
|
{ token: "CHBLK", hex: "#000000", usage: "Pole and position circle" },
|
|
@@ -2966,9 +2973,11 @@ var NAUTICAL_SYMBOLS = [
|
|
|
2966
2973
|
getSvg: landmarkMonument,
|
|
2967
2974
|
group: "landmarks",
|
|
2968
2975
|
description: "Monument or memorial conspicuous from the sea.",
|
|
2969
|
-
s52PlRef: "
|
|
2976
|
+
s52PlRef: "MONUMT12",
|
|
2977
|
+
s57Class: "LNDMRK",
|
|
2970
2978
|
attributeKey: "CATLMK",
|
|
2971
|
-
attributeValue:
|
|
2979
|
+
attributeValue: 9,
|
|
2980
|
+
// MONUMT02 = non-conspicuous variant
|
|
2972
2981
|
renderSize: "32x32",
|
|
2973
2982
|
colors: [{ token: "CHBLK", hex: "#000000", usage: "Monument body, base, position circle" }],
|
|
2974
2983
|
lineStyles: [{ element: "Body outline", width: 0.8, color: "#000000" }, { element: "Position circle", width: 0.6, pattern: "2, 2", color: "#000000" }],
|
|
@@ -2983,9 +2992,10 @@ var NAUTICAL_SYMBOLS = [
|
|
|
2983
2992
|
getSvg: landmarkWindmill,
|
|
2984
2993
|
group: "landmarks",
|
|
2985
2994
|
description: "Traditional windmill with rotating vanes. Conspicuous landmark.",
|
|
2986
|
-
s52PlRef: "
|
|
2995
|
+
s52PlRef: "WNDMIL12",
|
|
2996
|
+
s57Class: "LNDMRK",
|
|
2987
2997
|
attributeKey: "CATLMK",
|
|
2988
|
-
attributeValue:
|
|
2998
|
+
attributeValue: 18,
|
|
2989
2999
|
renderSize: "32x32",
|
|
2990
3000
|
colors: [{ token: "CHBLK", hex: "#000000", usage: "Tower, vanes, hub, position circle" }],
|
|
2991
3001
|
lineStyles: [{ element: "Tower", width: 1.5, color: "#000000" }, { element: "Vane arms", width: 1.2, color: "#000000" }, { element: "Position circle", width: 0.6, pattern: "2, 2", color: "#000000" }],
|
|
@@ -3000,9 +3010,10 @@ var NAUTICAL_SYMBOLS = [
|
|
|
3000
3010
|
getSvg: landmarkWindTurbine,
|
|
3001
3011
|
group: "landmarks",
|
|
3002
3012
|
description: "Modern 3-blade wind turbine. Increasingly common offshore landmark.",
|
|
3003
|
-
s52PlRef: "
|
|
3013
|
+
s52PlRef: "WIMCON11",
|
|
3014
|
+
s57Class: "LNDMRK",
|
|
3004
3015
|
attributeKey: "CATLMK",
|
|
3005
|
-
attributeValue:
|
|
3016
|
+
attributeValue: 19,
|
|
3006
3017
|
renderSize: "32x32",
|
|
3007
3018
|
colors: [{ token: "CHBLK", hex: "#000000", usage: "Tower, blades, hub, position circle" }],
|
|
3008
3019
|
lineStyles: [{ element: "Tower", width: 1.5, color: "#000000" }, { element: "Blades", width: 1.2, color: "#000000" }, { element: "Position circle", width: 0.6, pattern: "2, 2", color: "#000000" }],
|
|
@@ -3017,9 +3028,11 @@ var NAUTICAL_SYMBOLS = [
|
|
|
3017
3028
|
getSvg: landmarkDome,
|
|
3018
3029
|
group: "landmarks",
|
|
3019
3030
|
description: "Dome or cupola (e.g., observatory, mosque) visible from the sea.",
|
|
3020
|
-
s52PlRef: "
|
|
3031
|
+
s52PlRef: "DOMES011",
|
|
3032
|
+
s57Class: "LNDMRK",
|
|
3021
3033
|
attributeKey: "CATLMK",
|
|
3022
|
-
attributeValue:
|
|
3034
|
+
attributeValue: 15,
|
|
3035
|
+
// DOMES001 = non-conspicuous variant
|
|
3023
3036
|
renderSize: "32x32",
|
|
3024
3037
|
colors: [{ token: "CHBLK", hex: "#000000", usage: "Dome, base, position circle" }],
|
|
3025
3038
|
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" }],
|
|
@@ -3034,9 +3047,10 @@ var NAUTICAL_SYMBOLS = [
|
|
|
3034
3047
|
getSvg: landmarkRadarScanner,
|
|
3035
3048
|
group: "landmarks",
|
|
3036
3049
|
description: "Radar scanner antenna conspicuous from seaward.",
|
|
3037
|
-
s52PlRef: "
|
|
3050
|
+
s52PlRef: "RASCAN01",
|
|
3051
|
+
s57Class: "LNDMRK",
|
|
3038
3052
|
attributeKey: "CATLMK",
|
|
3039
|
-
attributeValue:
|
|
3053
|
+
attributeValue: 16,
|
|
3040
3054
|
renderSize: "32x32",
|
|
3041
3055
|
colors: [{ token: "CHBLK", hex: "#000000", usage: "Tower, scanner dish, position circle" }],
|
|
3042
3056
|
lineStyles: [{ element: "Tower", width: 1.5, color: "#000000" }, { element: "Scanner frame", width: 1.5, color: "#000000" }, { element: "Position circle", width: 0.6, pattern: "2, 2", color: "#000000" }],
|
|
@@ -3051,9 +3065,10 @@ var NAUTICAL_SYMBOLS = [
|
|
|
3051
3065
|
getSvg: landmarkDishAerial,
|
|
3052
3066
|
group: "landmarks",
|
|
3053
3067
|
description: "Satellite dish or parabolic antenna visible from the sea.",
|
|
3054
|
-
s52PlRef: "
|
|
3068
|
+
s52PlRef: "DSHAER01",
|
|
3069
|
+
s57Class: "LNDMRK",
|
|
3055
3070
|
attributeKey: "CATLMK",
|
|
3056
|
-
attributeValue:
|
|
3071
|
+
attributeValue: 4,
|
|
3057
3072
|
renderSize: "32x32",
|
|
3058
3073
|
colors: [{ token: "CHBLK", hex: "#000000", usage: "Tower, dish, position circle" }],
|
|
3059
3074
|
lineStyles: [{ element: "Tower", width: 1.5, color: "#000000" }, { element: "Dish curve", width: 1.5, color: "#000000" }, { element: "Position circle", width: 0.6, pattern: "2, 2", color: "#000000" }],
|
|
@@ -3068,9 +3083,10 @@ var NAUTICAL_SYMBOLS = [
|
|
|
3068
3083
|
getSvg: landmarkWaterTower,
|
|
3069
3084
|
group: "landmarks",
|
|
3070
3085
|
description: "Water tower. Elevated tank on supporting structure, conspicuous landmark.",
|
|
3071
|
-
s52PlRef: "
|
|
3072
|
-
|
|
3073
|
-
|
|
3086
|
+
s52PlRef: "TOWERS12",
|
|
3087
|
+
s57Class: "SILTNK",
|
|
3088
|
+
attributeKey: "CATSIL",
|
|
3089
|
+
attributeValue: 4,
|
|
3074
3090
|
renderSize: "32x32",
|
|
3075
3091
|
colors: [{ token: "CHBLK", hex: "#000000", usage: "Tank, legs, position circle" }],
|
|
3076
3092
|
lineStyles: [{ element: "Leg outlines", width: 1.2, color: "#000000" }, { element: "Tank outline", width: 0.8, color: "#000000" }, { element: "Position circle", width: 0.6, pattern: "2, 2", color: "#000000" }],
|
|
@@ -3085,9 +3101,11 @@ var NAUTICAL_SYMBOLS = [
|
|
|
3085
3101
|
getSvg: landmarkRadioTvMast,
|
|
3086
3102
|
group: "landmarks",
|
|
3087
3103
|
description: "Radio or television transmission mast with horizontal cross-arms.",
|
|
3088
|
-
|
|
3104
|
+
// Radio/TV masts are CATLMK 7 (mast) + FUNCTN in S-57, so both mast entries share MSTCON04
|
|
3105
|
+
s52PlRef: "MSTCON04",
|
|
3106
|
+
s57Class: "LNDMRK",
|
|
3089
3107
|
attributeKey: "CATLMK",
|
|
3090
|
-
attributeValue:
|
|
3108
|
+
attributeValue: 7,
|
|
3091
3109
|
renderSize: "32x32",
|
|
3092
3110
|
colors: [{ token: "CHBLK", hex: "#000000", usage: "Mast, cross-arms, top, position circle" }],
|
|
3093
3111
|
lineStyles: [{ element: "Main mast", width: 1.5, color: "#000000" }, { element: "Cross-arms", width: 0.8, color: "#000000" }, { element: "Position circle", width: 0.6, pattern: "2, 2", color: "#000000" }],
|
|
@@ -3102,9 +3120,12 @@ var NAUTICAL_SYMBOLS = [
|
|
|
3102
3120
|
getSvg: landmarkCross,
|
|
3103
3121
|
group: "landmarks",
|
|
3104
3122
|
description: "Religious cross or calvary conspicuous from seaward.",
|
|
3105
|
-
|
|
3123
|
+
// The PL has no dedicated symbol for CATLMK 14 (cross/calvary) — S-52 falls back to the
|
|
3124
|
+
// generic position symbol POSGEN01 (POSGEN03 when conspicuous)
|
|
3125
|
+
s52PlRef: "POSGEN01",
|
|
3126
|
+
s57Class: "LNDMRK",
|
|
3106
3127
|
attributeKey: "CATLMK",
|
|
3107
|
-
attributeValue:
|
|
3128
|
+
attributeValue: 14,
|
|
3108
3129
|
renderSize: "32x32",
|
|
3109
3130
|
colors: [{ token: "CHBLK", hex: "#000000", usage: "Cross arms and position circle" }],
|
|
3110
3131
|
lineStyles: [{ element: "Vertical arm", width: 2, color: "#000000" }, { element: "Horizontal arm", width: 2, color: "#000000" }, { element: "Position circle", width: 0.6, pattern: "2, 2", color: "#000000" }],
|
|
@@ -3119,9 +3140,11 @@ var NAUTICAL_SYMBOLS = [
|
|
|
3119
3140
|
getSvg: landmarkMast,
|
|
3120
3141
|
group: "landmarks",
|
|
3121
3142
|
description: "General mast (not radio/TV). Pole with spherical top.",
|
|
3122
|
-
s52PlRef: "
|
|
3143
|
+
s52PlRef: "MSTCON04",
|
|
3144
|
+
s57Class: "LNDMRK",
|
|
3123
3145
|
attributeKey: "CATLMK",
|
|
3124
|
-
attributeValue:
|
|
3146
|
+
attributeValue: 7,
|
|
3147
|
+
// MSTCON14 = conspicuous variant
|
|
3125
3148
|
renderSize: "32x32",
|
|
3126
3149
|
colors: [{ token: "CHBLK", hex: "#000000", usage: "Mast pole, top ball, position circle" }],
|
|
3127
3150
|
lineStyles: [{ element: "Mast pole", width: 2, color: "#000000" }, { element: "Position circle", width: 0.6, pattern: "2, 2", color: "#000000" }],
|
|
@@ -3136,9 +3159,10 @@ var NAUTICAL_SYMBOLS = [
|
|
|
3136
3159
|
getSvg: landmarkSilo,
|
|
3137
3160
|
group: "landmarks",
|
|
3138
3161
|
description: "Silo, grain elevator, or storage tank conspicuous from the sea.",
|
|
3139
|
-
s52PlRef: "
|
|
3140
|
-
|
|
3141
|
-
|
|
3162
|
+
s52PlRef: "SILBUI01",
|
|
3163
|
+
s57Class: "SILTNK",
|
|
3164
|
+
attributeKey: "CATSIL",
|
|
3165
|
+
attributeValue: 1,
|
|
3142
3166
|
renderSize: "32x32",
|
|
3143
3167
|
colors: [{ token: "CHBLK", hex: "#000000", usage: "Body, dome top, position circle" }],
|
|
3144
3168
|
lineStyles: [{ element: "Body 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" }],
|