From c5cc0f74fd912cef2872da227fa2bb2b47f116c6 Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Tue, 19 Mar 2019 11:11:42 +0100 Subject: Doc: impove doc about OGC URN --- docs/source/apps/projinfo.rst | 6 ++++-- src/iso19111/io.cpp | 12 ++++++++---- 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, *
  • WKT string
  • *
  • PROJ string
  • *
  • database code, prefixed by its authoriy. e.g. "EPSG:4326"
  • - *
  • URN. e.g. "urn:ogc:def:crs:EPSG::4326", - * "urn:ogc:def:coordinateOperation:EPSG::1671"
  • + *
  • 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"
  • *
  • 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.
  • @@ -4489,8 +4491,10 @@ BaseObjectNNPtr createFromUserInput(const std::string &text, *
  • WKT string
  • *
  • PROJ string
  • *
  • database code, prefixed by its authoriy. e.g. "EPSG:4326"
  • - *
  • URN. e.g. "urn:ogc:def:crs:EPSG::4326", - * "urn:ogc:def:coordinateOperation:EPSG::1671"
  • + *
  • 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"
  • *
  • 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.
  • -- cgit v1.2.3