[postgis-devel] [PostGIS] #1928: st_geomfromgml multipoint issue

PostGIS trac at osgeo.org
Sat Jul 21 16:20:50 PDT 2012


#1928: st_geomfromgml multipoint issue
----------------------+-----------------------------------------------------
 Reporter:  fordfrog  |       Owner:  pramsey      
     Type:  defect    |      Status:  new          
 Priority:  medium    |   Milestone:  PostGIS 2.0.2
Component:  postgis   |     Version:  2.0.x        
 Keywords:            |  
----------------------+-----------------------------------------------------
 using postgresql 9.1.4 and postgis 2.0.1 on linux amd64

 this query should return gml string but instead returns empty result:

 test=# select st_asgml(st_geomfromgml('<gml:MultiPoint
 xmlns:gml="http://www.opengis.net/gml/3.2" gml:id="DOB.545058.X"
 srsName="urn:ogc:def:crs:EPSG::2065"
 srsDimension="2"><gml:pointMembers><gml:Point
 gml:id="DOB.545058.1"><gml:pos>496547.00
 1139895.00</gml:pos></gml:Point></gml:pointMembers></gml:MultiPoint>'));
  st_asgml
 ----------

 (1 row)

 there is probably general issue with reading the result of st_geomfromgml
 created from gml:MultiPoint element containing gml:pointMembers. tests
 with elements with gml:pointMember (singular) within gml:MultiPoint worked
 fine for me. unfurtunately the data i am processing use gml:pointMembers.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1928>
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