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