Comments (3)
I have also confirmed that the docker image has an outdated GDAL version.
GDAL 2.1 is available for Ubuntu 16.04 from the ubuntugis-stable PPA:
https://launchpad.net/~ubuntugis/+archive/ubuntu/ppa
from s2p.
I made the following input to the dockerfile
with GDAL 2.1, cmake, lxml and moved from "github.com/carlodef/s2p" to "github.com/MISS3D/s2p"
I tested the build by running the dockerfile
using the docker build
command:
sudo docker build -t s2p/gdal:2.1 .
sudo docker run s2p/gdal:2.1 python s2p.py testdata/input_pair/config.json
Dockerfile:
# docker for s2p
# Carlo de Franchis <[email protected]>
FROM ubuntu:16.04
MAINTAINER Carlo de Franchis <[email protected]>
ARG DEBIAN_FRONTEND=noninteractive # https://goo.gl/aypXVx
RUN apt-get update && apt-get install -y \
build-essential \
geographiclib-tools \
git \
libfftw3-dev \
libgdal-dev \
libgeographic-dev \
libgeotiff-dev \
libtiff5-dev \
python \
python-numpy \
python-pip \
cmake \
software-properties-common \
python-software-properties
RUN pip install -U pip
RUN pip install utm bs4 lxml requests
# Install GDAL 2.x from ubuntugis-stable
RUN apt-get install dialog apt-utils -y
RUN add-apt-repository ppa:ubuntugis/ppa -y
RUN apt-get update && apt-get install -y \
gdal-bin \
python-gdal
# Install s2p from MISS3D/s2p
RUN git clone https://github.com/MISS3D/s2p.git --recursive
RUN cd s2p && make all
WORKDIR /s2p
from s2p.
Thanks @GwennaelM @learning4life I've merged the proposed fix.
from s2p.
Related Issues (20)
- Dockerfile not comment correctly and should add apt-get install unzip HOT 1
- Cannot get S2P to work on IARPA challenge data HOT 6
- How to use the value in rpc.XML to reproject raster.tif? HOT 2
- incorrect disparity range manipulation
- Unable to run docker image HOT 2
- creating constant fixed size for rectified_ref.tif and rectified_sec.tif
- s2p stuck without any output HOT 3
- egm96-15.pgm missing in docker
- Utilities/Utilities.cpp:17:17: fatal error: png.h: File o directory non esistente HOT 4
- input_pair Test Failure HOT 3
- how to use Digital Globe's (DG) stereo-pair images with S2P HOT 1
- Failed building wheel for s2p HOT 3
- How get GeoTIFF's RPC HOT 1
- Just Pancromatic? HOT 1
- How s2p find out the correct coordinates with only RPC model?
- Unable to generate colored point clouds
- Colab 'ERROR: Failed building wheel for s2p' HOT 1
- Run the exact same code, data, and parameters on AWS and my laptop lead to different results HOT 2
- Error - exit status -6 HOT 4
- Multiple sources for this repo
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from s2p.