@futdevpro/fsm-dynamo 1.20.205 → 1.20.206

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/README.md CHANGED
@@ -285,6 +285,8 @@ Comprehensive suite for handling geographical data and location-based functional
285
285
  - Geographical utilities for coordinates and distance calculations
286
286
  - Region classification and IP-based location services
287
287
  - Phone code integration
288
+ - Coordinates to ISO 3166-2 subdivision code without network (`DyFM_SubdivisionLocator`; Hungary: the 19
289
+ counties and Budapest, e.g. `getSubdivisionCode({ latitude: 47.53, longitude: 21.63 })` is `HU-HB`)
288
290
 
289
291
  **Example:**
290
292
  ```typescript
@@ -721,3 +723,10 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
721
723
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
722
724
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
723
725
  SOFTWARE.
726
+
727
+ ### Third-party data
728
+
729
+ The subdivision boundaries of the location module (`src/_modules/location/_collections/assets/subdivision-boundaries/`)
730
+ are derived from OpenStreetMap data: © OpenStreetMap contributors, available under the Open Database License
731
+ (ODbL 1.0, https://www.openstreetmap.org/copyright). These files are under the ODbL, not the MIT License;
732
+ a product that shows results computed from them should credit OpenStreetMap.
@@ -0,0 +1,174 @@
1
+ [
2
+ {
3
+ "name": "Baranya",
4
+ "code": "HU-BA"
5
+ },
6
+ {
7
+ "name": "Borsod-Abaúj-Zemplén",
8
+ "code": "HU-BZ"
9
+ },
10
+ {
11
+ "name": "Budapest",
12
+ "code": "HU-BU"
13
+ },
14
+ {
15
+ "name": "Bács-Kiskun",
16
+ "code": "HU-BK"
17
+ },
18
+ {
19
+ "name": "Békés",
20
+ "code": "HU-BE"
21
+ },
22
+ {
23
+ "name": "Békéscsaba",
24
+ "code": "HU-BC"
25
+ },
26
+ {
27
+ "name": "Csongrád",
28
+ "code": "HU-CS"
29
+ },
30
+ {
31
+ "name": "Debrecen",
32
+ "code": "HU-DE"
33
+ },
34
+ {
35
+ "name": "Dunaújváros",
36
+ "code": "HU-DU"
37
+ },
38
+ {
39
+ "name": "Eger",
40
+ "code": "HU-EG"
41
+ },
42
+ {
43
+ "name": "Fejér",
44
+ "code": "HU-FE"
45
+ },
46
+ {
47
+ "name": "Győr",
48
+ "code": "HU-GY"
49
+ },
50
+ {
51
+ "name": "Győr-Moson-Sopron",
52
+ "code": "HU-GS"
53
+ },
54
+ {
55
+ "name": "Hajdú-Bihar",
56
+ "code": "HU-HB"
57
+ },
58
+ {
59
+ "name": "Heves",
60
+ "code": "HU-HE"
61
+ },
62
+ {
63
+ "name": "Hódmezővásárhely",
64
+ "code": "HU-HV"
65
+ },
66
+ {
67
+ "name": "Jász-Nagykun-Szolnok",
68
+ "code": "HU-JN"
69
+ },
70
+ {
71
+ "name": "Kaposvár",
72
+ "code": "HU-KV"
73
+ },
74
+ {
75
+ "name": "Kecskemét",
76
+ "code": "HU-KM"
77
+ },
78
+ {
79
+ "name": "Komárom-Esztergom",
80
+ "code": "HU-KE"
81
+ },
82
+ {
83
+ "name": "Miskolc",
84
+ "code": "HU-MI"
85
+ },
86
+ {
87
+ "name": "Nagykanizsa",
88
+ "code": "HU-NK"
89
+ },
90
+ {
91
+ "name": "Nyíregyháza",
92
+ "code": "HU-NY"
93
+ },
94
+ {
95
+ "name": "Nógrád",
96
+ "code": "HU-NO"
97
+ },
98
+ {
99
+ "name": "Pest",
100
+ "code": "HU-PE"
101
+ },
102
+ {
103
+ "name": "Pécs",
104
+ "code": "HU-PS"
105
+ },
106
+ {
107
+ "name": "Salgótarján",
108
+ "code": "HU-ST"
109
+ },
110
+ {
111
+ "name": "Somogy",
112
+ "code": "HU-SO"
113
+ },
114
+ {
115
+ "name": "Sopron",
116
+ "code": "HU-SN"
117
+ },
118
+ {
119
+ "name": "Szabolcs-Szatmár-Bereg",
120
+ "code": "HU-SZ"
121
+ },
122
+ {
123
+ "name": "Szeged",
124
+ "code": "HU-SD"
125
+ },
126
+ {
127
+ "name": "Szekszárd",
128
+ "code": "HU-SS"
129
+ },
130
+ {
131
+ "name": "Szolnok",
132
+ "code": "HU-SK"
133
+ },
134
+ {
135
+ "name": "Szombathely",
136
+ "code": "HU-SH"
137
+ },
138
+ {
139
+ "name": "Székesfehérvár",
140
+ "code": "HU-SF"
141
+ },
142
+ {
143
+ "name": "Tatabánya",
144
+ "code": "HU-TB"
145
+ },
146
+ {
147
+ "name": "Tolna",
148
+ "code": "HU-TO"
149
+ },
150
+ {
151
+ "name": "Vas",
152
+ "code": "HU-VA"
153
+ },
154
+ {
155
+ "name": "Veszprém",
156
+ "code": "HU-VE"
157
+ },
158
+ {
159
+ "name": "Veszprém",
160
+ "code": "HU-VM"
161
+ },
162
+ {
163
+ "name": "Zala",
164
+ "code": "HU-ZA"
165
+ },
166
+ {
167
+ "name": "Zalaegerszeg",
168
+ "code": "HU-ZE"
169
+ },
170
+ {
171
+ "name": "Érd",
172
+ "code": "HU-ER"
173
+ }
174
+ ]