confused about #postgis ST_NPoints with polygons, because a triangle apparently has 4 points.
SELECT ST_NPoints(ST_GeomFromText('POLYGON ((0 0, 0 1, 1 0, 0 0 ))'));
From a technical point it makes sense, but it is also quite unintuitive, because normal people on the street would definitely say a triangle has 3 points ...







