I'm seeking a function that converts degrees to the following format:
POINT(405115.926025391 4543389.4354248)
I dont know this format's name, but is there any function to do so?
Cheers,
EDIT ------- > converting SRID
WITH currentPoint AS (
SELECT
st_transform(st_setsrid(st_makepoint(3.6392182823950043, 37.74446159789074), 900913), 900913) AS point
)
SELECT
building.gid
FROM
building, currentPoint
WHERE
ST_Dwithin(building.geom, currentPoint .point, 10)