Daniele Romagnoli a écrit :
> Can I "link" the VerticalExtent to a CompoundCRS (extending SC_CRS) 
> which should contain a GeographicCRS or a VerticalCRS, to identify the 
> CRS of this vertical extent?

VerticalExtent can be linked to a VerticalCRS through the 
VerticalExtent.getVerticalCRS() method, and the opposite way is possible too 
through the VerticalCRS.getExtent() method. But I'm not sure to understand the 
issue. You would like to link VerticalExtent to a CompoundCRS rather than 
VerticalCRS? Current API do not allows that since the link is rectricted to 
VerticalCRS type...

However CompoundCRS can be linked to an Extent, and giving an Extent we can 
invokes getVerticalElements() for fetching the VerticalExtents, and invoke 
getVerticalCRS() on those. Would it be applicable?

        Martin

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to