new surrounding check'

This commit is contained in:
afischerdev 2025-03-12 10:09:57 +01:00
parent 1040780c2d
commit 6a8863510d
4 changed files with 314 additions and 9 deletions

View file

@ -17,7 +17,7 @@ import btools.codec.WaypointMatcher;
import btools.util.ByteDataReader;
import btools.util.Crc32;
final class OsmFile {
final public class OsmFile {
private RandomAccessFile is = null;
private long fileOffset;

View file

@ -143,4 +143,14 @@ final public class PhysicalFile {
elevationType = dis.readByte();
} catch (Exception e) {}
}
public void close(){
if (ra != null) {
try {
ra.close();
} catch (Exception ee) {
}
}
}
}