Class JenaExtensionsH3
java.lang.Object
org.aksw.jena_sparql_api.sparql.ext.geosparql.JenaExtensionsH3
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.jena.geosparql.implementation.GeometryWrappercellToPolygon(long addr) static com.uber.h3core.H3Corestatic NodeListh3CellIDs(org.apache.jena.geosparql.implementation.GeometryWrapper geomWrapper, int level, boolean fullCover) static org.apache.jena.geosparql.implementation.GeometryWrapperh3CellIdToGeom(long cellId) static longh3CellIdToParent(long cellId, int parentRes) static inth3CellResolution(long cellId) static longh3GridDistance(long cellId1, long cellId2) static booleanh3IsValidCell(long cellId) static longh3LongLatAsCellId(double lon, double lat, int resolution) static org.locationtech.jts.geom.Coordinateh3ToJts(com.uber.h3core.util.LatLng latLng) static List<org.locationtech.jts.geom.Coordinate>static voidinit(FunctionBinder binder, org.apache.jena.sparql.pfunction.PropertyFunctionRegistry ppfRegistry) static voidinitCore(FunctionBinder binder) static voidinitFunctions(FunctionBinder binder) static voidinitPropertyFunctions(org.apache.jena.sparql.pfunction.PropertyFunctionRegistry ppfRegistry)
-
Field Details
-
NS
- See Also:
-
-
Constructor Details
-
JenaExtensionsH3
public JenaExtensionsH3()
-
-
Method Details
-
getOrNull
public static com.uber.h3core.H3Core getOrNull() -
init
public static void init(FunctionBinder binder, org.apache.jena.sparql.pfunction.PropertyFunctionRegistry ppfRegistry) -
initFunctions
-
initPropertyFunctions
public static void initPropertyFunctions(org.apache.jena.sparql.pfunction.PropertyFunctionRegistry ppfRegistry) -
initCore
-
cellToPolygon
public static org.apache.jena.geosparql.implementation.GeometryWrapper cellToPolygon(long addr) -
h3ToJts
public static org.locationtech.jts.geom.Coordinate h3ToJts(com.uber.h3core.util.LatLng latLng) -
h3ToJts
-
h3CellIDs
public static NodeList h3CellIDs(org.apache.jena.geosparql.implementation.GeometryWrapper geomWrapper, int level, boolean fullCover) -
h3LongLatAsCellId
public static long h3LongLatAsCellId(double lon, double lat, int resolution) -
h3CellIdToGeom
public static org.apache.jena.geosparql.implementation.GeometryWrapper h3CellIdToGeom(long cellId) -
h3CellIdToParent
public static long h3CellIdToParent(long cellId, int parentRes) -
h3IsValidCell
public static boolean h3IsValidCell(long cellId) -
h3CellResolution
public static int h3CellResolution(long cellId) -
h3GridDistance
public static long h3GridDistance(long cellId1, long cellId2)
-