postgis: do not attempt to parse an empty extent string
This commit is contained in:
parent
90391f3bee
commit
2e44e8c470
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ postgis_datasource::postgis_datasource(parameters const& params, bool bind)
|
|||
}
|
||||
|
||||
boost::optional<std::string> ext = params_.get<std::string>("extent");
|
||||
if (ext)
|
||||
if (ext && !ext->empty())
|
||||
{
|
||||
extent_initialized_ = extent_.from_string(*ext);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue