diff --git a/server/providers/regional/outlineSelect.js b/server/providers/regional/outlineSelect.js index 37387161b..cdaead385 100644 --- a/server/providers/regional/outlineSelect.js +++ b/server/providers/regional/outlineSelect.js @@ -547,8 +547,6 @@ export function selectOutlineResult(rows, { kind, query }) { skipped.push(`${label}: too large`); continue; } - const lat = Number(row.lat); - const lon = Number(row.lon); return { outline: { name: String(row.name || '').slice(0, 160) || null, @@ -559,7 +557,6 @@ export function selectOutlineResult(rows, { kind, query }) { row.osm_type && row.osm_id != null ? `${row.osm_type}/${row.osm_id}` : null, - center: finiteLat(lat) && finiteLon(lon) ? { lat, lon } : null, polygons, }, skipped, diff --git a/src/annotations/outlineRungs.js b/src/annotations/outlineRungs.js index 7461bd42c..5d8d3064b 100644 --- a/src/annotations/outlineRungs.js +++ b/src/annotations/outlineRungs.js @@ -262,7 +262,6 @@ export function createOutlineRungs({ if (!containsAnchor(outline.polygons, ctx.lat, ctx.lon)) return null; const polygons = anchorPartFirst(outline.polygons, [ { lat: ctx.lat, lon: ctx.lon }, - outline.center || {}, ]); const ring = polygons[0][0]; // A grounds ask answered by a building-sized polygon found the named