Commit 72ad0c0a authored by Dan Lipsa's avatar Dan Lipsa

Add name field.

parent 8e1c19d2
......@@ -782,8 +782,15 @@ public:
}
if (groupBlock->GetNumberOfBlocks())
{
pugi::xml_node featureNode = itFeature->node();
pugi::xml_node nameNode = featureNode.child("gml:name");
output->SetBlock(output->GetNumberOfBlocks(), groupBlock);
this->SetField(groupBlock, "element", element.c_str());
if (nameNode)
{
const char* name = nameNode.child_value();
this->SetField(groupBlock, "name", name);
}
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment