[postgis-devel] LWGEOM2GEOS and empty

Paul Ramsey pramsey at cleverelephant.ca
Thu Feb 9 16:46:40 PST 2023


Really odd, just was reading the code to see where to put an inf test, and noticed:

There a case statement switchung on geomType, and it tests point and polygon for empty, and if empty calls the GEOS get empty ____ function immediately. But for linestring and collections it doesn't do that!

Anyone have any memory as to why we have this snaggletoothed pattern in this very old, venerable code?

P


More information about the postgis-devel mailing list