Issue Details (XML | Word | Printable)

Key: NUCSPATIAL-20
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DataNucleus Types : Geospatial

Change JDOQL method handling to reflect Java

Created: 18/May/10 04:31 PM   Updated: 28/Aug/12 09:35 AM   Resolved: 24/Aug/12 02:39 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 3.1.1


 Description  « Hide
We currently have to use JDOQL expressions like
Spatial.x(Point)

yet would be much more reflective of Java to have
point.x()
curve.startPoint()
lineString.numPoints()
geom.within(otherGeom)

etc

Andy Jefferson added a comment - 22/Aug/12 04:00 PM
Now supports :-

vividsolutions Point
getX, getY

vividsolutions Geometry
getNumPoints, contains, overlaps, getEnvelope, getDimension, getBoundary, getSRID, isSimple, isEmpty, touches, crosses, within, intersects, equals, disjoint, relate, toText

PostGIS Point
getX, getY

PostGIS Geometry
numPoints, getDimension, getSrid, equals

Andy Jefferson added a comment - 24/Aug/12 02:39 PM
SVN trunk now provides traditional java-style method invocation for the majority of methods

Andy Jefferson made changes - 24/Aug/12 02:39 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Assignee Andy Jefferson [ andy ]
Fix Version/s 3.1.1 [ 11671 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 28/Aug/12 09:35 AM
Status Resolved [ 5 ] Closed [ 6 ]