[gdal-dev] EPSG code with vertical datum

Andrew Bell andrew.bell.ia at gmail.com
Thu May 30 07:17:35 PDT 2019


On Thu, May 30, 2019 at 5:06 AM Even Rouault <even.rouault at spatialys.com>
wrote:

> On mercredi 29 mai 2019 20:38:02 CEST Andrew Bell wrote:
> > In earlier GDAL versions I could call
> >
> > SetFromUserInput("EPSG:4326+4326");
> >
> > without error.  I now get the following error:
> >
> > (Error) GDAL failure (1) SetCompoundCS() fails, vertical component is not
> > VERT_CS.
> >
> > Was this a failure to detect a problem in older GDAL versions
>
> Yes. EPSG:4326+4326 doesn't make any sense from a geodesic point of view.
> If
> you need WGS84 as a Geographic 3D CRS, you need to use EPSG:4979
>

So is the syntax "EPSG:<horizontal crs>+<vertical datum>" supported?  I've
tried, for example, "EPSG:4326+5103" and also gotten a failure.

-- 
Andrew Bell
andrew.bell.ia at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20190530/6c8b5db0/attachment.html>


More information about the gdal-dev mailing list