Converting from Geography to Geometry data type in PostGIS?
You can cast the geography type to geometry by appending the ::geometry
SELECT ST_Distance('LINESTRING(-122.33 47.606, 0.0 51.5)'::geometry, 'POINT(-21.96 64.15)'::geometry);
You can cast the geography type to geometry by appending the ::geometry
SELECT ST_Distance('LINESTRING(-122.33 47.606, 0.0 51.5)'::geometry, 'POINT(-21.96 64.15)'::geometry);