DL
Size: a a a
IZ
IZ
SK
JD
DL
DL
DL
with my_points as (
select ST_PointN(ST_GeometryN(ST_CollectionHomogenize(unnest(ST_ClusterWithin(ST_AsEWKT(testdata.way), 0.005))),1), 1) point
from ...
)
select st_x(point) lon, st_y(point) lat
from my_points
DL
DL
DL
DL
FROM ... join (select ...)
=> with other_table as (select ...) ... from ... join other_table
DL
DL
with
first_table as (...),
second_table as (...)
select ...
from first_table inner join second table on ...