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:11:42 +0100
commitc5cc0f74fd912cef2872da227fa2bb2b47f116c6 (patch)
tree25600409ed21f51e9df7e14ec890046027d918a7
parent4b99c3b47e76afdeda2425e39ff53fed0f12b679 (diff)
downloadPROJ-c5cc0f74fd912cef2872da227fa2bb2b47f116c6.tar.gz
PROJ-c5cc0f74fd912cef2872da227fa2bb2b47f116c6.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 7c2eb625..a160a4e3 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>