Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -321,11 +321,11 @@ public BrAPIObservationUnit constructBrAPIObservationUnit(
try {
double lat = Double.parseDouble(getLatitude());
double lon = Double.parseDouble(getLongitude());
Point geoPoint = Point.from(lat, lon);
Point geoPoint = Point.from(lon, lat);

if (getElevation() != null) {
double elevation = Double.parseDouble(getElevation());
geoPoint = Point.from(lat, lon, elevation); // geoPoint.withAlt(elevation) did not work
geoPoint = Point.from(lon, lat, elevation); // geoPoint.withAlt(elevation) did not work
}

BrApiGeoJSON coords = BrApiGeoJSON.builder()
Expand Down