From 317c52357ffd92a6df01cec612fee3ec5d883a65 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Fri, 22 Apr 2022 13:26:36 -0400 Subject: [PATCH] Add planar preset --- app/boot.py | 4 ++++ package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/boot.py b/app/boot.py index a556e884..bf649fb0 100644 --- a/app/boot.py +++ b/app/boot.py @@ -137,6 +137,10 @@ def add_default_presets(): defaults={'options': [{'name': 'auto-boundary', 'value': True}, {'name': 'dsm', 'value': True}, {'name': 'dtm', 'value': True}]}) + Preset.objects.update_or_create(name='Field', system=True, + defaults={'options': [{'name': 'sfm-algorithm', 'value': 'planar'}, + {'name': 'fast-orthophoto', 'value': True}, + {'name': 'matcher-neighbors', 'value': 4}]}) Preset.objects.update_or_create(name='Fast Orthophoto', system=True, defaults={'options': [{'name': 'auto-boundary', 'value': True}, {'name': 'fast-orthophoto', 'value': True}]}) diff --git a/package.json b/package.json index f3848e4e..6f39a418 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "WebODM", - "version": "1.9.13", + "version": "1.9.14", "description": "User-friendly, extendable application and API for processing aerial imagery.", "main": "index.js", "scripts": {