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

Public Member Functions

void testSridAxis2Orientation ()
 

Static Public Attributes

static final String testPoint ="<http://www.opengis.net/def/crs/EPSG/0/4326> POINT(1 2 3)"
 

Member Function Documentation

◆ testSridAxis2Orientation()

void testSridAxis2Orientation ( )
17  {
18  SridGetAxis2Orientation is3d=new SridGetAxis2Orientation();
19  ValueFactory valfac=SimpleValueFactory.getInstance();
20  Value geo=valfac.createLiteral(testPoint,WKTDatatype.LiteralIRI);
21  Value result=is3d.evaluate(valfac, geo);
22  Value expResult=valfac.createLiteral("X");
23  assertEquals(expResult, result);
24  }
static final String testPoint
Definition: SridGetAxis2OrientationTest.java:14

References GeometricStringExportFunction.evaluate(), WKTDatatype.LiteralIRI, and SridGetAxis2OrientationTest.testPoint.

Member Data Documentation

◆ testPoint

final String testPoint ="<http://www.opengis.net/def/crs/EPSG/0/4326> POINT(1 2 3)"
static