towerops/priv/antennas/ubiquiti-am-5g20-90-hpol.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 AM-5G20-90 H-pol
MAKE Ubiquiti
FREQUENCY 5500
H_WIDTH 78
V_WIDTH 4
FRONT_TO_BACK 23
GAIN 20 dBi
TILT 2
POLARIZATION HORIZONTAL
COMMENT AirMax Base Station
HORIZONTAL 360
0 0
1 0
2 0
3 0.1
4 0.1
5 0.1
6 0.2
7 0.2
8 0.3
9 0.3
10 0.3
11 0.4
12 0.4
13 0.4
14 0.4
15 0.4
16 0.4
17 0.4
18 0.4
19 0.4
20 0.4
21 0.4
22 0.4
23 0.4
24 0.4
25 0.5
26 0.6
27 0.6
28 0.7
29 0.9
30 1
31 1.2
32 1.4
33 1.6
34 1.8
35 2.1
36 2.4
37 2.7
38 3.1
39 3.4
40 3.8
41 4.3
42 4.7
43 5.2
44 5.8
45 6.3
46 6.9
47 7.6
48 8.2
49 9
50 9.7
51 10.5
52 11.4
53 12.3
54 13.2
55 14.2
56 15.3
57 16.4
58 17.5
59 18.6
60 19.8
61 20.8
62 21.6
63 22.2
64 22.5
65 22.5
66 22.3
67 21.9
68 21.4
69 21
70 20.5
71 20.1
72 19.8
73 19.5
74 19.2
75 18.9
76 18.8
77 18.6
78 18.5
79 18.4
80 18.3
81 18.3
82 18.3
83 18.3
84 18.3
85 18.3
86 18.4
87 18.5
88 18.6
89 18.7
90 18.8
91 18.9
92 19.1
93 19.2
94 19.4
95 19.6
96 19.7
97 19.9
98 20.1
99 20.2
100 20.4
101 20.5
102 20.7
103 20.8
104 20.9
105 21
106 21.1
107 21.2
108 21.3
109 21.3
110 21.3
111 21.3
112 21.4
113 21.4
114 21.3
115 21.3
116 21.3
117 21.3
118 21.3
119 21.4
120 21.4
121 21.4
122 21.5
123 21.6
124 21.7
125 21.9
126 22
127 22.2
128 22.5
129 22.8
130 23.1
131 23.5
132 23.9
133 24.3
134 24.8
135 25.4
136 26
137 26.6
138 27.2
139 27.9
140 28.4
141 28.8
142 29.1
143 29.2
144 29.2
145 29
146 28.7
147 28.4
148 28
149 27.7
150 27.5
151 27.4
152 27.3
153 27.3
154 27.5
155 27.7
156 28.1
157 28.6
158 29.2
159 29.9
160 30.7
161 31.6
162 32.3
163 32.7
164 32.6
165 32
166 31
167 29.8
168 28.7
169 27.6
170 26.7
171 25.9
172 25.1
173 24.5
174 24
175 23.6
176 23.3
177 23.1
178 23
179 22.9
180 23
181 23.1
182 23.3
183 23.6
184 24
185 24.5
186 25.1
187 25.9
188 26.7
189 27.6
190 28.7
191 29.8
192 31
193 32
194 32.6
195 32.7
196 32.3
197 31.6
198 30.7
199 29.9
200 29.2
201 28.6
202 28.1
203 27.7
204 27.5
205 27.3
206 27.3
207 27.4
208 27.5
209 27.7
210 28
211 28.4
212 28.7
213 29
214 29.2
215 29.2
216 29.1
217 28.8
218 28.4
219 27.9
220 27.2
221 26.6
222 26
223 25.4
224 24.8
225 24.3
226 23.9
227 23.5
228 23.1
229 22.8
230 22.5
231 22.2
232 22
233 21.9
234 21.7
235 21.6
236 21.5
237 21.4
238 21.4
239 21.4
240 21.3
241 21.3
242 21.3
243 21.3
244 21.3
245 21.4
246 21.4
247 21.3
248 21.3
249 21.3
250 21.3
251 21.2
252 21.1
253 21
254 20.9
255 20.8
256 20.7
257 20.5
258 20.4
259 20.2
260 20.1
261 19.9
262 19.7
263 19.6
264 19.4
265 19.2
266 19.1
267 18.9
268 18.8
269 18.7
270 18.6
271 18.5
272 18.4
273 18.3
274 18.3
275 18.3
276 18.3
277 18.3
278 18.3
279 18.4
280 18.5
281 18.6
282 18.8
283 18.9
284 19.2
285 19.5
286 19.8
287 20.1
288 20.5
289 21
290 21.4
291 21.9
292 22.3
293 22.5
294 22.5
295 22.2
296 21.6
297 20.8
298 19.8
299 18.6
300 17.5
301 16.4
302 15.3
303 14.2
304 13.2
305 12.3
306 11.4
307 10.5
308 9.7
309 9
310 8.2
311 7.6
312 6.9
313 6.3
314 5.8
315 5.2
316 4.7
317 4.3
318 3.8
319 3.4
320 3.1
321 2.7
322 2.4
323 2.1
324 1.8
325 1.6
326 1.4
327 1.2
328 1
329 0.9
330 0.7
331 0.6
332 0.6
333 0.5
334 0.4
335 0.4
336 0.4
337 0.4
338 0.4
339 0.4
340 0.4
341 0.4
342 0.4
343 0.4
344 0.4
345 0.4
346 0.4
347 0.4
348 0.3
349 0.3
350 0.3
351 0.2
352 0.2
353 0.1
354 0.1
355 0.1
356 0
357 0
358 0
359 0
VERTICAL 360
0 1.1
1 0
2 0.3
3 2.1
4 5.8
5 13.7
6 22.3
7 12.4
8 10.7
9 12.4
10 17.8
11 28.8
12 19.8
13 17.3
14 18.9
15 23.8
16 23.6
17 19.3
18 18
19 19.3
20 22.9
21 26
22 24.2
23 23.2
24 25.2
25 30.9
26 29.6
27 24.4
28 22.5
29 22.9
30 25.6
31 31.6
32 38.2
33 32.1
34 30.1
35 31
36 33.4
37 34
38 32.6
39 32.7
40 36.1
41 50.2
42 35.6
43 29.6
44 26.9
45 26
46 26.5
47 28.5
48 33
49 43.6
50 41.9
51 40.3
52 38.8
53 37.4
54 36.1
55 35
56 34
57 33.2
58 32.5
59 32
60 31.7
61 31.5
62 31.5
63 31.6
64 31.8
65 32.1
66 32.6
67 33.1
68 33.7
69 34.3
70 35.1
71 35.9
72 36.8
73 37.7
74 38.5
75 39.2
76 39.7
77 39.9
78 40
79 39.9
80 39.7
81 39.4
82 39
83 38.7
84 38.4
85 38.1
86 37.8
87 37.5
88 37.3
89 37.1
90 36.9
91 36.7
92 36.6
93 36.4
94 36.3
95 36.2
96 36.1
97 36
98 36
99 36
100 36
101 36
102 36.1
103 36.2
104 36.3
105 36.5
106 36.8
107 37.2
108 37.7
109 38.2
110 38.9
111 39.7
112 40.6
113 41.7
114 42.7
115 43.7
116 44.2
117 44.1
118 43.4
119 42.4
120 41.4
121 40.5
122 39.7
123 39.2
124 38.9
125 38.9
126 39.2
127 39.7
128 40.7
129 42.1
130 44.1
131 47.1
132 51.2
133 53.7
134 50.3
135 46.9
136 44.6
137 43.3
138 42.7
139 42.8
140 43.5
141 44.9
142 46.6
143 47.3
144 45.6
145 42.9
146 40.6
147 38.9
148 37.8
149 37.2
150 37.2
151 37.7
152 38.9
153 40.8
154 43.1
155 43.9
156 41.5
157 38.6
158 36.3
159 34.7
160 33.7
161 33.2
162 33.2
163 33.7
164 34.6
165 36
166 37.5
167 38.2
168 37.5
169 35.9
170 34.3
171 33.5
172 32.8
173 32.2
174 31.8
175 31.5
176 31.3
177 31.3
178 31.4
179 31.8
180 29.6
181 28.7
182 27.8
183 27.7
184 27.7
185 28.1
186 28.5
187 29
188 29.6
189 30.9
190 32.1
191 32.4
192 31.4
193 29.9
194 28.5
195 27.5
196 27
197 27
198 27.4
199 28.4
200 30
201 32.4
202 35.3
203 37.4
204 36.1
205 33.7
206 31.8
207 30.7
208 30.2
209 30.2
210 30.8
211 31.9
212 33.7
213 36.2
214 39.3
215 41.4
216 40.4
217 38.3
218 36.6
219 35.8
220 35.6
221 36.1
222 37.4
223 39.6
224 43.2
225 47.5
226 45.1
227 40.5
228 37.3
229 35.1
230 33.6
231 32.6
232 32
233 31.7
234 31.7
235 32
236 32.6
237 33.4
238 34.4
239 35.7
240 37.2
241 38.6
242 39.4
243 39
244 37.9
245 36.5
246 35.1
247 33.9
248 32.9
249 32.1
250 31.4
251 30.9
252 30.5
253 30.1
254 29.8
255 29.6
256 29.5
257 29.4
258 29.3
259 29.3
260 29.3
261 29.4
262 29.4
263 29.5
264 29.6
265 29.8
266 29.9
267 30
268 30.2
269 30.4
270 30.6
271 30.9
272 31.1
273 31.4
274 31.7
275 32
276 32.3
277 32.6
278 32.9
279 33.1
280 33.1
281 33.1
282 32.8
283 32.3
284 31.7
285 31
286 30.2
287 29.4
288 28.7
289 28
290 27.5
291 27
292 26.6
293 26.3
294 26.2
295 26.2
296 26.4
297 26.9
298 27.5
299 28.4
300 29.3
301 30.4
302 31.4
303 32.4
304 33.4
305 34.4
306 35.3
307 36.2
308 37.1
309 38
310 42.7
311 37.1
312 33.8
313 33
314 33.9
315 35.5
316 35.2
317 33.3
318 32.9
319 35.8
320 49.7
321 33.6
322 27.1
323 24
324 23
325 24.1
326 28.4
327 41.2
328 27.6
329 22.4
330 20.7
331 21.1
332 24
333 30
334 29.2
335 25.1
336 24.7
337 27.7
338 28.6
339 23.3
340 20.4
341 20.2
342 22.6
343 27.4
344 26.2
345 23.7
346 25.4
347 32.2
348 22.8
349 17.8
350 16.6
351 19.2
352 29.3
353 18.8
354 13.4
355 12
356 13.8
357 14.7
358 8.4
359 3.7