Ticket #675 (closed defect: fixed)

Opened 18 months ago

Last modified 4 months ago

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: trunk
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

Changed 11 months ago by pramsey

Duplicates #287. See discussion (or lack thereof) on postgis-devel

Changed 4 months ago by strk

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 ?

Changed 4 months ago by strk

  • status changed from new to closed
  • resolution set to fixed

Done with r8844

Changed 4 months ago by strk

NOTE: r8845 also adds the signature for TEXT input, fixing the testsuite (use of literals).

Note: See TracTickets for help on using tickets.