locationtech / proj4j

Java port of the Proj.4 library for coordinate reprojection
Other
181 stars 71 forks source link

Equidistant Azimuthal (ESRI:54032) test failed #84

Closed Yaqiang closed 1 year ago

Yaqiang commented 1 year ago

The equidistant azimuthal (ESRI:54032) projection test as following:

@Test
public void testEquidistantAzimuthal() {
    checkTransformFromWGS84("ESRI:54032", 120., 40., 8995111.253396044, 8710143.05796729);
}

The test failed with information below:

WGS84(LongLat/WGS84) => ESRI:54032(Equidistant Azimuthal/WGS84) [120.0, 40.0] -> [5404116.851692142, 5201043.932894523] (expected: [8995111.253396044, 8710143.05796729] tol: 1.0E-4 diff: 3590994.4017039016 ) FAIL Src CRS: +title=long/lat:WGS84 +proj=longlat +datum=WGS84 +units=degrees Tgt CRS: +proj=aeqd +lat_0=0 +lon_0=0 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs

Yaqiang commented 1 year ago

Solved by PR #86