[postgis-tickets] [PostGIS] #3861: ST_AsGeoBuf and EMPTY

PostGIS trac at osgeo.org
Fri Sep 22 11:53:45 PDT 2017


#3861: ST_AsGeoBuf and EMPTY
---------------------+---------------------------
 Reporter:  pramsey  |      Owner:  bjornhartnell
     Type:  defect   |     Status:  assigned
 Priority:  medium   |  Milestone:  PostGIS 2.4.0
Component:  postgis  |    Version:  trunk
 Keywords:           |
---------------------+---------------------------
 Looking over the code, it's not clear that ST_AsGeoBuf is doing the right
 thing with empty (or what the right thing is). The mapbox encode .js
 doesn't seem to have any special thinking about encoding empty, which
 means that probably `POINT EMPTY` will encode to something that is not
 valid and readable. It's possible that all other empties will work, since
 they'll have an npoints/ngeoms/etc that is written down as 0.

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