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

Public Member Functions

void testSridAxis1Orientation ()
 

Static Public Attributes

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

Member Function Documentation

◆ testSridAxis1Orientation()

void testSridAxis1Orientation ( )
17  {
18  SridGetAxis1Orientation is3d=new SridGetAxis1Orientation();
19  ValueFactory valfac=SimpleValueFactory.getInstance();
20  Value geo=valfac.createLiteral("<http://www.opengis.net/def/crs/EPSG/0/4326> MULTIPOINT (10 40, 40 30, 20 20, 30 10)", WKTDatatype.LiteralIRI);
21  //Value geo=valfac.createLiteral(testPoint,WKTDatatype.LiteralIRI);
22  Value result=is3d.evaluate(valfac, geo);
23  Value expResult=valfac.createLiteral("X");
24  assertEquals(expResult, result);
25  }

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

Member Data Documentation

◆ testPoint

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