Skip to content

A spy satellite simulator in your browser, except the data is real. Live open source spatial intelligence on a photorealistic 3D globe.

feat(cctv): vendor the model specs the integrated catalogs publish

bassem chagra97118f478100
diff --git a/src/layers/cctv/modelSpecs.js b/src/layers/cctv/modelSpecs.js
index e9bb48856..463e750ad 100644
--- a/src/layers/cctv/modelSpecs.js
+++ b/src/layers/cctv/modelSpecs.js
@@ -13,8 +13,11 @@
* Spec records are vendored verbatim from the CCTV Camera Database
* (https://github.com/ch-bas/cctv-camera-database, CC0-1.0) — an open dataset
* of 12,000+ camera models transcribed from manufacturer datasheets (84% with
- * FOV). This module ships a small starter table; city packs that publish
- * their hardware models can grow it, or vendor the full extract.
+ * FOV). This module vendors the records that the currently integrated public
+ * catalogs publish hardware for — King County WA (Cohu, Bosch AUTODOME, Axis
+ * Q6135-LE), plus the Bosch AUTODOME and Axis PTZ/multisensor models that
+ * appear in Sarasota County FL and Sioux Falls SD open data; packs that
+ * publish other hardware models can grow it, or vendor the full extract.
*
* Scope guardrail: records describe camera PRODUCTS (optics, resolution,
* night vision) — never endpoints, stream paths, or access/config data.
@@ -78,6 +81,220 @@ const RECORDS = [
environment: ['outdoor'],
ndaa_compliant: true,
},
+ {
+ id: 'axis-p3707-pe',
+ brand: 'Axis',
+ model: 'P3707-PE',
+ type: 'panoramic',
+ url: 'https://www.cctv-database.com/camera/axis-p3707-pe/',
+ aliases: ['AXIS P3707-PE', 'P3707-PE'],
+ fov_deg: '108-54 horizontal per sensor (4x 1080p)',
+ resolution: {
+ mp: 8,
+ w: 1920,
+ h: 1080,
+ label: '4x 2MP (8MP total; 4x 1080p)',
+ },
+ lens_count: 4,
+ varifocal: true,
+ environment: ['outdoor'],
+ },
+ {
+ id: 'axis-q6000-e-mk-ii',
+ brand: 'Axis',
+ model: 'Q6000-E Mk II',
+ type: 'panoramic',
+ url: 'https://www.cctv-database.com/camera/axis-q6000-e-mk-ii/',
+ aliases: [
+ 'AXIS Q6000-E Mk II',
+ 'Q6000-E Mk II 50 Hz',
+ 'Q6000-E Mk II 60 Hz',
+ ],
+ fov_deg: 'up to 360 combined; 113-152 horizontal per sensor',
+ resolution: {
+ mp: 8,
+ w: 1920,
+ h: 1080,
+ label: '4x 2MP (8MP total; 4x 1080p)',
+ },
+ lens_count: 4,
+ environment: ['outdoor'],
+ },
+ {
+ id: 'axis-q6054-e',
+ brand: 'Axis',
+ model: 'Q6054-E',
+ type: 'ptz',
+ url: 'https://www.cctv-database.com/camera/axis-q6054-e/',
+ aliases: ['AXIS Q6054-E', 'Q6054-E 50 Hz', 'Q6054-E 60 Hz'],
+ fov_deg: '62.9-2.2 horizontal',
+ resolution: { mp: 1, w: 1280, h: 720, label: '720p HD' },
+ ptz: true,
+ autotracking: true,
+ varifocal: true,
+ environment: ['outdoor'],
+ },
+ {
+ id: 'axis-q6155-e',
+ brand: 'Axis',
+ model: 'Q6155-E',
+ type: 'ptz',
+ url: 'https://www.cctv-database.com/camera/axis-q6155-e/',
+ aliases: ['AXIS Q6155-E', 'Q6155-E 50 Hz', 'Q6155-E 60 Hz'],
+ fov_deg: '66.7-2.36 horizontal',
+ resolution: { mp: 2, w: 1920, h: 1080, label: '1080p HD' },
+ ptz: true,
+ autotracking: true,
+ varifocal: true,
+ environment: ['outdoor'],
+ },
+ {
+ id: 'bosch-autodome-500i',
+ brand: 'Bosch',
+ model: 'AutoDome 500i Series (VG4)',
+ type: 'ptz',
+ url: 'https://www.cctv-database.com/camera/bosch-autodome-500i/',
+ aliases: [
+ 'VG4 AUTODOME',
+ 'VG4 AUTODOME H.264',
+ 'AutoDome 500i',
+ 'AutoDome 500i Series',
+ 'VG4-500i',
+ 'VG4-500',
+ ],
+ fov_deg: '57.8-1.7 horizontal',
+ resolution: { mp: 0.4, label: '540 TVL (NTSC/PAL)' },
+ ptz: true,
+ autotracking: true,
+ varifocal: true,
+ environment: ['outdoor'],
+ },
+ {
+ id: 'bosch-autodome-ip-dynamic-7000-hd',
+ brand: 'Bosch',
+ model: 'AUTODOME IP dynamic 7000 HD',
+ type: 'ptz',
+ url: 'https://www.cctv-database.com/camera/bosch-autodome-ip-dynamic-7000-hd/',
+ aliases: ['AUTODOME IP dynamic 7000 HD', 'AUTODOME 7000 dynamic HD'],
+ fov_deg: '65-2.3 horizontal',
+ resolution: { mp: 2, w: 1920, h: 1080, label: '1080p HD (2MP)' },
+ ptz: true,
+ autotracking: true,
+ varifocal: true,
+ environment: ['outdoor'],
+ },
+ {
+ id: 'bosch-autodome-ip-starlight-7000-hd',
+ brand: 'Bosch',
+ model: 'AUTODOME IP starlight 7000 HD',
+ type: 'ptz',
+ url: 'https://www.cctv-database.com/camera/bosch-autodome-ip-starlight-7000-hd/',
+ aliases: [
+ 'AUTODOME IP starlight 7000 HD',
+ 'Starlight 7000HD',
+ 'VG5-7130-CPT4',
+ 'VG5-7130',
+ ],
+ fov_deg: '59-2.1 horizontal',
+ resolution: { mp: 1, w: 1280, h: 720, label: '720p HD (1.3MP sensor)' },
+ ptz: true,
+ autotracking: true,
+ varifocal: true,
+ environment: ['outdoor'],
+ },
+ {
+ id: 'bosch-ndp-5502-30',
+ brand: 'Bosch',
+ model: 'AUTODOME IP 5000i (NDP-5502-Z30)',
+ type: 'ptz',
+ url: 'https://www.cctv-database.com/camera/bosch-ndp-5502-30/',
+ aliases: [
+ 'AUTODOME IP 5000i',
+ 'NDP-5502-Z30',
+ 'NDP-5502-Z30C',
+ 'NDP-5502-30',
+ ],
+ fov_deg: '60.9-2.4 horizontal',
+ resolution: { mp: 2, w: 1920, h: 1080, label: '1080p HD (2MP)' },
+ ptz: true,
+ varifocal: true,
+ environment: ['outdoor'],
+ },
+ {
+ id: 'bosch-ndp-7512-z30',
+ brand: 'Bosch',
+ model: 'AUTODOME IP starlight 7000i (NDP-7512-Z30)',
+ type: 'ptz',
+ url: 'https://www.cctv-database.com/camera/bosch-ndp-7512-z30/',
+ aliases: [
+ 'AUTODOME IP starlight 7000i',
+ 'NDP-7512-Z30',
+ 'NDP-7512-Z30C',
+ 'NDP-7512-Z30K',
+ ],
+ fov_deg: '64.7-2.3 horizontal',
+ resolution: { mp: 2, w: 1920, h: 1080, label: '1080p HD (2MP)' },
+ ptz: true,
+ autotracking: true,
+ varifocal: true,
+ environment: ['outdoor'],
+ },
+ {
+ id: 'bosch-vg5-836-ecev',
+ brand: 'Bosch',
+ model: 'AUTODOME 800 Series HD PTZ (VG5-836-ECEV)',
+ type: 'ptz',
+ url: 'https://www.cctv-database.com/camera/bosch-vg5-836-ecev/',
+ aliases: ['VG5-836-ECEV', 'VG5-836', 'AUTODOME 800 Series'],
+ resolution: { mp: 2, label: '1080p' },
+ ptz: true,
+ autotracking: true,
+ environment: ['outdoor'],
+ },
+ {
+ id: 'cohu-3920-idome',
+ brand: 'Cohu',
+ model: '3920 iDome',
+ type: 'ptz',
+ url: 'https://www.cctv-database.com/camera/cohu-3920-idome/',
+ aliases: [
+ '3920',
+ '3920 Series',
+ '3923',
+ '3925',
+ '3925 Dome',
+ 'iDome 3925',
+ 'Cohu iDome 3920 Series',
+ ],
+ resolution: { mp: 0.4, label: 'NTSC / 470 TVL' },
+ ptz: true,
+ varifocal: true,
+ environment: ['outdoor'],
+ },
+ {
+ id: 'cohu-3950-iview',
+ brand: 'Cohu',
+ model: '3950 iVIEW',
+ type: 'ptz',
+ url: 'https://www.cctv-database.com/camera/cohu-3950-iview/',
+ aliases: ['3950', '3950 Series', 'Cohu 3950 Series iVIEW'],
+ resolution: { mp: 0.4, label: 'NTSC / 470 TVL' },
+ ptz: true,
+ varifocal: true,
+ environment: ['outdoor'],
+ },
+ {
+ id: 'cohu-3960',
+ brand: 'Cohu',
+ model: '3960',
+ type: 'ptz',
+ url: 'https://www.cctv-database.com/camera/cohu-3960/',
+ aliases: ['3960 Series', '3964', '3965', 'Cohu 3960 iView'],
+ resolution: { mp: 0.4, label: 'NTSC/PAL / 470 TVL' },
+ ptz: true,
+ varifocal: true,
+ environment: ['outdoor'],
+ },
];
const BY_MODEL = new Map();
diff --git a/src/layers/cctv/modelSpecs.test.mjs b/src/layers/cctv/modelSpecs.test.mjs
index 4d6f80370..b31f2d714 100644
--- a/src/layers/cctv/modelSpecs.test.mjs
+++ b/src/layers/cctv/modelSpecs.test.mjs
@@ -23,6 +23,19 @@ test('lookupModelSpec matches aliases', () => {
assert.equal(byAlias.model, 'Q6135-LE');
});
+test('vendored table covers the integrated catalogs published hardware', () => {
+ // Models the live packs publish: King County (Cohu, AUTODOME IP 5000i),
+ // Sarasota (Bosch AUTODOME 7000/VG4), Sioux Falls (Axis).
+ const cohu = lookupModelSpec('3950'); // King County publishes "3950"
+ assert.equal(cohu?.brand, 'Cohu');
+ const autodome = lookupModelSpec('AUTODOME IP 5000i');
+ assert.ok(autodome && horizontalFovDeg(autodome) > 0);
+ const vg4 = lookupModelSpec('VG4 AUTODOME H.264'); // Sarasota's string
+ assert.ok(vg4);
+ const axis = lookupModelSpec('Q6155-E'); // Sioux Falls
+ assert.equal(horizontalFovDeg(axis), 66.7);
+});
+
test('lookupModelSpec returns null for unknown or empty input — never guesses', () => {
assert.equal(lookupModelSpec('NOT-A-REAL-MODEL'), null);
assert.equal(lookupModelSpec(''), null);