mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
#2651 is fixed, remove workaround in postgis plugin
This commit is contained in:
parent
c433dbcd68
commit
4b3f69e851
@ -448,10 +448,10 @@ postgis_datasource::postgis_datasource(parameters const& params)
|
||||
// Finally, add unique metadata to layer descriptor
|
||||
mapnik::parameters & extra_params = desc_.get_extra_parameters();
|
||||
// explicitly make copies of values due to https://github.com/mapnik/mapnik/issues/2651
|
||||
extra_params["srid"] = int(srid_);
|
||||
extra_params["srid"] = srid_;
|
||||
if (!key_field_.empty())
|
||||
{
|
||||
extra_params["key_field"] = std::string(key_field_);
|
||||
extra_params["key_field"] = key_field_;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user