print null for features with value_null type in debugging output
This commit is contained in:
parent
e928c483bf
commit
a4f3be02b5
1 changed files with 8 additions and 1 deletions
|
@ -287,7 +287,14 @@ public:
|
|||
std::size_t index = itr->second;
|
||||
if (index < data_.size())
|
||||
{
|
||||
ss << " " << itr->first << ":" << data_[itr->second] << std::endl;
|
||||
if (data_[itr->second] == mapnik::value_null())
|
||||
{
|
||||
ss << " " << itr->first << ":null" << std::endl;
|
||||
}
|
||||
else
|
||||
{
|
||||
ss << " " << itr->first << ":" << data_[itr->second] << std::endl;
|
||||
}
|
||||
}
|
||||
}
|
||||
ss << ")" << std::endl;
|
||||
|
|
Loading…
Add table
Reference in a new issue