Skip to content

Commit 98b07c7

Browse files
committed
Merge branch 'development'
2 parents a575e3a + 6c34e16 commit 98b07c7

File tree

4 files changed

+27
-22
lines changed

4 files changed

+27
-22
lines changed

docs/_data/sidebars/3dfier_sidebar.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
entries:
44
- title: sidebar
55
product: 3dfier
6-
version: v1.3.3
6+
version: v1.3.5
77
logo: 3dfierLogo.png
88
folders:
99
- title:

src/Map3d.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ bool Map3d::get_postgis_output(std::string connstr, bool pdok, bool citygml) {
488488
std::cerr << "ERROR: Cannot open database '" + connstr + "' for writing" << std::endl;
489489
dataSource->RollbackTransaction();
490490
GDALClose(dataSource);
491-
GDALClose(driver);
491+
// GDALClose(driver);
492492
return false;
493493
}
494494
layers.emplace(layername, layer);
@@ -544,7 +544,7 @@ bool Map3d::get_postgis_output(std::string connstr, bool pdok, bool citygml) {
544544
return false;
545545
}
546546
GDALClose(dataSource);
547-
GDALClose(driver);
547+
// GDALClose(driver);
548548
return true;
549549
#endif
550550
}
@@ -563,14 +563,14 @@ bool Map3d::get_gdal_output(std::string filename, std::string drivername, bool m
563563
if (layer == NULL) {
564564
std::cerr << "ERROR: Cannot open file '" + filename + "' for writing" << std::endl;
565565
GDALClose(layer);
566-
GDALClose(driver);
566+
// GDALClose(driver);
567567
return false;
568568
}
569569
for (auto& f : _lsFeatures) {
570570
f->get_shape(layer, false);
571571
}
572572
GDALClose(layer);
573-
GDALClose(driver);
573+
// GDALClose(driver);
574574
}
575575
else {
576576
std::unordered_map<std::string, OGRLayer*> layers;
@@ -604,7 +604,7 @@ void Map3d::close_gdal_resources(GDALDriver* driver, std::unordered_map<std::str
604604
for (auto& layer : layers) {
605605
GDALClose(layer.second);
606606
}
607-
GDALClose(driver);
607+
// GDALClose(driver);
608608
}
609609
#endif
610610

src/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#include <boost/program_options.hpp>
3737
#include <boost/filesystem.hpp>
3838

39-
std::string VERSION = "1.3.3";
39+
std::string VERSION = "1.3.5";
4040

4141
bool validate_yaml(const char* arg, std::set<std::string>& allowedFeatures);
4242
int main(int argc, const char * argv[]);

vcpkg.json

+20-15
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
{
2-
"name": "3dfier",
3-
"version-string": "1.3.2",
4-
"dependencies": [
5-
"boost-program-options",
6-
"boost-geometry",
7-
"boost-locale",
8-
"boost-chrono",
9-
"boost-system",
10-
"boost-filesystem",
11-
"cgal",
12-
"gdal",
13-
"lastools",
14-
"yaml-cpp"
15-
]
16-
}
2+
"name": "3dfier",
3+
"version-string": "1.3.5",
4+
"dependencies": [
5+
"boost-program-options",
6+
"boost-geometry",
7+
"boost-locale",
8+
"boost-chrono",
9+
"boost-system",
10+
"boost-filesystem",
11+
"cgal",
12+
"gdal",
13+
{
14+
"name": "libpq",
15+
"version>=": "16.2"
16+
},
17+
"lastools",
18+
"yaml-cpp"
19+
],
20+
"builtin-baseline": "3dd44b931481d7a8e9ba412621fa810232b66289"
21+
}

0 commit comments

Comments
 (0)