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)
Signup
GeoTools
  • GeoTools
  • GEOT-3467

MathTransform JTS

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 8.0-M0
  • Fix Version/s: None
  • Component/s: referencing
  • Labels:
    None

Description

With the changing of the guard (hi Andrea) I think I can finally implement the most popular request for new users getting used to GeoTools.

Can we add methods to MathTransform to support JTS:

  • Coordinate
  • Coordinate[] (not sure about this)
  • CoordinateSequence (want this to be a simple wrapper?)

The adoption of an ISO Geometry model is stalled out by a simple lack of funding; persisting in complicating the use of the reference module by hobbling it to a ship that is not coming in is not doing us any favours.

I believe we can add new methods besides those already in place for ISO Geometry model. I do not even want to deprecate these methods as I would like to see Geometry chased if sufficient resources is put in place for the work.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • History
  • Activity
Hide
Permalink
Andrea Aime added a comment - 12/Mar/11 1:44 AM
Nope, I disagree on this development, rather put these methods in CRS or JTS helper classes. Let's discuss this on the mailing list?
Show
Andrea Aime added a comment - 12/Mar/11 1:44 AM Nope, I disagree on this development, rather put these methods in CRS or JTS helper classes. Let's discuss this on the mailing list?
Hide
Permalink
Jody Garnett added a comment - 12/Mar/11 6:48 AM
The methods are already in the JTS utility class.

Could we move JTS class (and its friend ReferencedEnvelope) to gt-referencing as a "provided" dependency?
It makes sense as these two classes bridge from JTS to CoordianteReferenceSystem.

Largely what is needed is an acknowledgement that JTS is our Geometry model.

I agree that the CRS and JTS classes almost completely hide MathTransform. Still at some point in every code example we use CRS to look up a MathTransform between two CoordianteReferenceSystems. And at that point users look at what they can do with a MathTransform and start getting confused with the ISO Geometry model.
Show
Jody Garnett added a comment - 12/Mar/11 6:48 AM The methods are already in the JTS utility class. Could we move JTS class (and its friend ReferencedEnvelope) to gt-referencing as a "provided" dependency? It makes sense as these two classes bridge from JTS to CoordianteReferenceSystem. Largely what is needed is an acknowledgement that JTS is our Geometry model. I agree that the CRS and JTS classes almost completely hide MathTransform. Still at some point in every code example we use CRS to look up a MathTransform between two CoordianteReferenceSystems. And at that point users look at what they can do with a MathTransform and start getting confused with the ISO Geometry model.
Hide
Permalink
Andrea Aime added a comment - 13/Mar/11 5:51 AM
So are we dropping the ball on switching to a more generic geometry model? Switching the class in referencing is easy now, but may prove nastier to remove it when we switch to a more generic geom model...
Show
Andrea Aime added a comment - 13/Mar/11 5:51 AM So are we dropping the ball on switching to a more generic geometry model? Switching the class in referencing is easy now, but may prove nastier to remove it when we switch to a more generic geom model...

People

  • Assignee:
    Jody Garnett
    Reporter:
    Jody Garnett
Vote (0)
Watch (0)

Dates

  • Created:
    12/Mar/11 12:16 AM
    Updated:
    13/Mar/11 5:51 AM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.