read elevation type from rd5
This commit is contained in:
parent
477c675d46
commit
16d019c1d0
3 changed files with 26 additions and 0 deletions
|
|
@ -33,6 +33,7 @@ final class OsmFile {
|
|||
private int cellsize;
|
||||
private int ncaches;
|
||||
private int indexsize;
|
||||
protected byte elevationType = 3;
|
||||
|
||||
public OsmFile(PhysicalFile rafile, int lonDegree, int latDegree, DataBuffers dataBuffers) throws IOException {
|
||||
this.lonDegree = lonDegree;
|
||||
|
|
@ -43,6 +44,7 @@ final class OsmFile {
|
|||
|
||||
if (rafile != null) {
|
||||
divisor = rafile.divisor;
|
||||
elevationType = rafile.elevationType;
|
||||
|
||||
cellsize = 1000000 / divisor;
|
||||
ncaches = divisor * divisor;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue