Changes between Initial Version and Version 1 of FDORfc38


Ignore:
Timestamp:
06/18/09 14:35:16 (15 years ago)
Author:
danstoica
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FDORfc38

    v1 v1  
     1= FDO RFC 38 - Multi-polygon support for SHP=
     2
     3This page contains an change request (RFC) for the FDO Open Source project. 
     4More FDO RFCs can be found on the [wiki:FDORfcs RFCs] page.
     5
     6
     7== Status ==
     8 
     9||RFC Template Version||(1.0)||
     10||Submission Date|| June 08, 2009 ||
     11||Last Modified|| Dan Stoica[[Timestamp]]||
     12||Author||Orest Halustchak ||
     13||RFC Status||draft||
     14||Implementation Status||draft||
     15||Proposed Milestone||3.5.0.0||
     16||Assigned PSC guide(s)||Greg Boone||
     17||'''Voting History'''|| ||
     18||+1|| ||
     19||+0|| ||
     20||-0|| ||
     21||-1|| ||
     22 
     23== Overview ==
     24
     25This RFC is for adding the FDO SHP provider capability to support multi-polygons geometries.
     26
     27== Motivation ==
     28
     29Currently, this provider supports only simple polygons. The SHP specification has only a polygon type, but it accounts for multiple outer polygon loops, which basically are 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
     31== Proposed Solution ==
     32
     33Modify the FDO SHP provider:
     34
     35* Change its capability setting to indicate that it supports multi-polygon geometry types.
     36* On input of geometry, there is no further processing needed as the current code will save all input loops without checking whether they are outer or inner.
     37* On read of geometry, the code should check the geometry to see if there are multiple loops. If there are multiple loops, determine if there are more than one outer loops. If so, change the output geometry type to FDO multi-polygon, otherwise, leave it as polygon with interior rings.
     38* If any loops of a geometry are not closed, then the current behavior of not changing the geometry at all is followed. The geometry is returned as-is.
     39
     40== Implications ==
     41
     42* The code for this is mostly done, just turned off. We will need to measure the 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
     44* The FDO geometry type will be corrected automatically on reading. The caller must expect either a polygon or a multi-polygon regardless of original geometry type on insert.
     45
     46== Test Plan ==
     47
     48* Enhance the unit test and add roundtripping fidelity tests.
     49* Performance benchmarks on large datasets containing polygons with many interior rings.
     50
     51== Funding/Resources ==
     52
     53Autodesk to provide resources / funding.
     54