FDO RFC 71 - Serialize FdoGeometryType_CurveString in GML2 format
This page contains a request for comments document (RFC) for the FDO Open Source project. More FDO RFCs can be found on the RFCs page.
Status
RFC Template Version | 1.1 |
Submission Date | May 20, 2016 |
Last Modified | Christine Bao - May 20, 2016 |
Author | Christine Bao |
RFC Status | Ready For Review |
Implementation Status | |
Proposed Milestone | 4.0.0 |
Assigned PSC guide(s) | Greg Boone |
Voting History | (vote date) |
Overview
This is a proposal to serialize FdoGeometryType_CurveString geometry into GML2 format.
Motivation
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.
Proposed Solution
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.
NOTE:
- The curve will have some attribute lost when serialize to gml:LineString.
Implications
In FdoGML212GeometrySerializer implement SerializeCurveString.
Test Plan
Tested by customer and it's acceptable.