Hello Javier

Even can answer better, but I suspect that the code applies the convention saying that W > E means that the envelope is crossing the anti-meridian. There is a picture there:

   
https://sis.apache.org/apidocs/org.apache.sis.referencing/org/apache/sis/geometry/GeneralEnvelope.html#crossing-the-anti-meridian-of-a-geographic-crs-heading

With such convention, the tests for contains and intersections become more complicated. There is a picture for contains, but the situation is similar for intersection:

   
https://sis.apache.org/apidocs/org.apache.sis.referencing/org/apache/sis/geometry/AbstractEnvelope.html#contains(org.opengis.geometry.Envelope)

Martin

_______________________________________________
PROJ mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/proj

Reply via email to