Skip to main content
Tweeted twitter.com/StackGIS/status/1280969935578152960
Became Hot Network Question
edited tags; edited tags
Link
geozelot
  • 30.9k
  • 4
  • 34
  • 57
Source Link

Error transforming geometry into lat-long coordinates

I'm trying to transform some geometries from the postgis database into lat long coordinates:

This is the query:

SELECT st_x (geometry) as lng, st_y (geometry) as lat FROM final

and this is the error I receive:

SQL error:

ERROR: Argument to X () must be a point