From 809f32f81f14456ac3dcced8de78dbd8fad20b6a Mon Sep 17 00:00:00 2001 From: Holger Jaekel Date: Sun, 16 Jun 2019 14:04:47 +0200 Subject: testing/proj4: rename proj4 to proj --- testing/proj4/TestJni.java | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 testing/proj4/TestJni.java (limited to 'testing/proj4/TestJni.java') diff --git a/testing/proj4/TestJni.java b/testing/proj4/TestJni.java deleted file mode 100644 index 6a517849f6..0000000000 --- a/testing/proj4/TestJni.java +++ /dev/null @@ -1,20 +0,0 @@ -import org.proj4.*; -import java.util.Arrays; - -/** - * Converts coordinates from EPSG:32632 (WGS 84 / UTM zone 32N) to WGS84, - * then prints the result to the standard output stream. - */ -public class TestJni { - public static void main(String[] args) throws PJException { - PJ sourcePJ = new PJ("+init=epsg:32632"); // (x,y) axis order - PJ targetPJ = new PJ("+proj=latlong +datum=WGS84"); // (λ,φ) axis order - double[] coordinates = { - 500000, 0, // First coordinate - 400000, 100000, // Second coordinate - 600000, -100000 // Third coordinate - }; - sourcePJ.transform(targetPJ, 2, coordinates, 0, 3); - System.out.println(Arrays.toString(coordinates)); - } -} -- cgit v1.2.3