Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Jugurtha Bouhadoun committed Jun 18, 2024
1 parent d9ab0c7 commit 0b1ccfc
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions lib/api/consumers/export-to-exploitation-db-consumer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.*
Expand All @@ -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.*
Expand Down

0 comments on commit 0b1ccfc

Please sign in to comment.