Class RailWayLWIterator

    • Constructor Detail

      • RailWayLWIterator

        public RailWayLWIterator​(Connection connection,
                                 String tableTrackGeometry,
                                 String tableTrainTraffic)
        Generate sound source for train (with train source directivity) from traffic and geometry tracks tables
        Parameters:
        connection -
        tableTrackGeometry - Track geometry and metadata
        tableTrainTraffic - Train traffic associated with tracks
      • RailWayLWIterator

        public RailWayLWIterator​(Connection connection,
                                 String tableTrackGeometry,
                                 String tableTrainTraffic,
                                 String vehicleDataFile,
                                 String trainSetDataFile,
                                 String railwayDataFile)
        Generate sound source for train (with train source directivity) from traffic and geometry tracks tables
        Parameters:
        connection -
        tableTrackGeometry - Track geometry and metadata
        tableTrainTraffic - Train traffic associated with tracks
    • Method Detail

      • hasColumn

        public static boolean hasColumn​(org.h2gis.utilities.SpatialResultSet rs,
                                        String columnName)
                                 throws SQLException
        Check if a specified column exists in the given SpatialResultSet
        Parameters:
        rs -
        columnName -
        Returns:
        "true" if the specified column name exists in the result set; "false" otherwise.
        Throws:
        SQLException
      • next

        public RailWayLWGeom next()
        Retrieves the next RailWayLWGeom object in the sequence
        Specified by:
        next in interface Iterator<RailWayLWGeom>
        Returns:
        the current RailWayLWGeom object.