Changes between Version 2 and Version 3 of FDORfc51
- Timestamp:
- 07/27/10 23:58:19 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FDORfc51
v2 v3 34 34 WFS spec changes a lot while upgrading from 1.0.0 to 1.1.0. For example: The service schema’s structure changed, and it now uses GML 3 instead of GML 2. Accordingly, we need to enhance the provider in the following areas in order to make sure it can consume both versions: 35 35 36 1. Support WFS 1.1.0 capability schema 36 1. Support WFS 1.1.0 capability schema 37 37 38 The WFS spec defines new capability schema while upgrading from 1.0.0 to 1.1.0, so we must enhance the parsing process in WFS FDO provider also to support both versions. 38 39 The following diagram shows capability schema in 1.0.0. … … 41 42 WFS 1.1.0 spec has also defined some new operations, like GetGMLObject, LockFeature… We are not going to support these commands yet in this updates. In this enhancement, we will focus on the elements and operations which already existed in 1.0.0 version but changed in 1.1.0 version. 42 43 43 2. Handle GML 3 44 2 Handle GML 3 45 44 46 WFS1.1.0 uses GML 3 instead of GML 2 as default format for DescribeFeatureType and GetFeature request. Currently FDO can only handle GML 2 correctly and have some problem with GML 3, we need to enhance it to support both versions well. This includes two aspects: 45 GML 3 to FDO46 • GML 3 schema to FDO schema47 • GML 3 feature to FDO feature (FDO only has a reader API, used by the WFS provider, which exposes GML features as FDO features. This API should be updated to handle GML 3)48 FDO to GML 349 • FDO schema to GML 3 schema50 • FDO feature to GML 3 feature47 GML 3 to FDO 48 • GML 3 schema to FDO schema 49 • GML 3 feature to FDO feature (FDO only has a reader API, used by the WFS provider, which exposes GML features as FDO features. This API should be updated to handle GML 3) 50 FDO to GML 3 51 • FDO schema to GML 3 schema 52 • FDO feature to GML 3 feature 51 53 Note: Those transform functions are implemented in the FDO component. 52 54 53 55 3. Handle different version request 56 54 57 Currently, the WFS FDO provider uses version 1.0.0 (hard-coded) while sending the request to server. So first, we need to accept version information while open connection, and also set the correct version in the request parameters. Similar with WMS FDO provider, the design solution is to store the version information in the Feature server connecting property. And parse it in the provider, a default version will be provided if user doesn’t set. 55 58