Skip to content

Commit

Permalink
irings in surfaces in GML weren’t read properly :\
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoledoux committed Jan 26, 2018
1 parent f01b4fd commit 6056fd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ Surface* process_gml_surface(const pugi::xml_node& n, int id, std::map<std::stri
oneface.push_back(r);
//-- interior rings
s = ".//" + NS["gml"] + "interior";
pugi::xpath_node_set nint = it->node().select_nodes(s.c_str());
pugi::xpath_node_set nint = p.node().select_nodes(s.c_str());
for (pugi::xpath_node_set::const_iterator it = nint.begin(); it != nint.end(); ++it) {
std::vector<int> r = process_gml_ring(it->node(), sh, errs);
if (fliporientation == true)
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ using namespace std;
using namespace val3dity;
using json = nlohmann::json;

std::string VAL3DITY_VERSION = "2.0.3";
std::string VAL3DITY_VERSION = "2.0.4";


std::string print_summary_validation(std::map<std::string, std::vector<Primitive*>>& dPrimitives, std::map<std::string, COError>& dCOerrors, IOErrors& ioerrs);
Expand Down

0 comments on commit 6056fd4

Please sign in to comment.