<div dir="ltr"><div>Hi</div><div>I am trying to create a Compound CRS with a DERIVEDPROJCRS and a VERTCRS,</div><div>but I get an exception in C++:</div><div><br></div><div>"components of the compound CRS do not belong to one of the allowed combinations of <a href="http://docs.opengeospatial.org/as/18-005r4/18-005r4.html#34">http://docs.opengeospatial.org/as/18-005r4/18-005r4.html#34</a>"</div><div><br></div><div>In that documentation,<br></div><div>"Coordinate reference systems that are combined are required to not contain any duplicate or redundant axes. Valid combinations shall be the following."</div><div>I would expect that "c) Projected 2D + Vertical." were also valid for a derived projected.</div><div><br></div><div>Looking at the figure 9: UML diagram — Coordinate Reference Systems package</div><div>you can see that "DerivedGeographicCRS" is a "GeographicCRS", and "DerivedVerticalCRS" is a "VerticalCRS". However "DerivedProjectedCRS" contains a "ProjectedCRS".</div><div>I guess the reason for that difference is that "ProjectedCRS" is already a "DerivedCRS", and they do not want to have multiple inheritance. Makes sense.<br></div><div><br></div><div>However it produces a strong limitation: cannot use a derived Projected in a compound.</div><div><br></div><div>Would it make sense to allow also a DerivedProjectedCRS in CompoundCRS::create (and I guess also in CompoundCRS::createLax)?<br></div><div><br></div><div>Thanks,</div><div>Javier<br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">.___ ._ ..._ .. . ._.  .___ .. __ . _. . __..  ... .... ._ .__<br>Entre dos pensamientos racionales <br>hay infinitos pensamientos irracionales.<br><br></div></div></div></div>