@Deprecated public class FeatureCollectionClipper extends Object
Modifier and Type | Method and Description |
---|---|
static com.vividsolutions.jts.geom.Geometry |
createGeoBoundaryPolygon(Product product)
Deprecated.
since BEAM 4.10, use FeatureUtils instead
|
static org.geotools.feature.FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> |
doOperation(org.geotools.feature.FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> sourceCollection,
org.opengis.referencing.crs.CoordinateReferenceSystem defaultSourceCrs,
com.vividsolutions.jts.geom.Geometry clipGeometry,
org.opengis.referencing.crs.CoordinateReferenceSystem clipCrs,
String targetID,
org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs)
Deprecated.
since BEAM 4.10, use FeatureUtils instead
|
static org.geotools.feature.FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> |
doOperation(org.geotools.feature.FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> sourceCollection,
com.vividsolutions.jts.geom.Geometry clipGeometry,
String targetID,
org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs)
Deprecated.
since BEAM 4.10, use FeatureUtils instead
|
@Deprecated public static org.geotools.feature.FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> doOperation(org.geotools.feature.FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> sourceCollection, com.vividsolutions.jts.geom.Geometry clipGeometry, String targetID, org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs)
sourceCollection
against the clipGeometry
and reprojects the clipped features
to the targetCrs.sourceCollection
- the feature collection to be clipped and reprojected. If it does not
have an associated CRS, WGS_84
is assumed.clipGeometry
- the geometry used for clipping. Assumed to be in
WGS_84
coordinates.targetID
- the ID of the resulting FeatureCollection
. If null
the ID of
the sourceCollection is used.targetCrs
- the CRS the FeatureCollection
is reprojected to. If null
no reprojection
is applied.FeatureCollection
@Deprecated public static org.geotools.feature.FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> doOperation(org.geotools.feature.FeatureCollection<org.opengis.feature.simple.SimpleFeatureType,org.opengis.feature.simple.SimpleFeature> sourceCollection, org.opengis.referencing.crs.CoordinateReferenceSystem defaultSourceCrs, com.vividsolutions.jts.geom.Geometry clipGeometry, org.opengis.referencing.crs.CoordinateReferenceSystem clipCrs, String targetID, org.opengis.referencing.crs.CoordinateReferenceSystem targetCrs)
sourceCollection
against the clipGeometry
and reprojects the clipped features
to the targetCrs.sourceCollection
- the feature collection to be clipped and reprojected. If it does not
have an associated CRS, the one specified by defaultSourceCrs
is used.defaultSourceCrs
- if sourceCollection
does not have an associated CRS, this one is used.clipGeometry
- the geometry used for clippingclipCrs
- the CRS of the clipGeometry
targetID
- the ID of the resulting FeatureCollection
. If null
the ID of
the sourceCollection is used.targetCrs
- the CRS the FeatureCollection
is reprojected to. If null
no reprojection
is applied.FeatureCollection
IllegalStateException
- if the sourceCollection
has no associated CRS and defaultSourceCrs
is null
@Deprecated public static com.vividsolutions.jts.geom.Geometry createGeoBoundaryPolygon(Product product)
Copyright © 2014–2016 European Space Agency (ESA). All rights reserved.