Class OgrHelper

java.lang.Object
nz.org.riskscape.ogr.OgrHelper

public class OgrHelper extends Object

Interfaces to OGR if installed on the current system.

  • Constructor Details

    • OgrHelper

      public OgrHelper()
  • Method Details

    • isAvailable

      public boolean isAvailable()

      Indicates if ogr is available on this system.

      Returns:
      true if ogr
    • getAvailableDrivers

      public Set<String> getAvailableDrivers()
      Returns:
      set of OGR drivers available on system
    • getDataSourceFactory

      public Optional<org.geotools.data.ogr.OGRDataStoreFactory> getDataSourceFactory()