kopia lustrzana https://github.com/OpenDroneMap/WebODM
commit
7284f8d50f
|
@ -170,7 +170,7 @@ class Metadata(TaskNestedView):
|
|||
|
||||
nodata = None
|
||||
# Workaround for https://github.com/OpenDroneMap/WebODM/issues/894
|
||||
if band_count > 4:
|
||||
if tile_type == 'orthophoto':
|
||||
nodata = 0
|
||||
|
||||
info = main.metadata(src, pmin=pmin, pmax=pmax, histogram_bins=255, histogram_range=hrange, expr=expr, nodata=nodata)
|
||||
|
@ -347,7 +347,7 @@ class Tiles(TaskNestedView):
|
|||
indexes = non_alpha_indexes(src)
|
||||
|
||||
# Workaround for https://github.com/OpenDroneMap/WebODM/issues/894
|
||||
if nodata is None and src.meta['count'] > 4:
|
||||
if nodata is None and tile_type =='orthophoto':
|
||||
nodata = 0
|
||||
|
||||
resampling="nearest"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "WebODM",
|
||||
"version": "1.4.2",
|
||||
"version": "1.4.3",
|
||||
"description": "User-friendly, extendable application and API for processing aerial imagery.",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
|
Ładowanie…
Reference in New Issue