Merge pull request #963 from oesmith/master
Layer envelope calculation fixes - thanks, Olly!
This commit is contained in:
commit
11163e4053
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ void feature_style_processor<Processor>::apply_to_layer(layer const& lay, Proces
|
||||||
{
|
{
|
||||||
layer_ext.clip(map_ext);
|
layer_ext.clip(map_ext);
|
||||||
// forward project layer extent back into native projection
|
// 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()
|
std::clog << "WARNING: layer " << lay.name()
|
||||||
<< " extent " << layer_ext << " in map projection "
|
<< " extent " << layer_ext << " in map projection "
|
||||||
<< " did not reproject properly back to layer projection\n";
|
<< " did not reproject properly back to layer projection\n";
|
||||||
|
|
Loading…
Reference in a new issue