Ticket #442 (new enhancement)

Opened 3 years ago

liblwgeom standard handing of declaring type/empty/dimensionality support

Reported by: pramsey Owned by: pramsey
Priority: medium Milestone: PostGIS Future
Component: postgis Version: trunk
Keywords: Cc:

Description

Right now, functions in liblwgeom duplicate a lot of code handling empty inputs. When people add new types, the lack of support across all functions can cause unpredicable failures. The handling of higher dimensions is not consistent or declared.

Idea form code sprint: - MACRO magic to test for

o TYPE support o SRID support o dimensionality support o check EMPTY in liblwgeom functions and return useful error

Note: See TracTickets for help on using tickets.