diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/iso19111/factory.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/iso19111/factory.cpp b/src/iso19111/factory.cpp index 32ed6abb..aa3cd6cf 100644 --- a/src/iso19111/factory.cpp +++ b/src/iso19111/factory.cpp @@ -926,7 +926,8 @@ bool DatabaseContext::lookForGridAlternative(const std::string &officialName, bool &inverse) const { auto res = d->run( "SELECT proj_grid_name, proj_grid_format, inverse_direction FROM " - "grid_alternatives WHERE original_grid_name = ?", + "grid_alternatives WHERE original_grid_name = ? AND " + "proj_grid_name <> ''", {officialName}); if (res.empty()) { return false; |
