public final class CompactElevationProfile extends Object implements Serializable
Constructor and Description |
---|
CompactElevationProfile() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
compactElevationProfile(org.locationtech.jts.geom.CoordinateSequence elevation)
Compact an elevation profile onto a var-len int packed form (Dlugosz coding).
|
static PackedCoordinateSequence |
uncompactElevationProfile(byte[] packedCoords)
Uncompact an ElevationProfile from a var-len int packed form (Dlugosz coding).
|
public static byte[] compactElevationProfile(org.locationtech.jts.geom.CoordinateSequence elevation)
profile
- The elevation profile to compactpublic static PackedCoordinateSequence uncompactElevationProfile(byte[] packedCoords)
packedCoords
- Compacted coordinatesCopyright © 2019. All rights reserved.