kopia lustrzana https://github.com/OpenDroneMap/WebODM
Added grass-core, support for grass 7.6
rodzic
db81a67c53
commit
09c90b9cc3
|
@ -18,7 +18,7 @@ RUN printf "deb http://mirror.steadfast.net/debian/ stable main contrib n
|
|||
RUN printf "deb http://mirror.steadfast.net/debian/ testing main contrib non-free\ndeb-src http://mirror.steadfast.net/debian/ testing main contrib non-free" > /etc/apt/sources.list.d/testing.list
|
||||
|
||||
# Install Node.js GDAL, nginx, letsencrypt, psql
|
||||
RUN apt-get -qq update && apt-get -qq install -t testing -y binutils libproj-dev gdal-bin nginx && apt-get -qq install -y gettext-base cron certbot postgresql-client-9.6
|
||||
RUN apt-get -qq update && apt-get -qq install -t testing -y binutils libproj-dev gdal-bin nginx grass-core && apt-get -qq install -y gettext-base cron certbot postgresql-client-9.6
|
||||
|
||||
|
||||
# Install pip reqs
|
||||
|
|
|
@ -15,7 +15,8 @@ class GrassEngine:
|
|||
def __init__(self):
|
||||
self.grass_binary = shutil.which('grass7') or \
|
||||
shutil.which('grass72') or \
|
||||
shutil.which('grass74')
|
||||
shutil.which('grass74') or \
|
||||
shutil.which('grass76')
|
||||
|
||||
if self.grass_binary is None:
|
||||
logger.warning("Could not find a GRASS 7 executable. GRASS scripts will not work.")
|
||||
|
|
Ładowanie…
Reference in New Issue