[postgis-devel] [PostGIS] #933: Error in GML namespace handle - ST_GeomFromGML
PostGIS
trac at osgeo.org
Fri Apr 29 11:46:17 PDT 2011
#933: Error in GML namespace handle - ST_GeomFromGML
------------------------------------------+---------------------------------
Reporter: colivier | Owner: colivier
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.0.0
Component: postgis | Version: 1.5.X
Keywords: ST_GeomFromGML namespace GML |
------------------------------------------+---------------------------------
{{{SELECT 'linearring_2', ST_AsEWKT(ST_GeomFromGML('<gml:LinearRing
gml:xmlns="http://www.opengis.net/cite/spatialTestSuite"
srsName="EPSG:4326"><gml:posList>1 2 3 4 5 6 1
2</gml:posList></gml:LinearRing>'));
?column? | st_asewkt
--------------+--------------------------------------
linearring_2 | SRID=4326;POLYGON((1 2,3 4,5 6,1 2))
}}}
But should instead return an error
{{{ST_AsEWKT(ST_GeomFromGML('<gml:LinearRing
xmlns="http://www.opengis.net/cite/spatialTestSuite"
srsName="EPSG:4326"><gml:posList>1 2 3 4 5 6 1
2</gml:posList></gml:LinearRing>'));
ERROR: invalid GML representation
}}}
But should instead return a valid geometry
Impact 1.5 and trunk
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/933>
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