Skip to content

Commit

Permalink
limiting voxel altitude
Browse files Browse the repository at this point in the history
  • Loading branch information
r.dhakal-at-531630878474 committed Nov 27, 2024
1 parent e00bbc3 commit daf5c14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operated/shifting_spatial_id.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func GetNspatialIdsAroundVoxcels(spatialIDs []string, hLayers, vLayers int64) ([
// Loop through each X, Y, Z shift index and each SpatialID
for xShiftIndex = -hLayers; xShiftIndex < hLayers+1; xShiftIndex += 1 {
for yShiftIndex = -hLayers; yShiftIndex < hLayers+1; yShiftIndex += 1 {
for vShiftIndex = -vLayers; vShiftIndex < vLayers+1; vShiftIndex += 1 {
for vShiftIndex = -vLayers; vShiftIndex < vLayers; vShiftIndex += 1 {

if xShiftIndex == 0 && yShiftIndex == 0 && vShiftIndex == 0 {
continue
Expand Down

0 comments on commit daf5c14

Please sign in to comment.