[postgis-devel] [PostGIS] #1591: ST_GeomFromGML crushes for Triangle (Triangulard Surface/TIN)
PostGIS
trac at osgeo.org
Tue Feb 28 10:03:21 PST 2012
#1591: ST_GeomFromGML crushes for Triangle (Triangulard Surface/TIN)
----------------------+-----------------------------------------------------
Reporter: itboyet | Owner: pramsey
Type: defect | Status: closed
Priority: medium | Milestone: PostGIS 2.0.0
Component: postgis | Version: 2.0.x
Resolution: invalid | Keywords:
----------------------+-----------------------------------------------------
Comment(by pramsey):
And, incidentally, As_GML does support TIN, just for GML3 only:
{{{
select st_asgml(3,'TIN(((0 0 1000000,0 10 1000000,10 10 1000000,0 0
1000000)),((0 0 8000000,10 10 1000000,0 0 1000000,0 0 8000000)),((0 0
8000000,0 10 1000000,10 10 1000000,0 0 8000000)),((0 0 8000000,0 0
1000000,0 10 1000000,0 0 8000000)))'::geometry);
}}}
and the full wrap-around
{{{
select st_astext(st_geomfromGML(st_asgml(3,'TIN(((0 0 1000000,0 10
1000000,10 10 1000000,0 0 1000000)),((0 0 8000000,10 10 1000000,0 0
1000000,0 0 8000000)),((0 0 8000000,0 10 1000000,10 10 1000000,0 0
8000000)),((0 0 8000000,0 0 1000000,0 10 1000000,0 0
8000000)))'::geometry)));
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1591#comment:18>
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