01: package org.geotools.referencing.crs;
02:
03: import org.geotools.referencing.CRS;
04: import org.opengis.referencing.crs.CoordinateReferenceSystem;
05:
06: import junit.framework.TestCase;
07:
08: public class URNEPSGTest extends TestCase {
09:
10: public void test() throws Exception {
11: CoordinateReferenceSystem crs1 = CRS.decode("EPSG:4326");
12: CoordinateReferenceSystem crs2 = CRS
13: .decode("urn:x-ogc:def:crs:EPSG:6.11.2:4326");
14:
15: assertEquals(crs1, crs2);
16: }
17: }
|