Skip to content

Commit

Permalink
Update postprocess.sh
Browse files Browse the repository at this point in the history
extract srs and add as option to entwine
  • Loading branch information
rumenmitrev authored Jun 27, 2022
1 parent 46bb08e commit c7421f2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/postprocess.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,12 @@ if [ ! -z "$pointcloud_input_path" ]; then
if [ -e "entwine_pointcloud" ]; then
rm -fr "entwine_pointcloud"
fi

entwine build --threads $(nproc) --tmp "entwine_pointcloud-tmp" -i "$pointcloud_input_path" -o entwine_pointcloud

#extract srs and add as option to entwine

srs=`grep -oPm1 "(?<=<AuxStr>)[^<]+" < images/SysUTM.xml`

entwine build --srs "$srs" --threads $(nproc) --tmp "entwine_pointcloud-tmp" -i "$pointcloud_input_path" -o entwine_pointcloud

# Cleanup
if [ -e "entwine_pointcloud-tmp" ]; then
Expand Down

0 comments on commit c7421f2

Please sign in to comment.