Skip to main content
deleted 18 characters in body
Source Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

Try this below. ST_AsText returns the well-known text. ST_X and ST_Y return the actual longitude and latitude (assuming geom is in the appropriate SRS).

SELECT ST_AsText(geom), ST_X(geom), ST_Y(geom) FROM table

Hope it works.

Try this below. ST_AsText returns the well-known text. ST_X and ST_Y return the actual longitude and latitude (assuming geom is in the appropriate SRS).

SELECT ST_AsText(geom), ST_X(geom), ST_Y(geom) FROM table

Hope it works.

Try this below. ST_AsText returns the well-known text. ST_X and ST_Y return the actual longitude and latitude (assuming geom is in the appropriate SRS).

SELECT ST_AsText(geom), ST_X(geom), ST_Y(geom) FROM table

Try this below,. ST_AsText returns you the well-known text,. ST_X and ST_X & ST_Y returns youreturn the actual lat long longitude and latitude (assuming geom is in the appropriate SRS).

SELECT ST_AsText(geom), ST_X(geom), ST_Y(geom) FROM table

Hope it works.

Try this below, ST_AsText returns you the well-known text, and ST_X & ST_Y returns you the actual lat long.

SELECT ST_AsText(geom), ST_X(geom), ST_Y(geom) FROM table

Hope it works.

Try this below. ST_AsText returns the well-known text. ST_X and ST_Y return the actual longitude and latitude (assuming geom is in the appropriate SRS).

SELECT ST_AsText(geom), ST_X(geom), ST_Y(geom) FROM table

Hope it works.

edited body
Source Link
Vanni Zhang
  • 1.1k
  • 7
  • 18

Try this below, ST_AsText returns you the well-known text, and ST_X & ST_Y returns you the actual lat long.

SELECT ST_AsText(geom), ST_X(geom), ST_Y(geom) FROM table

Hope ifit works.

Try this below, ST_AsText returns you the well-known text, and ST_X & ST_Y returns you the actual lat long.

SELECT ST_AsText(geom), ST_X(geom), ST_Y(geom) FROM table

Hope if works.

Try this below, ST_AsText returns you the well-known text, and ST_X & ST_Y returns you the actual lat long.

SELECT ST_AsText(geom), ST_X(geom), ST_Y(geom) FROM table

Hope it works.

Source Link
Vanni Zhang
  • 1.1k
  • 7
  • 18
Loading