Fix proj_transform order in Map::query_point
This commit is contained in:
parent
7cbbd7305b
commit
977c65e9de
1 changed files with 1 additions and 1 deletions
|
@ -745,7 +745,7 @@ featureset_ptr Map::query_point(unsigned index, double x, double y) const
|
||||||
mapnik::datasource_ptr ds = layer.datasource();
|
mapnik::datasource_ptr ds = layer.datasource();
|
||||||
if (ds)
|
if (ds)
|
||||||
{
|
{
|
||||||
proj_transform * proj_trans_ptr = get_proj_transform(srs_ ,layer.srs());
|
proj_transform * proj_trans_ptr = get_proj_transform(layer.srs(), srs_);
|
||||||
double z = 0;
|
double z = 0;
|
||||||
if (!proj_trans_ptr->equal() && !proj_trans_ptr->backward(x,y,z))
|
if (!proj_trans_ptr->equal() && !proj_trans_ptr->backward(x,y,z))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue