Le 23/10/2019 à 10:02, Martin Desruisseaux a écrit :

Just rename "y" as "x" and "x" as "y", and we are back on the expected results.

Just to clarify, swapping the values in the call to "transform" would be conceptually more appropriate than renaming those variables; the renaming was just a trick for going quickly.

As a side note, I noticed that the getExtentFromAreaOfUse method transforms a rectangle. Just for information, SIS provides also an Envelopes class with static methods doing this task, taking in account the curvature caused by the projection:

http://sis.apache.org/apidocs/org/apache/sis/geometry/Envelopes.html

    Martin


Reply via email to