You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to get heightmap in bbox, using GeoTiff dataset with Cell file format, fails when bbox is partially covered.
RasterService.GetVirtualHeightMapInBBox(...) returns a hightmap half pixel shifted. This results in incorrect height map when merging tilesHeightMap in ElevationService.GetHeightMap(....)
When DEMFileRegistrationMode is Cell, we should add (metadata.pixelSizeY / 2d) to metadata.DataEndLat, and (metadata.pixelSizeX / 2d) to metadata.DataStartLon
(File:
Trying to get heightmap in bbox, using GeoTiff dataset with Cell file format, fails when bbox is partially covered.
RasterService.GetVirtualHeightMapInBBox(...) returns a hightmap half pixel shifted. This results in incorrect height map when merging tilesHeightMap in ElevationService.GetHeightMap(....)
When DEMFileRegistrationMode is Cell, we should add (metadata.pixelSizeY / 2d) to metadata.DataEndLat, and (metadata.pixelSizeX / 2d) to metadata.DataStartLon
(File:
DEM.Net/DEM.Net.Core/Services/Raster/RasterService.cs
Line 560 in 168cd8e
Reference:
DEM.Net/DEM.Net.Core/IO/Raster/GeoTiff.cs
Line 440 in 168cd8e
The text was updated successfully, but these errors were encountered: