[postgis-tickets] [PostGIS] #3186: mixed dimmentionality in ST_AsTWKB gives strange results

PostGIS trac at osgeo.org
Sun Jun 28 09:55:30 PDT 2015


#3186: mixed dimmentionality in ST_AsTWKB gives strange results
---------------------+---------------------------
 Reporter:  nicklas  |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  medium   |  Milestone:  PostGIS 2.2.0
Component:  postgis  |    Version:  trunk
 Keywords:           |
---------------------+---------------------------
 ST_AsTWKB version that takes input from array of geometries have no check
 for mixed dimensionality.

 In theory when returning a collection type (7) it would be possible to
 handle mixed dimensionality. But since all geoemtries is transportet
 internally as geometry collection it doesn't work.

 And the very first byte in the twkb will then be inconsistent with the
 subgeoemtries

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