Opened 12 years ago
Last modified 7 years ago
#1986 new enhancement
Support curved geometry in ST_GeomFromGML
Reported by: | pramsey | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS Fund Me |
Component: | postgis | Version: | master |
Keywords: | sql/mm | Cc: | petr@… |
Description
In general, GML allows representation of curved features from SQL/MM so we should be able to consume them.
For example:
select st_astext(st_geomfromgml( '<gml:Polygon xmlns:gml="http://www.opengis.net/gml/3.2" gml:id="HPA.15449990010" srsName="urn:ogc:def:crs:EPSG::2065" srsDimension="2"> <gml:exterior> <gml:Ring> <gml:curveMember> <gml:LineString gml:id="HPA.15449990010.1"> <gml:posList>711540.35 1070163.61 711523.82 1070166.54 711521.30 1070164.14 711519.52 1070162.44 711518.57 1070164.62 712154.47 1070824.94</gml:posList> </gml:LineString> </gml:curveMember> <gml:curveMember> <gml:Curve gml:id="HPA.15449990010.2"> <gml:segments><gml:ArcString> <gml:posList>712154.47 1070824.94 712154.98 1070826.04 712154.41 1070827.22</gml:posList> </gml:ArcString> </gml:segments> </gml:Curve> </gml:curveMember> <gml:curveMember> <gml:LineString gml:id="HPA.15449990010.3"> <gml:posList>712154.41 1070827.22 712160.31 1070837.07 712160.92 1070835.36 712207.89 1071007.95</gml:posList> </gml:LineString> </gml:curveMember> <gml:curveMember> <gml:Curve gml:id="HPA.15449990010.4"><gml:segments><gml:ArcString><gml:posList>712207.89 1071007.95 712207.48 1071005.59 712208.38 1071001.28</gml:posList></gml:ArcString></gml:segments></gml:Curve></gml:curveMember><gml:curveMember><gml:LineString gml:id="HPA.15449990010.5"><gml:posList>712208.38 1071001.28 712228.74 1070949.67 712233.98 1070936.15 712124.93 1070788.72</gml:posList></gml:LineString></gml:curveMember><gml:curveMember><gml:Curve gml:id="HPA.15449990010.6"><gml:segments><gml:ArcString><gml:posList>712124.93 1070788.72 712124.28 1070785.87 712124.63 1070783.38</gml:posList></gml:ArcString></gml:segments></gml:Curve></gml:curveMember><gml:curveMember><gml:LineString gml:id="HPA.15449990010.7"><gml:posList>712124.63 1070783.38 712141.04 1070764.12 712146.60 1070757.01 711540.35 1070163.61</gml:posList></gml:LineString></gml:curveMember></gml:Ring></gml:exterior> <gml:interior> <gml:LinearRing> <gml:posList>713061.62 1070354.46 713053.59 1070335.12 713049.58 1070315.92 713049.65 1070298.33 713061.62 1070354.46</gml:posList> </gml:LinearRing> </gml:interior> </gml:Polygon>'));
Change History (5)
comment:1 by , 12 years ago
Cc: | added |
---|
comment:2 by , 12 years ago
comment:3 by , 12 years ago
Milestone: | PostGIS 2.1.0 → PostGIS 2.2.0 |
---|
comment:4 by , 9 years ago
Milestone: | PostGIS 2.2.0 → PostGIS Future |
---|
No comments, no interest, no dev.
Note:
See TracTickets
for help on using tickets.
I have same problem, posthis crashes after running
Error message is only: " Error "