diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2021-08-18 20:27:46 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2021-08-19 02:15:04 +0200 |
| commit | 31692d0c0667f26ea1975affeae161beabb279fd (patch) | |
| tree | 562d91eab76ad8196f4a721c4f48e8fb90e22a2e /include/proj/io.hpp | |
| parent | 92d8cc66100d72ba53bbc0bb0651b26310dfce4c (diff) | |
| download | PROJ-31692d0c0667f26ea1975affeae161beabb279fd.tar.gz PROJ-31692d0c0667f26ea1975affeae161beabb279fd.zip | |
BoundCRS: accept importing/exporting in WKT2 and PROJJSON the scope/area/extent/id attributes (fixes #2813)
For PROJJSON only, also accept the ``name`` attribute.
Diffstat (limited to 'include/proj/io.hpp')
| -rw-r--r-- | include/proj/io.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/proj/io.hpp b/include/proj/io.hpp index 11912e3d..1c858248 100644 --- a/include/proj/io.hpp +++ b/include/proj/io.hpp @@ -537,7 +537,11 @@ class PROJ_GCC_DLL JSONFormatter { // cppcheck-suppress functionStatic PROJ_INTERNAL bool outputId() const; - PROJ_INTERNAL bool outputUsage() const; + PROJ_INTERNAL bool + outputUsage(bool calledBeforeObjectContext = false) const; + + PROJ_INTERNAL static const char *PROJJSON_v0_2; + PROJ_INTERNAL static const char *PROJJSON_v0_3; //! @endcond |
