diff --git a/Utils/FileConverter/ConvertSHPToGLI.cpp b/Utils/FileConverter/ConvertSHPToGLI.cpp index a0e2756aecd8e1d00baeb8b7dc117a52a2954c54..2403b1ee88d7ccaa2a0b337bf164d292b155c96a 100644 --- a/Utils/FileConverter/ConvertSHPToGLI.cpp +++ b/Utils/FileConverter/ConvertSHPToGLI.cpp @@ -27,14 +27,12 @@ #include "XmlIO/XmlGmlInterface.h" #include "XmlIO/XmlStnInterface.h" -// GEO +// GeoLib #include "GEOObjects.h" #include "Point.h" -#include "ProjectData.h" #include "Station.h" -#include "problem.h" -Problem* aproblem = NULL; +#include "OGS/ProjectData.h" void convertPoints (DBFHandle dbf_handle, std::string const& out_fname, @@ -80,8 +78,9 @@ void convertPoints (DBFHandle dbf_handle, double x(DBFReadDoubleAttribute(dbf_handle, k, x_id)); double y(DBFReadDoubleAttribute(dbf_handle, k, y_id)); double z(0.0); - if (z_id != std::numeric_limits<size_t>::max()) z = DBFReadDoubleAttribute(dbf_handle, k, - z_id); + if (z_id != std::numeric_limits<size_t>::max()) + z = DBFReadDoubleAttribute(dbf_handle, k, + z_id); name = ""; if (!name_component_ids.empty()) { diff --git a/Utils/FileConverter/generateBCFromPolyline.cpp b/Utils/FileConverter/generateBCFromPolyline.cpp index 507bbbd0a4846c6aef8a26f30dd824c4cb9be7a5..911cd6c857279eb29d4a253f64467dbec676da80 100644 --- a/Utils/FileConverter/generateBCFromPolyline.cpp +++ b/Utils/FileConverter/generateBCFromPolyline.cpp @@ -12,19 +12,20 @@ * */ -// GEO +#include <fstream> + +#include <QString> + +// GeoLib #include "GEOObjects.h" #include "PolylineVec.h" -#include "ProjectData.h" + +// OGS +#include "OGS/ProjectData.h" // FileIO #include "XmlIO/XmlGmlInterface.h" -#include "problem.h" -Problem* aproblem = NULL; - -#include <QString> - int main (int argc, char* argv[]) { if (argc == 1) @@ -112,4 +113,3 @@ int main (int argc, char* argv[]) delete project_data; } - diff --git a/Utils/FileConverter/generateBCandGLI.cpp b/Utils/FileConverter/generateBCandGLI.cpp index cb48b597ee22dd30cbcc7e0cce2d4c637d91d18e..3cde8638447692969ffe1e5334d78175f939eea9 100644 --- a/Utils/FileConverter/generateBCandGLI.cpp +++ b/Utils/FileConverter/generateBCandGLI.cpp @@ -12,20 +12,23 @@ * */ -// GEO +// STL +#include <algorithm> +#include <fstream> + +// Qt +#include <QString> + +// GeoLib #include "GEOObjects.h" -#include "ProjectData.h" #include "SurfaceVec.h" +// OgsLib +#include "OGS/ProjectData.h" + // FileIO #include "XmlIO/XmlGmlInterface.h" -#include "problem.h" -Problem* aproblem = NULL; - -#include <algorithm> -#include <QString> - int main (int argc, char* argv[]) { if (argc == 1)