1

This seems like a pretty silly problem. I'm using a Maven build with GeoTools 14.0. All I want is to compare CRSs with flexibility so that it doesn't have to be exactly equal as long as all the parameters are equal.

There's a method listed for that here: http://docs.geotools.org/stable/userguide/library/referencing/compare.html as equals(CoordinateReferenceSystem, boolean)

But it doesn't actually exist in the GeoTools library or API docs. What gives? What's the alternative besides manually doing it, which is doable but just seeing how convoluted/intricate the CRS structure is in GeoTools this seems like a lot of work that should be unnecessary for a major spatial library.

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Nov 13, 2015 at 19:30

1 Answer 1

1

Looks like it moved to the CRS utility class as equalsIgnoreMetadata

answered Nov 13, 2015 at 19:53
0

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.