rdf4j-postgis  Version 0.1.0.0
EPSGToWKTTest Class Reference
Collaboration diagram for EPSGToWKTTest:

Public Member Functions

void testEPSGToWKT ()
 

Package Attributes

String epsg ="EPSG:4326"
 
Integer srid =4326
 
String epsg4326wkt ="GEODCRS[\"WGS 84\",DATUM[\"World Geodetic System 1984\",ELLIPSOID[\"WGS 84\", 6378137.0, 298.257223563, LENGTHUNIT[\"metre\", 1]]],PRIMEM[\"Greenwich\", 0.0, ANGLEUNIT[\"degree\", 0.017453292519943295]],CS[ellipsoidal, 2],AXIS[\"Latitude (B)\", north, ORDER[1]],AXIS[\"Longitude (L)\", east, ORDER[2]],ANGLEUNIT[\"degree\", 0.017453292519943295],SCOPE[\"Horizontal component of 3D system. Used by the GPS satellite navigation system and for NATO military geodetic surveying.\"],AREA[\"World.\"],BBOX[-90.00, -180.00, 90.00, 180.00],ID[\"EPSG\", 4326, \"9.7\", URI[\"urn:ogc:def:crs:EPSG:9.7:4326\"]]]"
 

Member Function Documentation

◆ testEPSGToWKT()

void testEPSGToWKT ( )
20  {
21  EPSGToWKT is3d=new EPSGToWKT();
22  ValueFactory valfac=SimpleValueFactory.getInstance();
23  Value geo=valfac.createLiteral(epsg);
24  Value result=is3d.evaluate(valfac, geo);
25  Value expResult=valfac.createLiteral(epsg4326wkt);
26  assertEquals(expResult, result);
27  }
String epsg4326wkt
Definition: EPSGToWKTTest.java:17

References EPSGToWKTTest.epsg, EPSGToWKTTest.epsg4326wkt, and EPSGToWKT.evaluate().

Member Data Documentation

◆ epsg

String epsg ="EPSG:4326"
package

◆ epsg4326wkt

String epsg4326wkt ="GEODCRS[\"WGS 84\",DATUM[\"World Geodetic System 1984\",ELLIPSOID[\"WGS 84\", 6378137.0, 298.257223563, LENGTHUNIT[\"metre\", 1]]],PRIMEM[\"Greenwich\", 0.0, ANGLEUNIT[\"degree\", 0.017453292519943295]],CS[ellipsoidal, 2],AXIS[\"Latitude (B)\", north, ORDER[1]],AXIS[\"Longitude (L)\", east, ORDER[2]],ANGLEUNIT[\"degree\", 0.017453292519943295],SCOPE[\"Horizontal component of 3D system. Used by the GPS satellite navigation system and for NATO military geodetic surveying.\"],AREA[\"World.\"],BBOX[-90.00, -180.00, 90.00, 180.00],ID[\"EPSG\", 4326, \"9.7\", URI[\"urn:ogc:def:crs:EPSG:9.7:4326\"]]]"
package

◆ srid

Integer srid =4326
package