[postgis-tickets] [PostGIS] #4561: ST_AsEWKT excluding Z and M in WKT representation

PostGIS trac at osgeo.org
Sun Nov 10 01:44:10 PST 2019


#4561: ST_AsEWKT excluding Z and M in WKT representation
----------------------+---------------------------
  Reporter:  tilt     |      Owner:  pramsey
      Type:  defect   |     Status:  closed
  Priority:  low      |  Milestone:  PostGIS 3.0.1
 Component:  postgis  |    Version:  3.0.x
Resolution:  invalid  |   Keywords:
----------------------+---------------------------

Comment (by tilt):

 OK, makes sense. I see now why this is in the documentation:

 ''PostGIS extended formats are currently superset of OGC one (every valid
 WKB/WKT is a valid EWKB/EWKT) but this might vary in the future,
 specifically if OGC comes out with a new format conflicting with our
 extensions. Thus you SHOULD NOT rely on this feature!''
 [https://postgis.net/docs/using_postgis_dbmanagement.html#EWKB_EWKT]

 Having multiple representations that appear to mimic each other but are
 differentiating on trivial points is confusing though. Shouldn't the
 ''ZMSgeoms'' start converging again to the WKT specs? Only reason to keep
 them currently is the inclusion of the SRS, right?

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4561#comment:3>
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