Skip to content
Snippets Groups Projects
Commit 140bb04d authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

ENH: add cout + correct lyr style

parent a0c66726
No related branches found
No related tags found
No related merge requests found
......@@ -217,8 +217,8 @@ namespace otb
mapnik::Layer lyr("world");
lyr.set_datasource(mDatasource);
lyr.add_style("river");
// lyr.add_style("roads");
// lyr.add_style("river");
lyr.add_style("roads");
m_Map.addLayer(lyr);
mapnik::Envelope<double> envelope(m_Origin[0],
......@@ -352,6 +352,8 @@ namespace otb
std::cout << " -> " << (*mfeature)["name"] << std::endl;
// std::cout << " -> " << (*mfeature)["name2"] << std::endl;
std::cout << "Type: " << dataNode->GetFieldAsString("type") << std::endl;
mDatasource->push(mfeature);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment