org.geotools.gce.imagemosaic.catalog
Class SidecarFootprintProvider

Object
  extended by SidecarFootprintProvider
All Implemented Interfaces:
FootprintGeometryProvider

public class SidecarFootprintProvider
extends Object
implements FootprintGeometryProvider

A footprint provider looking for sidecar files (SHP, WKB, WKT)

Author:
Andrea Aime - GeoSolutions

Constructor Summary
SidecarFootprintProvider(File mosaicFolder)
           
 
Method Summary
 void dispose()
          Close up the provider (in case it holds onto persistent resources such as files or database connections)
 Geometry getFootprint(SimpleFeature feature)
          Retrieves the footprint from the current granule represenative feature (as it comes from the mosaic index)
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SidecarFootprintProvider

public SidecarFootprintProvider(File mosaicFolder)
Method Detail

getFootprint

public Geometry getFootprint(SimpleFeature feature)
                      throws IOException
Description copied from interface: FootprintGeometryProvider
Retrieves the footprint from the current granule represenative feature (as it comes from the mosaic index)

Specified by:
getFootprint in interface FootprintGeometryProvider
Returns:
Throws:
IOException

dispose

public void dispose()
Description copied from interface: FootprintGeometryProvider
Close up the provider (in case it holds onto persistent resources such as files or database connections)

Specified by:
dispose in interface FootprintGeometryProvider


Copyright © 1996-2014 Geotools. All Rights Reserved.