[postgis-tickets] [PostGIS] #4195: Unify dimensionality functions

PostGIS trac at osgeo.org
Thu Oct 4 01:10:27 PDT 2018


#4195: Unify dimensionality functions
-------------------------+---------------------------
 Reporter:  Algunenano   |      Owner:  Algunenano
     Type:  enhancement  |     Status:  assigned
 Priority:  medium       |  Milestone:  PostGIS 3.0.0
Component:  postgis      |    Version:  trunk
 Keywords:               |
-------------------------+---------------------------
 Comes from https://lists.osgeo.org/pipermail/postgis-
 tickets/2018-October/017089.html

 We had 2 different functions to check the dimensionality of a geometry
 (`lwgeom_dimensionality` and `lwgeom_dimension`) and I added  just another
 one for MVT (`lwgeom_get_basic_type`).

 We should unify them and provide a clearer API, returning an enum which
 helps making the caller code more readable.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4195>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list