aboutsummaryrefslogtreecommitdiff
path: root/src/iso19111/factory.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-03-25 20:51:56 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-03-25 20:51:56 +0100
commit399ebef6a66e57d389a7b7761e7373a4cebe86e5 (patch)
tree5c7facee6ee57cb471d149ac89a6bb2e1fb5daeb /src/iso19111/factory.cpp
parent66774791d16d1b197911e595aaaceb9690c8ca14 (diff)
downloadPROJ-399ebef6a66e57d389a7b7761e7373a4cebe86e5.tar.gz
PROJ-399ebef6a66e57d389a7b7761e7373a4cebe86e5.zip
lookForGridInfo(): correctly return that a grid is present, if present on the file system, but not in the database
Diffstat (limited to 'src/iso19111/factory.cpp')
-rw-r--r--src/iso19111/factory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iso19111/factory.cpp b/src/iso19111/factory.cpp
index 3530f5d8..2e18c885 100644
--- a/src/iso19111/factory.cpp
+++ b/src/iso19111/factory.cpp
@@ -1024,8 +1024,8 @@ bool DatabaseContext::lookForGridInfo(const std::string &projFilename,
info.url = url;
info.directDownload = directDownload;
info.openLicense = openLicense;
- info.gridAvailable = gridAvailable;
}
+ info.gridAvailable = gridAvailable;
info.found = ret;
d->cache(projFilename, info);
return ret;