[postgis-tickets] [PostGIS] #3959: ST_SetM, ST_SetZ, (ST_SetX, ST_SetY?) functions

PostGIS trac at osgeo.org
Wed Dec 27 06:04:05 PST 2017


#3959: ST_SetM, ST_SetZ, (ST_SetX, ST_SetY?) functions
-------------------------+---------------------------
 Reporter:  komzpa       |      Owner:  komzpa
     Type:  enhancement  |     Status:  assigned
 Priority:  medium       |  Milestone:  PostGIS 2.5.0
Component:  postgis      |    Version:  trunk
 Keywords:               |
-------------------------+---------------------------
 I have a multipoint that I'd like to assign M to before ST_Collect'ing it
 with other multipoints and pushing into ST_GeometricMedian.

 I see no way to do it without complete deconstruction of geometry into
 sets of x/y coordinates and building them back with ST_MakePoint with an
 extra argument.

 It would be cool to have ST_SetM (and in other cases ST_SetZ) that will
 allow getting Z/M value for all objects in geometry from some other
 calculation/column.

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3959>
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