Class NoiseMapDatabaseParameters

java.lang.Object
org.noise_planet.noisemodelling.jdbc.NoiseMapDatabaseParameters

public class NoiseMapDatabaseParameters extends Object
Global configuration of NoiseModelling computation based on database data This is input only, these settings are never updated by org.noise_planet.noisemodelling.jdbc class
  • Field Details

    • exportAttenuationMatrix

      public boolean exportAttenuationMatrix
    • DEFAULT_RECEIVERS_LEVEL_TABLE_NAME

      public static final String DEFAULT_RECEIVERS_LEVEL_TABLE_NAME
      See Also:
    • noSourceNoiseLevel

      public double noSourceNoiseLevel
      Noise level on the receiver for each period if mergeSources is true and no sound source were found
    • CSVProfilerOutputPath

      public File CSVProfilerOutputPath
      Path to write the computation time and other statistics in a csv file
    • CSVProfilerWriteInterval

      public int CSVProfilerWriteInterval
      Create a new csv line after this time in seconds
    • exportCnossosPathWithAttenuation

      public boolean exportCnossosPathWithAttenuation
      With attenuation export also the json of the related cnossos path, for debugging purpose
    • keepAbsorption

      public boolean keepAbsorption
    • maximumRaysOutputCount

      public int maximumRaysOutputCount
    • exportRaysMethod

    • maximumError

      public double maximumError
      maximum dB Error, stop calculation if the sum of further sources contributions are smaller than this value
    • geojsonColumnSizeLimit

      public int geojsonColumnSizeLimit
    • outputMaximumQueue

      public int outputMaximumQueue
    • mergeSources

      public boolean mergeSources
    • receiversLevelTable

      public String receiversLevelTable
    • raysTable

      public String raysTable
    • sqlOutputFile

      public File sqlOutputFile
    • sqlOutputFileCompression

      public Boolean sqlOutputFileCompression
    • dropResultsTable

      public Boolean dropResultsTable
    • computeLAEQOnly

      public boolean computeLAEQOnly
    • exportReceiverPosition

      public boolean exportReceiverPosition
      If true the position of the receiver (with the altitude if available) will be exported into the results tables
  • Constructor Details

    • NoiseMapDatabaseParameters

      public NoiseMapDatabaseParameters()
  • Method Details

    • getMaximumRaysOutputCount

      public int getMaximumRaysOutputCount()
    • isExportReceiverPosition

      public boolean isExportReceiverPosition()
      Returns:
      If true the position of the receiver (with the altitude if available) will be exported into the results tables
    • setExportReceiverPosition

      public void setExportReceiverPosition(boolean exportReceiverPosition)
      Parameters:
      exportReceiverPosition - If true the position of the receiver (with the altitude if available) will be exported into the results tables
    • setMaximumRaysOutputCount

      public void setMaximumRaysOutputCount(int maximumRaysOutputCount)
      Parameters:
      maximumRaysOutputCount - if export rays, do not keep more than this number of rays per computation area (0 infinite)
    • isComputeLAEQOnly

      public boolean isComputeLAEQOnly()
    • setComputeLAEQOnly

      public void setComputeLAEQOnly(boolean computeLAEQOnly)
    • getExportRaysMethod

      public NoiseMapDatabaseParameters.ExportRaysMethods getExportRaysMethod()
    • setExportRaysMethod

      public void setExportRaysMethod(NoiseMapDatabaseParameters.ExportRaysMethods exportRaysMethod)
      Export rays in table (beware this could take a lot of storage space) or keep on memory or do not keep
      Parameters:
      exportRaysMethod - Export rays method
    • setExportCnossosPathWithAttenuation

      public void setExportCnossosPathWithAttenuation(boolean exportCnossosPathWithAttenuation)
      Parameters:
      exportCnossosPathWithAttenuation - With attenuation export also the json of the related cnossos path, for debugging purpose
    • isKeepAbsorption

      public boolean isKeepAbsorption()
      Returns:
      With attenuation export also the json of the related cnossos path, for debugging purpose
    • setExportAttenuationMatrix

      public void setExportAttenuationMatrix(boolean exportAttenuationMatrix)
      Parameters:
      exportAttenuationMatrix - If true store absorption values in propagation path objects
      See Also:
    • setOutputMaximumQueue

      public void setOutputMaximumQueue(int outputMaximumQueue)
      Maximum result stack to be inserted in database if the stack is full, the computation core is waiting
      Parameters:
      outputMaximumQueue - Maximum number of elements in stack
    • getMaximumError

      public double getMaximumError()
      Returns:
      maximum dB Error, stop calculation if the maximum sum of further sources contributions are smaller than this value
    • setMaximumError

      public void setMaximumError(double maximumError)
      Parameters:
      maximumError - maximum dB Error, stop calculation if the maximum sum of further sources contributions compared to the current level at the receiver position are smaller than this value
    • setMergeSources

      public void setMergeSources(boolean mergeSources)
      Parameters:
      mergeSources - If true all sources contributions are merged into a single noise level per receiver. The source identifier is loosed in the output tables.
    • getRaysTable

      public String getRaysTable()
      Returns:
      Table name that contains rays dump (profile)
    • setRaysTable

      public void setRaysTable(String raysTable)
      Parameters:
      raysTable - Table name that contains rays dump (profile)
    • isMergeSources

      public boolean isMergeSources()
      Returns:
      If true all sources contributions are merged into a single noise level per receiver. The source identifier is loosed in the output tables.
    • getReceiversLevelTable

      public String getReceiversLevelTable()
      Returns:
      Output table with noise level per receiver/source
    • setReceiversLevelTable

      public void setReceiversLevelTable(String receiversLevelTable)
      Parameters:
      receiversLevelTable - Output table with noise level per receiver/source