towerops/priv/antennas/ubiquiti-nb-2g18-vpol.msi
Graham McIntire 3273312f6a feat: 198 real vendor .msi antenna patterns + Leaflet auto-load
Sourced 198 vendor-published MSI Planet pattern files via the
wireless-planning.com aggregator (data1.mlinkplanner.com). Real
patterns now ship for: Cambium (6), Ubiquiti (154), RF Elements
(27), MARS (5), MTI Wireless (1), Tarana (2), Ruckus (1), RFE (2).
Files dropped into priv/antennas/<vendor>-<part>.msi; the existing
boot loader picks them up and they override the synthesized catalog
entries by slug where the slugs match.

Parser improvements to handle real-world MSI file quirks:
- File-extension filter now accepts .ant/.msi (case-insensitive).
- Slug normalisation: spaces, +, and other non-alnum collapse to
  hyphens.
- Header parser splits on whitespace runs (tab or space) — different
  vendor tools produce different delimiters.
- New parse_frequency_mhz/1 handles "5500", "5 GHz", "5GHz",
  "5.6GHz", "5500 MHz", "5150-5850" (centre frequency), and
  "5.45 - 5.85 GHz" formats. Replaces the old integer-only parse.
- 2 MARS files with non-360 angular resolution and 1 with
  angle-less pattern lines were excluded; the rest parse cleanly.

Total registry now 305 antennas: 198 real vendor patterns + 107
synthesized catalog entries (used as fallback for SKUs without
public .msi files: Cambium ePMP/PMP variants, Tarana G1/G2,
ALPHA, ITELITE, KP Performance, RADWIN, Mimosa, etc.).

Leaflet auto-load fix:
- The location-picker map wasn't appearing because the form page
  didn't have the inline <script> tag the existing site map uses
  to load Leaflet. AGENTS.md forbids inline <script> in templates,
  so I added an ensureLeaflet() helper in app.ts that lazy-loads
  /vendor/leaflet/leaflet.{js,css} on first hook mount and caches
  the promise. SitesMap, CoverageMap, and CoverageLocationPicker
  all use it now — no inline scripts needed.
2026-05-06 15:09:29 -05:00

732 lines
6.8 KiB
Text

NAME NB-2G18 V-pol
MAKE Ubiquiti
FREQUENCY 2500
H_WIDTH 18
V_WIDTH 23
FRONT_TO_BACK 28
GAIN 18 dBi
TILT 0
POLARIZATION VERTICAL
COMMENT NanoBridge M
HORIZONTAL 360
0 0
1 0.1
2 0.3
3 0.6
4 0.9
5 1.3
6 1.8
7 2.4
8 3
9 3.8
10 4.7
11 5.7
12 6.8
13 8.1
14 9.6
15 11.4
16 13.5
17 16.1
18 19.5
19 24.5
20 34.2
21 32.3
22 25.1
23 21.6
24 19.4
25 18.1
26 17.2
27 16.6
28 16.3
29 16.2
30 16.3
31 16.6
32 17
33 17.7
34 18.5
35 19.5
36 20.7
37 22.2
38 24.1
39 26.6
40 29.9
41 34.7
42 39
43 34.8
44 30.5
45 27.6
46 25.5
47 23.9
48 22.7
49 21.7
50 20.9
51 20.3
52 19.8
53 19.4
54 19.1
55 18.8
56 18.6
57 18.4
58 18.3
59 18.2
60 18.2
61 18.2
62 18.2
63 18.2
64 18.3
65 18.3
66 18.4
67 18.5
68 18.6
69 18.8
70 18.9
71 19
72 19.2
73 19.3
74 19.5
75 19.7
76 19.9
77 20.1
78 20.3
79 20.5
80 20.7
81 20.9
82 21.2
83 21.5
84 21.7
85 22
86 22.3
87 22.6
88 23
89 23.3
90 23.7
91 24
92 24.4
93 24.7
94 25.1
95 25.4
96 25.8
97 26
98 26.3
99 26.5
100 26.7
101 26.7
102 26.8
103 26.7
104 26.7
105 26.5
106 26.3
107 26.2
108 25.9
109 25.7
110 25.5
111 25.3
112 25.1
113 24.9
114 24.8
115 24.6
116 24.5
117 24.4
118 24.4
119 24.3
120 24.3
121 24.3
122 24.4
123 24.4
124 24.5
125 24.6
126 24.7
127 24.9
128 25
129 25.2
130 25.3
131 25.5
132 25.7
133 25.9
134 26.1
135 26.3
136 26.6
137 26.8
138 27.1
139 27.4
140 27.7
141 28
142 28.3
143 28.5
144 28.6
145 28.6
146 28.5
147 28.3
148 27.9
149 27.4
150 26.9
151 26.4
152 25.9
153 25.5
154 25.1
155 24.8
156 24.6
157 24.5
158 24.5
159 24.6
160 24.8
161 25.2
162 25.8
163 26.6
164 27.6
165 29
166 30.7
167 33.1
168 36.5
169 42.1
170 48.9
171 41.3
172 36.3
173 33.3
174 31.3
175 29.8
176 28.8
177 28.2
178 27.8
179 27.7
180 27.8
181 28.2
182 28.9
183 29.9
184 31.4
185 33.5
186 36.7
187 42.2
188 55.8
189 42.5
190 36.5
191 33
192 30.7
193 28.9
194 27.6
195 26.6
196 25.8
197 25.2
198 24.8
199 24.5
200 24.3
201 24.3
202 24.4
203 24.6
204 24.8
205 25.2
206 25.6
207 26.1
208 26.6
209 27
210 27.5
211 27.9
212 28.2
213 28.3
214 28.4
215 28.3
216 28.1
217 27.9
218 27.6
219 27.3
220 27
221 26.7
222 26.4
223 26.1
224 25.9
225 25.6
226 25.4
227 25.2
228 25
229 24.8
230 24.7
231 24.5
232 24.4
233 24.3
234 24.2
235 24.2
236 24.1
237 24.1
238 24.1
239 24.2
240 24.2
241 24.3
242 24.4
243 24.6
244 24.7
245 24.9
246 25.1
247 25.3
248 25.6
249 25.8
250 26
251 26.3
252 26.5
253 26.7
254 26.8
255 26.9
256 27
257 26.9
258 26.8
259 26.7
260 26.4
261 26.2
262 25.9
263 25.5
264 25.2
265 24.8
266 24.4
267 24
268 23.6
269 23.3
270 22.9
271 22.6
272 22.2
273 21.9
274 21.6
275 21.3
276 21
277 20.7
278 20.5
279 20.2
280 20
281 19.7
282 19.5
283 19.3
284 19.1
285 18.9
286 18.7
287 18.5
288 18.4
289 18.2
290 18.1
291 18
292 17.9
293 17.8
294 17.7
295 17.7
296 17.7
297 17.7
298 17.7
299 17.7
300 17.8
301 18
302 18.1
303 18.4
304 18.6
305 19
306 19.4
307 20
308 20.6
309 21.4
310 22.4
311 23.7
312 25.3
313 27.4
314 30.3
315 34.4
316 37.8
317 33.9
318 29.5
319 26.3
320 23.9
321 22
322 20.5
323 19.3
324 18.3
325 17.5
326 16.9
327 16.5
328 16.2
329 16.1
330 16.2
331 16.6
332 17.1
333 18.1
334 19.5
335 21.6
336 25.3
337 33.1
338 34.3
339 24.3
340 19.3
341 15.9
342 13.4
343 11.3
344 9.5
345 8
346 6.7
347 5.6
348 4.6
349 3.7
350 3
351 2.3
352 1.8
353 1.3
354 0.9
355 0.6
356 0.3
357 0.1
358 0
359 0
VERTICAL 360
0 0
1 0
2 0.1
3 0.2
4 0.4
5 0.6
6 0.9
7 1.2
8 1.5
9 1.9
10 2.4
11 2.9
12 3.4
13 4.1
14 4.7
15 5.4
16 6.2
17 7
18 7.9
19 8.8
20 9.8
21 10.9
22 12
23 13.2
24 14.5
25 15.8
26 17.1
27 18.5
28 19.8
29 21.1
30 22.2
31 23
32 23.5
33 23.8
34 23.8
35 23.7
36 23.5
37 23.3
38 23.1
39 22.9
40 22.8
41 22.6
42 22.5
43 22.4
44 22.4
45 22.3
46 22.3
47 22.3
48 22.4
49 22.4
50 22.4
51 22.5
52 22.6
53 22.7
54 22.9
55 23
56 23.2
57 23.4
58 23.6
59 23.9
60 24.1
61 24.4
62 24.7
63 25
64 25.3
65 25.6
66 25.9
67 26.3
68 26.6
69 26.9
70 27.2
71 27.5
72 27.7
73 28
74 28.2
75 28.4
76 28.5
77 28.7
78 28.8
79 29
80 29.1
81 29.2
82 29.3
83 29.5
84 29.6
85 29.8
86 30
87 30.2
88 30.5
89 30.7
90 31
91 31.4
92 31.8
93 32.2
94 32.7
95 33.2
96 33.7
97 34.2
98 34.8
99 35.3
100 35.8
101 36.2
102 36.4
103 36.6
104 36.5
105 36.3
106 36
107 35.7
108 35.3
109 34.8
110 34.4
111 34
112 33.7
113 33.4
114 33.2
115 33
116 32.9
117 32.9
118 32.9
119 32.9
120 33.1
121 33.3
122 33.6
123 34
124 34.4
125 35
126 35.6
127 36.4
128 37.3
129 38.3
130 39.5
131 41
132 42.7
133 44.7
134 47.3
135 50.6
136 54.8
137 58.1
138 55.9
139 52.6
140 50.3
141 48.7
142 47.6
143 46.9
144 46.5
145 46.2
146 46
147 45.9
148 45.9
149 45.7
150 45.6
151 45.4
152 45.3
153 45.2
154 45.3
155 45.5
156 46
157 46.8
158 48
159 49.3
160 50
161 48.7
162 46
163 43.2
164 40.7
165 38.5
166 36.7
167 35.1
168 33.7
169 32.5
170 31.5
171 30.6
172 29.8
173 29.2
174 28.7
175 28.3
176 28
177 27.8
178 27.7
179 27.7
180 27.8
181 27.9
182 28.2
183 28.6
184 29.1
185 29.7
186 30.3
187 31.1
188 32
189 33.1
190 34.2
191 35.4
192 36.7
193 38
194 39.3
195 40.3
196 41
197 41.2
198 41
199 40.5
200 39.9
201 39.2
202 38.6
203 37.9
204 37.3
205 36.8
206 36.3
207 35.9
208 35.6
209 35.3
210 35.1
211 35.1
212 35.1
213 35.2
214 35.5
215 35.9
216 36.5
217 37.3
218 38.3
219 39.7
220 41.5
221 44
222 47.7
223 53.3
224 52.8
225 47
226 43.1
227 40.3
228 38.2
229 36.6
230 35.2
231 34.1
232 33.1
233 32.4
234 31.7
235 31.2
236 30.7
237 30.4
238 30.1
239 29.9
240 29.8
241 29.7
242 29.7
243 29.8
244 30
245 30.2
246 30.5
247 30.8
248 31.2
249 31.7
250 32.3
251 32.9
252 33.6
253 34.3
254 35.1
255 35.8
256 36.3
257 36.7
258 36.8
259 36.6
260 36.2
261 35.6
262 34.9
263 34.1
264 33.4
265 32.8
266 32.2
267 31.7
268 31.2
269 30.8
270 30.5
271 30.2
272 30
273 29.9
274 29.8
275 29.8
276 29.8
277 29.9
278 30
279 30.2
280 30.5
281 30.8
282 31.2
283 31.7
284 32.2
285 32.8
286 33.4
287 34.1
288 34.8
289 35.4
290 36
291 36.3
292 36.5
293 36.3
294 35.9
295 35.3
296 34.5
297 33.8
298 33
299 32.3
300 31.6
301 31
302 30.5
303 30
304 29.5
305 29.1
306 28.7
307 28.4
308 28.1
309 27.8
310 27.6
311 27.4
312 27.2
313 27.1
314 27
315 27
316 26.9
317 27
318 27.1
319 27.2
320 27.5
321 27.9
322 28.4
323 29.1
324 29.9
325 30.8
326 31.5
327 31.3
328 30
329 27.8
330 25.5
331 23.2
332 21.1
333 19.2
334 17.5
335 15.9
336 14.4
337 13
338 11.8
339 10.6
340 9.5
341 8.5
342 7.6
343 6.7
344 5.9
345 5.1
346 4.4
347 3.8
348 3.2
349 2.7
350 2.2
351 1.8
352 1.4
353 1
354 0.8
355 0.5
356 0.3
357 0.2
358 0.1
359 0