/** * Tests "Campo Inchauspe / Argentina 7" (EPSG:22197). * This projection has a <cite>"Latitude of natural origin"</cite> at the south pole. * * @throws FactoryException if an error occurred while creating the CRS. * * @see <a href="https://issues.apache.org/jira/browse/SIS-377">SIS-377</a> */ @Test public void testLatitudeAtPole() throws FactoryException { compare("PROJCRS[\"Campo Inchauspe / Argentina 7\",\n" + " BASEGEODCRS[\"Campo Inchauspe\",\n" + " DATUM[\"Campo Inchauspe\",\n" + " ELLIPSOID[\"International 1924\",6378388,297,LENGTHUNIT[\"metre\",1.0]]]],\n" + " CONVERSION[\"Argentina zone 7\",\n" + " METHOD[\"Transverse Mercator\",ID[\"EPSG\",9807]],\n" + " PARAMETER[\"Latitude of natural origin\",-90,ANGLEUNIT[\"degree\",0.01745329252]],\n" + " PARAMETER[\"Longitude of natural origin\",-54,ANGLEUNIT[\"degree\",0.01745329252]],\n" + " PARAMETER[\"Scale factor at natural origin\",1,SCALEUNIT[\"unity\",1.0]],\n" + " PARAMETER[\"False easting\",7500000,LENGTHUNIT[\"metre\",1.0]],\n" + " PARAMETER[\"False northing\",0,LENGTHUNIT[\"metre\",1.0]]],\n" + " CS[cartesian,2],\n" + " AXIS[\"northing (X)\",north,ORDER[1]],\n" + " AXIS[\"easting (Y)\",east,ORDER[2]],\n" + " LENGTHUNIT[\"metre\",1.0],\n" + " ID[\"EPSG\",22197]]", 22197); }
/** * Tests "Pulkovo 1942 / 3-degree Gauss-Kruger CM 180E" (EPSG:2636). * This projection has a <cite>"Longitude of natural origin"</cite> at the anti-meridian. * * @throws FactoryException if an error occurred while creating the CRS. * * @see <a href="https://issues.apache.org/jira/browse/SIS-377">SIS-377</a> */ @Test public void testLongitudeAtAntiMeridian() throws FactoryException { compare("PROJCRS[\"Pulkovo 1942 / 3-degree Gauss-Kruger CM 180E\",\n" + " BASEGEODCRS[\"Pulkovo 1942\",\n" + " DATUM[\"Pulkovo 1942\",\n" + " ELLIPSOID[\"Krassowsky 1940\",6378245,298.3,LENGTHUNIT[\"metre\",1.0]]]],\n" + " CONVERSION[\"3-degree Gauss-Kruger CM 180\",\n" + " METHOD[\"Transverse Mercator\",ID[\"EPSG\",9807]],\n" + " PARAMETER[\"Latitude of natural origin\",0,ANGLEUNIT[\"degree\",0.01745329252]],\n" + " PARAMETER[\"Longitude of natural origin\",180,ANGLEUNIT[\"degree\",0.01745329252]],\n" + " PARAMETER[\"Scale factor at natural origin\",1,SCALEUNIT[\"unity\",1.0]],\n" + " PARAMETER[\"False easting\",500000,LENGTHUNIT[\"metre\",1.0]],\n" + " PARAMETER[\"False northing\",0,LENGTHUNIT[\"metre\",1.0]]],\n" + " CS[cartesian,2],\n" + " AXIS[\"northing (X)\",north,ORDER[1]],\n" + " AXIS[\"easting (Y)\",east,ORDER[2]],\n" + " LENGTHUNIT[\"metre\",1.0],\n" + " ID[\"EPSG\",2636]]", 2636); }
/** * Tests "Belge 1950 (Brussels) / Belge Lambert 50" (EPSG:21500). * This projection has a <cite>"Latitude of false origin"</cite> at the anti-meridian. * * @throws FactoryException if an error occurred while creating the CRS. * * @see <a href="https://issues.apache.org/jira/browse/SIS-377">SIS-377</a> */ @Test public void testLambert() throws FactoryException { compare("PROJCRS[\"Belge 1950 (Brussels) / Belge Lambert 50\",\n" + " BASEGEODCRS[\"Belge 1950 (Brussels)\",\n" + " DATUM[\"Reseau National Belge 1950 (Brussels)\",\n" + " ELLIPSOID[\"International 1924\",6378388,297,LENGTHUNIT[\"metre\",1.0]]],\n" + " PRIMEM[\"Brussels\",4.367975,ANGLEUNIT[\"degree\",0.01745329252]]],\n" + " CONVERSION[\"Belge Lambert 50\",\n" + " METHOD[\"Lambert Conic Conformal (2SP)\",ID[\"EPSG\",9802]],\n" + " PARAMETER[\"Latitude of false origin\",90,ANGLEUNIT[\"degree\",0.01745329252]],\n" + " PARAMETER[\"Longitude of false origin\",0,ANGLEUNIT[\"degree\",0.01745329252]],\n" + " PARAMETER[\"Latitude of 1st standard parallel\",49.833333333333,ANGLEUNIT[\"degree\",0.01745329252]],\n" + " PARAMETER[\"Latitude of 2nd standard parallel\",51.166666666667,ANGLEUNIT[\"degree\",0.01745329252]],\n" + " PARAMETER[\"Easting at false origin\",150000,LENGTHUNIT[\"metre\",1.0]],\n" + " PARAMETER[\"Northing at false origin\",5400000,LENGTHUNIT[\"metre\",1.0]]],\n" + " CS[cartesian,2],\n" + " AXIS[\"easting (X)\",east,ORDER[1]],\n" + " AXIS[\"northing (Y)\",north,ORDER[2]],\n" + " LENGTHUNIT[\"metre\",1.0],\n" + " ID[\"EPSG\",21500]]", 21500); }