aboutsummaryrefslogtreecommitdiff
path: root/src/iso19111/factory.cpp
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-03-25 19:51:56 +0000
committerEven Rouault <even.rouault@spatialys.com>2019-03-25 19:51:56 +0000
commitfb029ef8c296f37094991aade77d8bf92eebe40f (patch)
tree84c223aaf72066afdd0240106384a243150de8d6 /src/iso19111/factory.cpp
parent136e6748d955edb2bfb8e826c8a28972ae4f6cff (diff)
downloadPROJ-fb029ef8c296f37094991aade77d8bf92eebe40f.tar.gz
PROJ-fb029ef8c296f37094991aade77d8bf92eebe40f.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;