fix scene making scripts and add building-parallel-road scene

Scripts updated to newest libosmium and shebang fixed.
This commit is contained in:
Sarah Hoffmann
2016-05-15 11:29:09 +02:00
parent 28041cbbd9
commit f0f6fcf256
6 changed files with 299 additions and 245 deletions

View File

@@ -24,3 +24,4 @@ osm2wkt: osm2wkt.cc
$(CXX) $(CXXFLAGS) $(CXXFLAGS_WARNINGS) -o $@ $< $(LDFLAGS) $(LIB_IO)
scenarios: osm2wkt
./make_scenes.sh

View File

@@ -1,4 +1,4 @@
#/bin/bash -e
#!/bin/bash -e
#
# Regenerates wkts for scenarios.
#
@@ -11,10 +11,10 @@ if [ ! -d "$datadir" ]; then
fi
echo "Using datadir $datadir"
pushd $datadir
cd $datadir
# remove old wkts
rm $datadir/*.wkt
rm -f $datadir/*.wkt
# create wkts from SQL scripts
for fl in *.sql; do
@@ -27,5 +27,3 @@ for fl in *.osm; do
echo "Processing $fl.."
../bin/osm2wkt $fl
done
popd

View File

@@ -92,10 +92,6 @@ int main(int argc, char* argv[]) {
reader2.close();
export_handler.close();
std::cerr << "Pass 2 done\n";
google::protobuf::ShutdownProtobufLibrary();
}