mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
Use PROJ_ENVELOPE_POINTS for forward projection in bbox calcs too.
This commit is contained in:
parent
ab8826871c
commit
9fd6b0d97e
@ -250,7 +250,7 @@ void feature_style_processor<Processor>::apply_to_layer(layer const& lay, Proces
|
||||
{
|
||||
layer_ext.clip(map_ext);
|
||||
// forward project layer extent back into native projection
|
||||
if (!prj_trans.forward(layer_ext))
|
||||
if (!prj_trans.forward(layer_ext, PROJ_ENVELOPE_POINTS))
|
||||
std::clog << "WARNING: layer " << lay.name()
|
||||
<< " extent " << layer_ext << " in map projection "
|
||||
<< " did not reproject properly back to layer projection\n";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user