jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • GeoAPI
  • GEO-7

Document compliance level for geometry methods

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Task Task
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.0, 2.0
  • Fix Version/s: None
  • Component/s: geometry
  • Labels:
    • Documentation

Description

We can't expect everyone to implements all ISO 19107 methods. Some methods should be clearly documented as optional (i.e. it may or may not work depending of the implementation). The ISO 19107 specification defines different conformance level. We should investigate how we could document those level in GeoAPI. One possible way to do that is through UnsupportedOperationException subclasses. For example we could defines the following exceptions:

UnsupportedLevel1OperationException
UnsupportedLevel2OperationException

(we should look for some better name). All methods that are mandatory only for compliance level 2 would have a "throws UnsupportedLevel2OperationException" clause.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Bryce Nordgren added a comment - 25/May/06 4:46 PM

There actually appears to be a 3D grid of conformance levels. Declaring an exception for each grid point is probably going to get out of hand.

Axis0: Geometric Primitives, Geometric Complexes, Topological Complexes, Topological Complexes with Geometric Realization

Axis1: Data types, simple operations, complete operations

Axis2: 0-Dimension, 1-Dimension, 2-Dimension, 3-Dimension

The GeometryFactory could return a Set of tuples (Axis0, Axis1, Axis2) which allow the implementation to declare what the implementation intends to support. This could also be used to help a multipurpose test suite figure out what to test.

There's an "extra" conformance category for Boolean operations.

Show
Bryce Nordgren added a comment - 25/May/06 4:46 PM There actually appears to be a 3D grid of conformance levels. Declaring an exception for each grid point is probably going to get out of hand. Axis0: Geometric Primitives, Geometric Complexes, Topological Complexes, Topological Complexes with Geometric Realization Axis1: Data types, simple operations, complete operations Axis2: 0-Dimension, 1-Dimension, 2-Dimension, 3-Dimension The GeometryFactory could return a Set of tuples (Axis0, Axis1, Axis2) which allow the implementation to declare what the implementation intends to support. This could also be used to help a multipurpose test suite figure out what to test. There's an "extra" conformance category for Boolean operations.
Hide
Permalink
Martin Desruisseaux added a comment - 15/Jul/11 9:11 AM

ISO 19137:2007 (Core profile on the spatial schema) may suits this need.

Show
Martin Desruisseaux added a comment - 15/Jul/11 9:11 AM ISO 19137:2007 (Core profile on the spatial schema) may suits this need.

People

  • Assignee:
    Unassigned
    Reporter:
    Martin Desruisseaux
Vote (0)
Watch (0)

Dates

  • Created:
    31/Aug/04 6:45 PM
    Updated:
    23/Aug/11 8:54 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.