- Corriger SVF: ray-tracing 16 azimuts (inversion DEM remplacée) - Corriger Openness: angle zénith/nadir sur 8 directions (min/max filter remplacé) - Ajouter MSRM (LRM multi-échelle 5/10/25/50/100m) - Ajouter TPI multi-échelle (5m + 100m) - Ajouter détection dépressions (remplissage hydrologique) - Ajouter SAILORE (LRM adaptatif f(pente)) - Ajouter rugosité de surface (écart-type local 5m) - Ajouter anomalies statistiques (z-score + Moran's I) - Ajouter ondelette Mexican Hat (CWT 5 échelles) - Ajouter texture GLCM (contraste + entropie - homogénéité) - Ajouter accumulation de flux (D8) - Retirer geomorphons et VAT composite - Répertoire par fichier LAZ dans visualisations/ - Support multi-CPU (-w/--workers) - Légendes explicites avec différenciation entre techniques similaires - Docker: uid/gid 1000:1000 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
47 lines
1.0 KiB
Docker
47 lines
1.0 KiB
Docker
FROM ubuntu:22.04
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
ENV TZ=Europe/Paris
|
|
|
|
# Install PDAL and Python from Ubuntu packages
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
pdal \
|
|
gdal-bin \
|
|
python3-gdal \
|
|
python3-pip \
|
|
python3-dev \
|
|
build-essential \
|
|
wget \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /data
|
|
|
|
# Install Python packages via pip
|
|
COPY requirements.txt .
|
|
RUN pip3 install --no-cache-dir \
|
|
numpy \
|
|
matplotlib \
|
|
whitebox \
|
|
rasterio \
|
|
'laspy[laspy]' \
|
|
scikit-image \
|
|
scikit-learn \
|
|
scipy \
|
|
tqdm
|
|
|
|
# Copy scripts
|
|
COPY process_lidar.py /usr/local/bin/
|
|
RUN chmod +x /usr/local/bin/process_lidar.py
|
|
|
|
# Create user with uid/gid 1000:1000 and run as that user
|
|
RUN groupadd -g 1000 lidar && \
|
|
useradd -u 1000 -g lidar -m lidar && \
|
|
mkdir -p /data/output /data/input && \
|
|
chown -R lidar:lidar /data /data/output /data/input
|
|
|
|
USER lidar
|
|
|
|
VOLUME ["/data"]
|
|
|
|
CMD ["python3", "/usr/local/bin/process_lidar.py", "/data/input", "-o", "/data/output"]
|