[postgis-devel] [PostGIS] #802: AsGML: use posList with attribute rather than coordinates tag
PostGIS
trac at osgeo.org
Sat Jan 22 06:36:37 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: |
-----------------------+----------------------------------------------------
Comment(by aperi2007):
I check better.
Is possibile to use the LineStringSegment, but using a sub-part of what
generated from ST_AsGML(3).
Infact the structure is like this:
<gml:TopoCurve>
<gml:directedEdge>
<gml:Edge gml:id="Edge_2_192278">
<gml:directedNode orientation="-">
<gml:Node gml:id="Node_1_242975" />
</gml:directedNode>
<gml:directedNode>
<gml:Node gml:id="Node_1_243597" />
</gml:directedNode>
<gml:curveProperty>
<gml:Curve>
<gml:segments>
<gml:LineStringSegment>
<gml:posList srsDimension="2">...</gml:posList>
</gml:LineStringSegment>
</gml:segments>
</gml:Curve>
</gml:curveProperty>
</gml:Edge>
</gml:directedEdge>
</gml:TopoCurve>
This version is better because allow even the description of multiparts
repeating the LineStringSegments.
Like this
<gml:TopoCurve>
<gml:directedEdge>
<gml:Edge gml:id="Edge_2_192278">
<gml:directedNode orientation="-">
<gml:Node gml:id="Node_1_242975" />
</gml:directedNode>
<gml:directedNode>
<gml:Node gml:id="Node_1_243597" />
</gml:directedNode>
<gml:curveProperty>
<gml:Curve>
<gml:segments>
<gml:LineStringSegment>
<gml:posList srsDimension="2">...</gml:posList>
</gml:LineStringSegment>
<gml:LineStringSegment>
<gml:posList srsDimension="2">...</gml:posList>
</gml:LineStringSegment>
<gml:LineStringSegment>
<gml:posList srsDimension="2">...</gml:posList>
</gml:LineStringSegment>
</gml:segments>
</gml:Curve>
</gml:curveProperty>
</gml:Edge>
</gml:directedEdge>
</gml:TopoCurve>
Regards
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/802#comment:3>
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