[postgis-devel] ST_AsGML(3, LineString) : Curve vs. LineString
strk
strk at keybit.net
Fri Jan 28 12:59:30 PST 2011
Olivier,
I was wondering why the ST_AsGML(3, LineString) function opts
for outputting a <Curve> tag rather than a LineString tag.
I belive both are valid 3.1.1 constructs,
but the <LineString> is shorter,
<!-- Curve -->
<Curve>
<segments>
<LineStringSegment>
<posList srsDimension="2">21 6 21 14</posList>
</LineStringSegment>
</segments>
</Curve>
<!-- LineString -->
<LineString>
<posList srsDimension="2">21 6 21 14</posList>
</LineString>
Was there a special need for <segments> ?
--strk;
() Free GIS & Flash consultant/developer
/\ http://strk.keybit.net/services.html
More information about the postgis-devel
mailing list