Remove logging statements

This commit is contained in:
D. Berge
2025-08-17 13:17:00 +02:00
parent 12a762f44f
commit 24dcebd0d9
2 changed files with 0 additions and 7 deletions

View File

@@ -16,7 +16,6 @@ module.exports = async function (req, res, next) {
if (json.length) {
const data = bundle(json, {type});
console.log("bundle", data);
res.status(200).send(Buffer.from(data));
} else {
res.status(404).send();

View File

@@ -8,8 +8,6 @@ function bundle (json, opts = {}) {
const deltas = [];
const values = [];
// console.log("JSON LENGTH", json.length);
// console.log("OPTS", geometries, payload);
if (type == 0) {
/* Preplot information sail line points
@@ -74,7 +72,6 @@ function bundle (json, opts = {}) {
type: Uint16Array
});
console.log("JSON", json[0]);
return encode.sequential(json, el => el.line, el => el.point, deltas, values, type)
} else if (type == 2) {
@@ -222,9 +219,6 @@ function bundle (json, opts = {}) {
type: Uint8Array
});
console.log("DELTAS", deltas);
console.log("VALUES", values);
return encode.sequential(json, el => el.sequence, el => el.point, deltas, values, type)
} else if (type == 3) {
/* Final positions and raw vs final errors: