From 0b1ccfc478569650a23fe25104498cdeb4eedbe2 Mon Sep 17 00:00:00 2001 From: Jugurtha Bouhadoun Date: Tue, 18 Jun 2024 15:50:34 +0200 Subject: [PATCH] remove comment --- .../consumers/export-to-exploitation-db-consumer.js | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/lib/api/consumers/export-to-exploitation-db-consumer.js b/lib/api/consumers/export-to-exploitation-db-consumer.js index 32760b85..76ab3c2f 100644 --- a/lib/api/consumers/export-to-exploitation-db-consumer.js +++ b/lib/api/consumers/export-to-exploitation-db-consumer.js @@ -41,12 +41,7 @@ const EXPLOITATION_DB_COLLECTION_NAMES = { address: 'numeros' } -// QUERIES & POSTGIS FUNCTIONS -// The queries are written in raw SQL to be able to use the PostGIS functions -// centroid: It calculates the centroid of a collection of geometries extracted from the "positions" column in the "address" table. -// bbox: It calculates a bounding box (envelope) for a collection of geometries from the "positions" column in the "address" table. -// The bbox result is transformed to a different coordinate system (2154 to 4326) and includes a buffer operation. - +// QUERIES const commonToponymPageQuery = ` SELECT CTV.* @@ -56,11 +51,6 @@ const commonToponymPageQuery = ` OFFSET :offset LIMIT :limit ` - -// The queries are written in raw SQL to be able to use the PostGIS functions -// bbox: It calculates a bounding box (envelope) for the geometry contained in the "positions" column. -// The result is transformed from one coordinate system (2154) to another (4326) -// and includes a buffer operation with a distance of 50 units and specific parameters for joining and capping. const addressPageQuery = ` SELECT AV.*