Ian Mayo
2017-07-17 10:19:01 UTC
Hi all,
I have a requirement to handle points in a relative metres domain -
like a CAD drawing.
I've found [1] the generic-2d CRS, which seems just like what I need.
But, when I try to create a GeodeticCalculator for this CRS the
constructor throws "Argument "ellipsoid" should not be null."
This appears to get thrown because CRS.getEllipsoid(crs) is returning null.
Do I need to include some other .jar file in order to support the
Generic_2D CRS?
Thanks,
Ian
[1]. http://docs.geotools.org/stable/userguide/library/referencing/crs.html#generic-2d
I have a requirement to handle points in a relative metres domain -
like a CAD drawing.
I've found [1] the generic-2d CRS, which seems just like what I need.
But, when I try to create a GeodeticCalculator for this CRS the
constructor throws "Argument "ellipsoid" should not be null."
This appears to get thrown because CRS.getEllipsoid(crs) is returning null.
Do I need to include some other .jar file in order to support the
Generic_2D CRS?
Thanks,
Ian
[1]. http://docs.geotools.org/stable/userguide/library/referencing/crs.html#generic-2d