Hi,
I committed a version of the gpx datastore, that is also able to write a
gpx file. However, there are some questions, that are not really clear
for me.
First is about the CRS to use, when elevation and/or temporal
coordinates are present. Now this is what I did:
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?
I also created a TemporalCoordinate class, which is the 4D extension of
the JTS Coordinate class, and the appropriate CoordinateSequence and
CoordinateSequenceFactory.
Thank you,
Peter
|