[postgis-devel] [PostGIS] #1252: SRID appearing in ST_AsText for particular multipolygon
PostGIS
trac at osgeo.org
Thu Oct 27 23:54:54 PDT 2011
#1252: SRID appearing in ST_AsText for particular multipolygon
---------------------+------------------------------------------------------
Reporter: robe | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 1.5.4
Component: postgis | Version: 1.5.X
Keywords: |
---------------------+------------------------------------------------------
Changes (by strk):
* milestone: PostGIS Future => PostGIS 1.5.4
Comment:
Weird, I would have expected a srid only in the first element, not in the
outer container too.
Anyway you can see the problem is that the element of a collection has a
srid value.
Ah, yes, probably ST_AsText, being an OGC function, stripped the SRID to
avoid having it in the output. Most likely ST_AsEWKT will show the SRID in
both the container _and_ the interior.
The bug is still in whatever constructed that geometry (ST_Union in this
case).
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1252#comment:6>
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-devel
mailing list