Uploaded image for project: 'WOML'
  1. WOML
  2. WOML-48

CombinedCurveSegmentPropertyType probably violates the GML property-object model

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2011-06-15
    • Fix Version/s: 2011-11-15
    • Component/s: WOML Core
    • Labels:
      None

      Description

      The CombinedCurveSegmentPropertyType is not a typical property type referring or including one curve segment object. Instead it contains a choice of either including zero or one CubicBSpline or LineStringSegment elements. This in not typical GML property type use, and may create problems to some implementing software.

      Proposal: create a new AbstractCombinedCurveSegmentPropertyType with only the gml:AssociationAttributeGroup and no elements. The create concrete extending types CubicBSplinePropertyType and LineStringSegmentPropertyType and let the elements have the AbstractCombinedCurveSegmentProperty as their substitutionGroup. Then change the type of curveSegment property of the CombinedSegmentedCurveType from CombinedCurveSegmentPropertyType to AbstractCombinedCurveSegmentProperty. This would also make it easier to add more curve segment types later.

      The same issue applies to CombinedSegmentedRingType

        Attachments

          Activity

            People

            Assignee:
            rinne Ilkka Rinne
            Reporter:
            rinne Ilkka Rinne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 hours
                2h
                Remaining:
                Remaining Estimate - 2 hours
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified