I wonder what the unit is of the float being returned from ST_Distance.
In the documentation it says:
...cartesian minimum distance (based on spatial ref) between two geometries in projected units.
What are these projected units?
The geometry is stored in a field: geometry(Point,4326).
SELECT ST_Distance(a.geom::geography, b.geom::geography) FROM pure_gis a, pure_gis b WHERE a.id='1' AND b.id='2';
– Brian McCall Sep 22 '17 at 20:35