[postgis-devel] [PostGIS] #802: AsGML: use posList with attribute rather than coordinates tag

PostGIS trac at osgeo.org
Sat Jan 22 05:30:32 PST 2011


#802: AsGML: use posList with attribute rather than coordinates tag
-----------------------+----------------------------------------------------
 Reporter:  aperi2007  |       Owner:  strk         
     Type:  defect     |      Status:  new          
 Priority:  medium     |   Milestone:  PostGIS 2.0.0
Component:  topology   |     Version:  trunk        
 Keywords:             |  
-----------------------+----------------------------------------------------
 In the GML generated from AsGML() I guess is better use the
 posList rather than coordinates (deprecated).

 so instead of
 <gml:curveProperty>
 <gml:LineString srsName="EPSG:3003">
 <gml:coordinates>1 4, 4 6,... </gml:coordinates>
 </gml:LineString>
 </gml:curveProperty>

 is better:

 <gml:curveProperty>
 <gml:LineString srsName="EPSG:3003">
 <gml:posList srsDimension="2">1 4 4 6... </gml:posList>
 </gml:LineString>
 </gml:curveProperty>

 please note the posList is with the attribute srsDimension to give the
 dimension and without comma separating the coordinates.

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