#675 closed defect (fixed)
Create ST_AsEWKT for geography or harmonize ST_AsText for geometry
Reported by: | robe | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.0.0 |
Component: | postgis | Version: | master |
Keywords: | Cc: |
Description
We don't have an ST_AsEWKT for geography though the ST_AsText for geography behaves more like our ST_AsEWKT for geometry.
Note our ST_AsText for geometry doesn't output Z etc, but our ST_AsText for geography does. This inconsistency is driving me batty.
Change History (4)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
ST_AsText for geometry _now_ outputs ZM. Still EWKT outputs SRID, while ST_AsText(geography) doesn't. Should ST_AsEWKT(geography) do anything more than casting geography to geometry and use ST_AsEWKT ?
comment:4 by , 13 years ago
NOTE: r8845 also adds the signature for TEXT input, fixing the testsuite (use of literals).
Note:
See TracTickets
for help on using tickets.
Duplicates #287. See discussion (or lack thereof) on postgis-devel