[postgis-users] ST_NPoints for geography type?

Mike Taves mwtoews at gmail.com
Tue Aug 3 15:23:59 PDT 2021


On Wed, 4 Aug 2021 at 08:30, Phineas Jensen <phin at zayda.net> wrote:
> Is there a reason this function doesn't exist for geography, or is there an
> alternative?

The usual method is to cast the geography to geometry:

ST_NPoints(geog::geometry)


More information about the postgis-users mailing list