public class GeoJSONSpatialLayerHierarchyConfiguration
extends java.lang.Object
GeoJSONGeoEnricher
.Constructor and Description |
---|
GeoJSONSpatialLayerHierarchyConfiguration(GeoJSONSpatialLayerDescriptor[] descriptors, int srid, double tolerance)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
GeoJSONSpatialLayerDescriptor[] |
getDescriptors()
Gets the descriptors of the spatial data layers of this configuration
|
int |
getSrid()
Gets the spatial reference system id
|
double |
getTolerance()
Returns the tolerance used when performing spatial operations
|
public GeoJSONSpatialLayerHierarchyConfiguration(GeoJSONSpatialLayerDescriptor[] descriptors, int srid, double tolerance)
descriptors
- an array of spatial data layer descriptors. The descriptors are expected to be sorted in an ascending way by the hierarchy level where the hierarchy level matches the array index. The hierarchy level 0 corresponds to the root layer, the top parent layer. The layer at the last array position does not have a child layer.srid
- the spatial reference system to be usedtolerance
- the tolerance used when performing spatial operationspublic GeoJSONSpatialLayerDescriptor[] getDescriptors()
GeoJSONSpatialLayerDescriptor
instancespublic int getSrid()
public double getTolerance()
Copyright © 2017 Oracle and/or its affiliates. All Rights Reserved.