| 1 | = FDO RFC 71 - Serialize FdoGeometryType_CurveString in GML2 format = |
| 2 | |
| 3 | This page contains a request for comments document (RFC) for the FDO Open Source project. |
| 4 | More FDO RFCs can be found on the [wiki:FDORfcs RFCs] page. |
| 5 | |
| 6 | == Status == |
| 7 | |
| 8 | ||RFC Template Version||1.1|| |
| 9 | ||Submission Date||May 20, 2016|| |
| 10 | ||Last Modified||Christine Bao - May 20, 2016|| |
| 11 | ||Author||Christine Bao|| |
| 12 | ||RFC Status||Draft|| |
| 13 | ||Implementation Status|||| |
| 14 | ||Proposed Milestone||4.0.0|| |
| 15 | ||Assigned PSC guide(s)||Greg Boone|| |
| 16 | ||'''Voting History'''||(vote date)|| |
| 17 | |
| 18 | == Overview == |
| 19 | |
| 20 | This is a proposal to serialize FdoGeometryType_CurveString geometry into GML2 format. |
| 21 | |
| 22 | == Motivation == |
| 23 | |
| 24 | FdoGeometryType_CurveString is a geometry type in customer's data. When publishing this data to WFS in GML2 format, it ends up with exception. It's expected this can work properly. |
| 25 | |
| 26 | == Proposed Solution == |
| 27 | |
| 28 | GML schemes are defined here http://schemas.opengis.net/gml/. Unlike GML3 which uses gml:ArcString to represent curve, GML2 does not have type for gml:ArcString. A solution is to use gml:LineString to simulate curve. |
| 29 | |
| 30 | '''NOTE:''' |
| 31 | |
| 32 | • The curve will have some attribute lost when serialize to gml:LineString. |
| 33 | |
| 34 | == Implications == |
| 35 | |
| 36 | In FdoGML212GeometrySerializer implement SerializeCurveString. |
| 37 | |
| 38 | == Test Plan == |
| 39 | |
| 40 | Tested by customer and it's acceptable. |
| 41 | |