Skip to content

Commit

Permalink
Update docs/training_manual/spatial_databases/geometry.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Harrissou Sant-anna <[email protected]>
  • Loading branch information
a-lambda and DelazJ authored Nov 29, 2024
1 parent 72683fd commit bbf9788
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/training_manual/spatial_databases/geometry.rst
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@ for that city and computing a buffer around that area.
SELECT * FROM
(
SELECT
ROW_NUMBER() over (order by city_id) AS city_id,
ST_BUFFER(ST_CONVEXHULL(ST_COLLECT(the_geom)),1) AS geometry
ROW_NUMBER() over (order by city_id)::integer AS city_id,
ST_CONVEXHULL(ST_COLLECT(geom)) AS geom
FROM people
GROUP BY city_id
) convexHulls;
Expand Down

0 comments on commit bbf9788

Please sign in to comment.