Bolla Péter a écrit :
> public static final DefaultTemporalCRS gpxTemporalCRS =
> new DefaultTemporalCRS("UNIX",
> DefaultTemporalDatum.UNIX,
> DefaultTimeCS.DAYS);
>
> public static final CoordinateReferenceSystem gpxCRS =
> new DefaultCompoundCRS("gpxCrs",
> DefaultGeographicCRS.WGS84,
> DefaultVerticalCRS.ELLIPSOIDAL_HEIGHT,
> gpxTemporalCRS);
>
> Is it the way to do this?
Is it the way for every kind of height except ELLIPSOIDAL_HEIGHT. This one
should be treated especially (as required by ISO 19111, this is not something I
invented). You should create a 3-dimensional GeographicCRS instead of
concatenating a 2-dimensional GeographicCRS with a VerticalCRS["ellipsoidal
height"]. I suggest to just replace the last declaration by the following one:
public static final CoordinateReferenceSystem gpxCRS =
new DefaultCompoundCRS("gpxCrs",
DefaultGeographicCRS.WGS84_3D,
gpxTemporalCRS);
Martin
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel