#!/bin/bash

set -e

mkdir -p out
./rndf2osm.py data/lot280.txt data/lot2802rn.txt out/280_result.xml
xmllint --format out/280_result.xml >out/280_result.xml.new
mv out/280_result.xml.new out/280_result.xml
./osm2rndf.py out/280_result.xml out/280_result.txt
$ZOOX_WORKSPACE_ROOT/bazel-bin/packages/planner/rndf_edit/rndf_edit out/280_result.txt
