aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2019-03-19 11:11:42 +0100
committerEven Rouault <even.rouault@spatialys.com>2019-03-19 11:12:04 +0100
commitaa98cb82554e0bddb8af18a1ca4330c8b7191a3a (patch)
tree393ebe73f0ae559f7f83c4025713ea7dec761d8a
parent9398e9988dbbb533aad383fea87e4c47adc8a136 (diff)
downloadPROJ-aa98cb82554e0bddb8af18a1ca4330c8b7191a3a.tar.gz
PROJ-aa98cb82554e0bddb8af18a1ca4330c8b7191a3a.zip
Doc: impove doc about OGC URN
-rw-r--r--docs/source/apps/projinfo.rst6
-rw-r--r--src/iso19111/io.cpp12
2 files changed, 12 insertions, 6 deletions
diff --git a/docs/source/apps/projinfo.rst b/docs/source/apps/projinfo.rst
index 151b3079..d4c0a6ba 100644
--- a/docs/source/apps/projinfo.rst
+++ b/docs/source/apps/projinfo.rst
@@ -30,9 +30,11 @@ Synopsis
|
where {object_definition} or {object_definition} is a PROJ string, a
- WKT string, an object name or a AUTHORITY:CODE
+ WKT string, an object name, AUTHORITY:CODE
(where AUTHORITY is the name of a CRS authority and CODE the code of a CRS
- found in the proj.db database).
+ found in the proj.db database) or a OGC URN (such as "urn:ogc:def:crs:EPSG::4326",
+ "urn:ogc:def:coordinateOperation:EPSG::1671", "urn:ogc:def:ellipsoid:EPSG::7001"
+ or "urn:ogc:def:datum:EPSG::6326")
Description
***********
diff --git a/src/iso19111/io.cpp b/src/iso19111/io.cpp
index d5f38fd5..ef5c1589 100644
--- a/src/iso19111/io.cpp
+++ b/src/iso19111/io.cpp
@@ -4455,8 +4455,10 @@ static BaseObjectNNPtr createFromUserInput(const std::string &text,
* <li>WKT string</li>
* <li>PROJ string</li>
* <li>database code, prefixed by its authoriy. e.g. "EPSG:4326"</li>
- * <li>URN. e.g. "urn:ogc:def:crs:EPSG::4326",
- * "urn:ogc:def:coordinateOperation:EPSG::1671"</li>
+ * <li>OGC URN. e.g. "urn:ogc:def:crs:EPSG::4326",
+ * "urn:ogc:def:coordinateOperation:EPSG::1671",
+ * "urn:ogc:def:ellipsoid:EPSG::7001"
+ * or "urn:ogc:def:datum:EPSG::6326"</li>
* <li>an objet name. e.g "WGS 84", "WGS 84 / UTM zone 31N". In that case as
* uniqueness is not guaranteed, the function may apply heuristics to
* determine the appropriate best match.</li>
@@ -4489,8 +4491,10 @@ BaseObjectNNPtr createFromUserInput(const std::string &text,
* <li>WKT string</li>
* <li>PROJ string</li>
* <li>database code, prefixed by its authoriy. e.g. "EPSG:4326"</li>
- * <li>URN. e.g. "urn:ogc:def:crs:EPSG::4326",
- * "urn:ogc:def:coordinateOperation:EPSG::1671"</li>
+ * <li>OGC URN. e.g. "urn:ogc:def:crs:EPSG::4326",
+ * "urn:ogc:def:coordinateOperation:EPSG::1671",
+ * "urn:ogc:def:ellipsoid:EPSG::7001"
+ * or "urn:ogc:def:datum:EPSG::6326"</li>
* <li>an objet name. e.g "WGS 84", "WGS 84 / UTM zone 31N". In that case as
* uniqueness is not guaranteed, the function may apply heuristics to
* determine the appropriate best match.</li>