Class RecordGeoMap

java.lang.Object
io.goobi.viewer.model.maps.RecordGeoMap

public class RecordGeoMap extends Object
Contains data to create a geomap for a record containing complex metadata (metadata documents) with geo coordinates.
Author:
Florian Alpers
  • Constructor Details

    • RecordGeoMap

      public RecordGeoMap(StructElement struct) throws DAOException
      Create a new geomap with features from the given StructElement and related documents.
      Parameters:
      struct - top-level structure element of the record
      Throws:
      DAOException - if a database error occurs while loading geo map configuration
    • RecordGeoMap

      public RecordGeoMap(StructElement struct, IDAO dao, List<FeatureSetConfiguration> featureSetConfigs)
      Create a new geomap with features from the given StructElement and related documents.
      Parameters:
      struct - top-level structure element of the record
      dao - data access object for annotation queries
      featureSetConfigs - feature set configurations for the geo map
    • RecordGeoMap

      public RecordGeoMap()
      Empty geomap without features.
  • Method Details

    • getGeomapFiltersAsJson

      public String getGeomapFiltersAsJson()
    • getGeoMap

      public GeoMap getGeoMap()