Class ProximitySearches
-
Constructor Summary
ConstructorsConstructorDescriptionProximitySearches
(OptimizedMapLayers optimizedMap) Creates aProximitySearches
from an Optimized Map for Location Library. -
Method Summary
Modifier and TypeMethodDescription<GC extends GeoCoordinateHolder>
ProximitySearch<GC,Vertex> Creates aProximitySearch
.<GC> ProximitySearch<GC,
Vertex> vertexGeometrySegments
(GeoCoordinateAdapter<GC> adapter) Creates aProximitySearch
using aGeoCoordinateAdapter
.static <GC extends GeoCoordinateHolder>
ProximitySearch<GC,Vertex> vertexGeometrySegments
(Catalog optimizedMap, DataLoaderProvider cacheManager) Deprecated.static <GC> ProximitySearch<GC,
Vertex> vertexGeometrySegments
(Catalog optimizedMap, DataLoaderProvider cacheManager, GeoCoordinateAdapter<GC> adapter) Deprecated.Prefernew ProximitySearches(optimizedMap).vertexGeometrySegments(adapter)
.static <GC extends GeoCoordinateHolder>
ProximitySearch<GC,Vertex> vertexGeometrySegments
(GeometryLayer geometryLayer) static <GC> ProximitySearch<GC,
Vertex> vertexGeometrySegments
(GeometryLayer optimizedMap, GeoCoordinateAdapter<GC> adapter) <GC extends GeoCoordinateHolder>
ProximitySearch<GC,Vertex> vertices()
Creates aProximitySearch
.<GC> ProximitySearch<GC,
Vertex> vertices
(GeoCoordinateAdapter<GC> adapter) Creates aProximitySearch
using aGeoCoordinateAdapter
.static <GC extends GeoCoordinateHolder>
ProximitySearch<GC,Vertex> vertices
(Catalog optimizedMap, DataLoaderProvider cacheManager) Deprecated.Prefernew ProximitySearches(optimizedMap).vertices()
.static <GC> ProximitySearch<GC,
Vertex> vertices
(Catalog optimizedMap, DataLoaderProvider cacheManager, GeoCoordinateAdapter<GC> adapter) Deprecated.Prefernew ProximitySearches(optimizedMap).vertices(adapter)
.static <GC extends GeoCoordinateHolder>
ProximitySearch<GC,Vertex> vertices
(GeometryLayer geometryLayer) static <GC> ProximitySearch<GC,
Vertex> vertices
(GeometryLayer optimizedMap, GeoCoordinateAdapter<GC> adapter)
-
Constructor Details
-
ProximitySearches
Creates aProximitySearches
from an Optimized Map for Location Library.
-
-
Method Details
-
vertices
Creates aProximitySearch
.This search returns at most one result for a single vertex, the closest point on that vertex' geometry.
Use this overload of the method when the geographical coordinate type implements
GeoCoordinateHolder
. -
vertices
Creates aProximitySearch
using aGeoCoordinateAdapter
.This search returns at most one result for a single vertex, the closest point on that vertex' geometry.
Use this overload of the method when the geographical coordinate type does not implement
GeoCoordinateHolder
. -
vertexGeometrySegments
Creates aProximitySearch
.This search (possibly) returns multiple results for a single vertex, at most one per geometry segment (pair of points) in its geometry.
Use this overload of the method when the geographical coordinate type implements
GeoCoordinateHolder
. -
vertexGeometrySegments
Creates aProximitySearch
using aGeoCoordinateAdapter
.This search (possibly) returns multiple results for a single vertex, at most one per geometry segment (pair of points) in its geometry.
Use this overload of the method when the geographical coordinate type does not implement
GeoCoordinateHolder
. -
vertices
@Deprecated public static <GC extends GeoCoordinateHolder> ProximitySearch<GC,Vertex> vertices(Catalog optimizedMap, DataLoaderProvider cacheManager) Deprecated.Prefernew ProximitySearches(optimizedMap).vertices()
.Creates aProximitySearch
from an Optimized Map for Location Library.This search returns at most one result for a single vertex, the closest point on that vertex' geometry.
Use this overload of the method when the geographical coordinate type implements
GeoCoordinateHolder
. -
vertices
@Deprecated public static <GC> ProximitySearch<GC,Vertex> vertices(Catalog optimizedMap, DataLoaderProvider cacheManager, GeoCoordinateAdapter<GC> adapter) Deprecated.Prefernew ProximitySearches(optimizedMap).vertices(adapter)
.Creates aProximitySearch
from an Optimized Map for Location Library using aGeoCoordinateAdapter
.This search returns at most one result for a single vertex, the closest point on that vertex' geometry.
Use this overload of the method when the geographical coordinate type does not implement
GeoCoordinateHolder
. -
vertexGeometrySegments
@Deprecated public static <GC extends GeoCoordinateHolder> ProximitySearch<GC,Vertex> vertexGeometrySegments(Catalog optimizedMap, DataLoaderProvider cacheManager) Deprecated.Prefernew ProximitySearches(optimizedMap).vertexGeometrySegments()
.Creates aProximitySearch
from an Optimized Map for Location Library.This search (possibly) returns multiple results for a single vertex, at most one per geometry segment (pair of points) in its geometry.
Use this overload of the method when the geographical coordinate type implements
GeoCoordinateHolder
. -
vertexGeometrySegments
@Deprecated public static <GC> ProximitySearch<GC,Vertex> vertexGeometrySegments(Catalog optimizedMap, DataLoaderProvider cacheManager, GeoCoordinateAdapter<GC> adapter) Deprecated.Prefernew ProximitySearches(optimizedMap).vertexGeometrySegments(adapter)
.Creates aProximitySearch
from an Optimized Map for Location Libraryusing aGeoCoordinateAdapter
.This search (possibly) returns multiple results for a single vertex, at most one per geometry segment (pair of points) in its geometry.
Use this overload of the method when the geographical coordinate type does not implement
GeoCoordinateHolder
. -
vertices
public static <GC extends GeoCoordinateHolder> ProximitySearch<GC,Vertex> vertices(GeometryLayer geometryLayer) -
vertices
public static <GC> ProximitySearch<GC,Vertex> vertices(GeometryLayer optimizedMap, GeoCoordinateAdapter<GC> adapter) -
vertexGeometrySegments
public static <GC extends GeoCoordinateHolder> ProximitySearch<GC,Vertex> vertexGeometrySegments(GeometryLayer geometryLayer) -
vertexGeometrySegments
public static <GC> ProximitySearch<GC,Vertex> vertexGeometrySegments(GeometryLayer optimizedMap, GeoCoordinateAdapter<GC> adapter)
-
new ProximitySearches(optimizedMap).vertexGeometrySegments()
.