[PostGIS] #5822: Incorrect Output for ST_ASEWKT with "LINESTRING Z"

PostGIS trac at osgeo.org
Mon Jul 28 13:15:24 PDT 2025


#5822: Incorrect Output for ST_ASEWKT with "LINESTRING Z"
----------------------+---------------------------
  Reporter:  bitner   |      Owner:  pramsey
      Type:  defect   |     Status:  closed
  Priority:  medium   |  Milestone:  PostGIS 3.6.0
 Component:  postgis  |    Version:  3.1.x
Resolution:  invalid  |   Keywords:  WKT
----------------------+---------------------------
Changes (by pramsey):

 * resolution:   => invalid
 * status:  new => closed

Comment:

 This is expected behaviour, AsWKT and AsText return ISO-standard WKT.
 AsEWKT returns the old pre-ISO high dimensional WKT. No dimensional
 tagging except for the M-only variant, and dimensionality implicit in the
 number of ordinates.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5822#comment:2>
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