Changes between Version 6 and Version 7 of FDORfc38
- Timestamp:
- 07/16/09 06:28:07 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FDORfc38
v6 v7 23 23 == Overview == 24 24 25 This RFC is for adding the FDO SHP provider capability to support multi-polygons geometries .25 This RFC is for adding the FDO SHP provider capability to support multi-polygons geometries in the cases where SHP files have multi-polygons. 26 26 27 27 == Motivation == 28 28 29 Currently, this provider supports only simple polygons. The SHP specification defines only a polygon type, but it defines it as supporting multiple outer polygon loops, which basically are multi-polygons as defined in FDO. The FDO SHP provider is not taking advantage of this and is not returning multi-polygons when the polygons are actual multi-polygons. The main processing that is missing with the current provider is on read, it does not check the polygon details to determine whether to generate an FDO polygon or an FDO multi-polygon geometry.29 Currently, this provider supports only simple polygons. The SHP specification defines only a polygon type, but it defines it as supporting multiple outer polygon loops, which basically are multi-polygons as defined in FDO. So a SHP polygon can be either an FDO polygon or an FDO multi-polygon, depending on the number of outer loops. The FDO SHP provider is not taking advantage of this and is not returning multi-polygons when the polygons are actual multi-polygons. The main processing that is missing with the current provider is on read, it does not check the polygon details to determine whether to generate an FDO polygon or an FDO multi-polygon geometry. 30 30 31 31 == Proposed Solution == … … 40 40 == Implications == 41 41 42 * The code for this is mostly done, just turned off. We will need to measure an y performance impact, but the extra processing would only apply for cases where there are multiple loops. The most common case of a single loop polygon would not be processed any differently and would not have a performance impact.42 * The code for this is mostly done, just turned off. We will need to measure and work on any performance impact, but the extra processing would only apply for cases where there are multiple loops. The most common case of a single loop polygon would not be processed any differently and would not have a performance impact. 43 43 44 44 * The FDO geometry type will be set accordingly on reading. The caller must expect either a polygon or a multi-polygon regardless of original geometry type on insert. … … 47 47 48 48 * Enhance the unit test and add roundtripping fidelity tests. 49 * Performance benchmarks on large datasets containing polygons with many interiorrings.49 * Performance benchmarks on large datasets containing polygons with many rings. 50 50 51 51 == Funding/Resources ==