mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
mapnik-index - log and return on invalid bounding box if validate_features is set.
This commit is contained in:
parent
df51f6087c
commit
f85636f769
@ -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…
x
Reference in New Issue
Block a user