Opened 14 years ago
Closed 14 years ago
#801 closed enhancement (fixed)
topology: in the AsGML the namespace is better as parameter
Reported by: | aperi2007 | Owned by: | strk |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.0.0 |
Component: | topology | Version: | master |
Keywords: | Cc: |
Description
In the AsGML function actually the "gml" prefix is hardcoded.
so it return always:
<gml:TopoSurface ...
I Guess the prefix would be given with a input parameter.
Change History (5)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
So, for (say) a prefix of 'RT' you'd have:
<RT:Edge RT:id="E1"> <RT:directedNode>...</RT:directedNode> <RT:directedNode orientaion="-">...</RT:directedNode> </RT:Edge>
Correct ? This would be in sync with the ST_AsGML one, producing something like this:
<rt:Curve srsName="urn:ogc:def:crs:EPSG::4326"> <rt:segments> <rt:LineStringSegment> <rt:posList srsDimension="2">0 0 10 0</rt:posList> </rt:LineStringSegment> </rt:segments> </rt:Curve>
comment:4 by , 14 years ago
comment:5 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
oops . In the title I mean "prefix" not "namespace".