Skip to content

micmac example not running, needs proj-bin #1

@yjmenezes

Description

@yjmenezes

@kikislater thank you for sharing micmac under Docker.

I follow this steps to install Docker under Debian 9.3x64 kernel 4.9.
https://www.itzgeek.com/how-tos/linux/debian/how-to-install-docker-on-debian-9.html

jmenezes@gnu000:/tmp$ docker run hello-world
Hello from Docker!
This message shows that your installation appears to be working correctly.

I am trying micmac, this way:
jmenezes@gnu000:/tmp$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
giscan/micmac latest 0b3d286e56fe 7 hours ago 3.8GB
ubuntu 14.04 dc4491992653 10 days ago 222MB
hello-world latest f2a91732366c 2 months ago 1.85kB

jmenezes@gnu000:/tmp$ docker run -it giscan/micmac mm3d
docker: Error response from daemon: OCI runtime create failed: container_linux.go:296: starting container process caused "exec: "mm3d": executable file not found in $PATH": unknown.

how do i set container PATH ?

When i run this way, i get:
jmenezes@gnu000:/tmp$ docker run -it giscan/micmac

root@a616ded37e17:/# ls /
bin boot dev etc home lib lib64 media micmac mnt opt proc root run sbin setup.sh srv sys tmp update_micmac.sh usr var

I sounds Docker image is ok.

I set PATH
PATH=/micmac/bin/:$PATH

Is it OK ?

root@a616ded37e17:/home# mm3d


** MicMac: a free open source project for photogrammetry **
** hosted at Ecole Nationale des Sciences Geographiques **

I realise Docker /home is under host/var/

to run a test i install:
#missing packages
apt-get update; apt-get install wget zip proj-bin; apt-get autoremove
cd /home
wget http://micmac.ensg.eu/data/uas_grand_leez_dataset.zip
unzip uas_grand_leez_dataset.zip -d /home/
cd /home/UASGrandLeez
#add to Malt
DoOrtho=1 2Ortho=1

echo '${BIN_DIR}mm3d Tawny Ortho-MEC/ DEq=1 DegRap=1 ImPrio=Ort_IMG_.* SzV=3 CorThr=0.6 NbPerIm=5e4' >> UASGrandLeez.sh

./UASGrandLeez.sh /minmac/bin/ /home/UASGrandLeez/

thank you

PS:
I would like to test MicMac with a ODM church_dataset.
https://github.com/yjmenezes/church_dataset

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions