- Suppression module classification sémantique (non fonctionnel) - Suppression section rapports (vue synthétique) - Ajout flèche du nord vectorielle noire (coin supérieur droit, au-dessus légende) - Pipeline simplifié à 3 étapes: classification sol, génération DTM, visualisations - Prétraitement ReturnNumber pour fichiers LAZ corrompus - Orientation nord garantie sur toutes les cartes Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
42 lines
914 B
Docker
42 lines
914 B
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 \
|
|
tqdm
|
|
|
|
# Copy scripts
|
|
COPY process_lidar.py /usr/local/bin/
|
|
RUN chmod +x /usr/local/bin/process_lidar.py
|
|
|
|
# Create directories with correct permissions
|
|
RUN mkdir -p /data/output /data/input && \
|
|
chmod 777 /data /data/output /data/input
|
|
|
|
VOLUME ["/data"]
|
|
|
|
CMD ["python3", "/usr/local/bin/process_lidar.py", "/data/input", "-o", "/data/output"]
|