Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for nested types, geoparquet groups, and postgres jsonb in data table #860

Merged
merged 9 commits into from
Jun 3, 2024
Prev Previous commit
Next Next commit
BBox use float values in GeoParquet
Co-authored-by: Antoine Drabble <antoine.drabble@gmail.com>
  • Loading branch information
bchapuis and Drabble authored Jun 1, 2024
commit f48b3c091af8211a5d1c275179dafb5f110afed3
Original file line number Diff line number Diff line change
Expand Up @@ -435,10 +435,10 @@ public Envelope getEnvelopeValue(int fieldIndex) {
@Override
public List<Envelope> getEnvelopeValues(int fieldIndex) {
return getGroupValues(fieldIndex).stream().map(group -> {
var xMin = group.getDoubleValue(0);
var yMin = group.getDoubleValue(1);
var xMax = group.getDoubleValue(2);
var yMax = group.getDoubleValue(3);
var xMin = group.getFloatValue(0);
var yMin = group.getFloatValue(1);
var xMax = group.getFloatValue(2);
var yMax = group.getFloatValue(3);
return new Envelope(xMin, xMax, yMin, yMax);
}).toList();
}
Expand Down
Loading