Created
December 2, 2016 18:49
-
-
Save hobu/bf042fb6c2f1ad5af28ace3c8d0d3e72 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
read -d '' pipeline <<"EOF" | |
{ | |
"pipeline":[ | |
{ | |
"filename" : "/data/test/data/las/1.2-with-color.las", | |
"type" : "readers.las" | |
}, | |
"/data/bell_test.laz" | |
] | |
} | |
EOF | |
echo $pipeline | |
container=$(docker run -it -d -v `pwd`:/data pdal/pdal:latest) | |
echo "conainerid: " $container | |
echo $pipeline | docker exec -i $container pdal pipeline -i STDIN | |
echo $pipeline | docker exec -i $container pdal pipeline -i STDIN --writers.las.filename=/data/hobu_test.laz | |
echo $pipeline | docker exec -i $container pdal pipeline -i STDIN --readers.las.filename=/data/test/data/las/1.2-with-color-clipped.las --writers.las.filename=/data/hobu_override.las | |
docker kill $container |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment