Transform from 3857
This commit is contained in:
parent
ea1f43bec7
commit
95f66b8c4b
@ -12,7 +12,7 @@ function filterQueryTpl ({ sql, column, srid, lng, lat, radius } = {}) {
|
|||||||
ST_Transform(
|
ST_Transform(
|
||||||
ST_Buffer(
|
ST_Buffer(
|
||||||
ST_Transform(
|
ST_Transform(
|
||||||
ST_SetSRID(ST_Point(${lng},${lat}), ${srid}),
|
ST_SetSRID(ST_Point(${lng},${lat}), 3857),
|
||||||
4326
|
4326
|
||||||
)::geography,
|
)::geography,
|
||||||
${radius}
|
${radius}
|
||||||
|
Loading…
Reference in New Issue
Block a user