mapnik-index - log and return on invalid bounding box if validate_features
is set.
This commit is contained in:
parent
df51f6087c
commit
f85636f769
1 changed files with 5 additions and 0 deletions
|
@ -316,6 +316,11 @@ std::pair<bool,typename T::value_type::first_type> process_geojson_file_x3(T & b
|
|||
}
|
||||
}
|
||||
}
|
||||
else if (validate_features)
|
||||
{
|
||||
if (verbose) std::clog << "Invalid bbox encountered " << item.first << std::endl;
|
||||
return std::make_pair(false, extent);
|
||||
}
|
||||
}
|
||||
return std::make_pair(true, extent);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue