public class SpatialProjection extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DISTANCE_FUNCTION |
static String |
DISTANCE_SPHERE_FUNCTION |
static String |
LINEMERGE_FUNCTION |
static String |
ST_CLOSEST_POINT |
static String |
ST_LINE_INTERPOLATE_POINT_FUNCTION |
static String |
ST_LINE_LOCATE_POINT_FUNCTION |
| Constructor and Description |
|---|
SpatialProjection() |
| Modifier and Type | Method and Description |
|---|---|
static org.hibernate.criterion.SimpleProjection |
distance_pointToLine(com.vividsolutions.jts.geom.Point point,
String lineStringColumnName)
projection to get the distance_sphere between a point and a LineString
|
static org.hibernate.criterion.SimpleProjection |
distance_sphere(com.vividsolutions.jts.geom.Point point,
String locationColumnName)
projection to get the distance_sphere of a point
if you're on a Cartesian ref use
distance(Point, String) |
static org.hibernate.criterion.SimpleProjection |
distance(com.vividsolutions.jts.geom.Point point,
String locationColumnName)
projection to get the distance from a point
if you're on a lat/long ref, use @link
distance_sphere(Point, String) |
public static final String DISTANCE_FUNCTION
public static final String DISTANCE_SPHERE_FUNCTION
public static String ST_LINE_INTERPOLATE_POINT_FUNCTION
public static String ST_CLOSEST_POINT
public static String ST_LINE_LOCATE_POINT_FUNCTION
public static String LINEMERGE_FUNCTION
public static org.hibernate.criterion.SimpleProjection distance_pointToLine(com.vividsolutions.jts.geom.Point point,
String lineStringColumnName)
point - the point to get the distancelineStringColumnName - the name of the lineString columndistance(Point, String)public static org.hibernate.criterion.SimpleProjection distance_sphere(com.vividsolutions.jts.geom.Point point,
String locationColumnName)
distance(Point, String)point - the point to get the distancelocationColumnName - the name of the column we want the distancedistance(Point, String)public static org.hibernate.criterion.SimpleProjection distance(com.vividsolutions.jts.geom.Point point,
String locationColumnName)
distance_sphere(Point, String)point - the point to get the distancelocationColumnName - the name of the column we want the distancedistance_sphere(Point, String)Copyright © 2015. All rights reserved.