[postgis-devel] [PostGIS] #816: ST_AsGML: optionally output LineString.posList rather than Curve.segments.LineStringSegments.posList

PostGIS trac at osgeo.org
Tue Feb 1 13:20:33 PST 2011


#816: ST_AsGML: optionally output LineString.posList rather than
Curve.segments.LineStringSegments.posList
-------------------------+--------------------------------------------------
 Reporter:  strk         |       Owner:  colivier     
     Type:  enhancement  |      Status:  new          
 Priority:  medium       |   Milestone:  PostGIS 2.0.0
Component:  postgis      |     Version:  trunk        
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by strk):

 Oh, but the cast trick works fine:

 {{{
 SELECT xmlelement(name traffic_sign,
                   xmlforest(feature_name),
                   topology.asgml(feature)::xml
                   )
  FROM features.traffic_signs
  WHERE feature_name = 'S1';
 }}}

 ... sorry, I'm feeling a trac spammer now :/

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