-
Notifications
You must be signed in to change notification settings - Fork 70
Raster processing #884
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
Raster processing #884
Conversation
38b70fe
to
4eb2d23
Compare
baremaps-raster/src/test/java/org/apache/baremaps/raster/contour/IsoLinesTest.java
Fixed
Show fixed
Hide fixed
baremaps-raster/src/test/java/org/apache/baremaps/raster/hillshade/HillShadeTest.java
Fixed
Show fixed
Hide fixed
baremaps-raster/src/main/java/org/apache/baremaps/raster/contour/IsoLines.java
Fixed
Show fixed
Hide fixed
baremaps-cli/src/main/java/org/apache/baremaps/cli/raster/HillShade.java
Fixed
Show fixed
Hide fixed
baremaps-raster/src/test/java/org/apache/baremaps/raster/contour/IsoLinesTest.java
Fixed
Show fixed
Hide fixed
baremaps-raster/src/test/java/org/apache/baremaps/raster/hillshade/HillShadeRenderer.java
Fixed
Show fixed
Hide fixed
74fb471
to
7f7199d
Compare
baremaps-raster/src/test/java/org/apache/baremaps/raster/elevation/IsoLinesTest.java
Fixed
Show fixed
Hide fixed
baremaps-raster/src/test/java/org/apache/baremaps/raster/elevation/HillShadeRenderer.java
Fixed
Show fixed
Hide fixed
7b130a1
to
e61b8a5
Compare
e61b8a5
to
4c0c5bb
Compare
baremaps-raster/src/test/java/org/apache/baremaps/raster/elevation/IsoLinesTest.java
Fixed
Show fixed
Hide fixed
...s-raster/src/test/java/org/apache/baremaps/raster/elevation/ContourTracerLineStringTest.java
Fixed
Show fixed
Hide fixed
...maps-raster/src/test/java/org/apache/baremaps/raster/elevation/ContourTracerPolygonTest.java
Fixed
Show fixed
Hide fixed
baremaps-raster/src/main/java/org/apache/baremaps/raster/elevation/HillshadeCalculator.java
Fixed
Show fixed
Hide fixed
baremaps-raster/src/main/java/org/apache/baremaps/raster/elevation/HillshadeCalculator.java
Fixed
Show fixed
Hide fixed
baremaps-cli/src/main/java/org/apache/baremaps/cli/raster/Hillshade.java
Fixed
Show fixed
Hide fixed
baremaps-raster/src/test/java/org/apache/baremaps/raster/elevation/ChaikinSmootherTest.java
Fixed
Show fixed
Hide fixed
baremaps-raster/src/main/java/org/apache/baremaps/raster/elevation/ChaikinSmoother.java
Fixed
Show fixed
Hide fixed
af74140
to
9ba78e7
Compare
baremaps-cli/src/main/java/org/apache/baremaps/cli/raster/Hillshade.java
Fixed
Show fixed
Hide fixed
baremaps-raster/src/test/java/org/apache/baremaps/raster/ChaikinSmootherTest.java
Fixed
Show fixed
Hide fixed
baremaps-raster/src/test/java/org/apache/baremaps/raster/ContourTracerLineStringTest.java
Fixed
Show fixed
Hide fixed
baremaps-raster/src/test/java/org/apache/baremaps/raster/ContourTracerPolygonTest.java
Fixed
Show fixed
Hide fixed
baremaps-raster/src/test/java/org/apache/baremaps/raster/MartiniTest.java
Fixed
Show fixed
Hide fixed
baremaps-raster/src/test/java/org/apache/baremaps/raster/HillShadeRenderer.java
Fixed
Show fixed
Hide fixed
baremaps-raster/src/test/java/org/apache/baremaps/raster/ContourTracerPolygonRandomTest.java
Fixed
Show fixed
Hide fixed
baremaps-raster/src/test/java/org/apache/baremaps/raster/HillShadeRendererTest.java
Fixed
Show fixed
Hide fixed
baremaps-raster/src/main/java/org/apache/baremaps/raster/ContourTracer.java
Fixed
Show fixed
Hide fixed
baremaps-raster/src/main/java/org/apache/baremaps/raster/gdal/ProgressCallback.java
Fixed
Show fixed
Hide fixed
baremaps-raster/src/main/java/org/apache/baremaps/raster/gdal/TranslateOptions.java
Fixed
Show fixed
Hide fixed
baremaps-raster/src/main/java/org/apache/baremaps/raster/gdal/WarpOptions.java
Fixed
Show fixed
Hide fixed
return this; | ||
} | ||
|
||
public TranslateOptions srcWindow(int xoff, int yoff, int xsize, int ysize) { |
Check notice
Code scanning / CodeQL
Useless parameter Note
return this; | ||
} | ||
|
||
public WarpOptions tgtCoordEpoch(String epoch) { |
Check notice
Code scanning / CodeQL
Useless parameter Note
double trv = grid[y * width + (x + 1)]; | ||
double brv = grid[(y + 1) * width + (x + 1)]; | ||
double blv = grid[(y + 1) * width + x]; | ||
double avg = (tlv + trv + brv + blv) / 4.0; |
Check notice
Code scanning / CodeQL
Unread local variable Note
|
||
// Add listeners | ||
ChangeListener listener = new ChangeListener() { | ||
public void stateChanged(ChangeEvent e) { |
Check notice
Code scanning / CodeQL
Missing Override annotation Note test
ChangeListener.stateChanged
|
||
class BicubicInterpolation extends Interpolation { | ||
|
||
public Dimension getSupportSize() { |
Check notice
Code scanning / CodeQL
Missing Override annotation Note
Interpolation.getSupportSize
// Resample and render the image | ||
var gridCoverageProcessor = new GridCoverageProcessor(); | ||
gridCoverageProcessor.setInterpolation(new BicubicInterpolation()); | ||
var gridCoverage = gridCoverageProcessor.resample(this.gridCoverage, targetGridGeometry); |
Check notice
Code scanning / CodeQL
Possible confusion of local and field Note
read
gridCoverage
|
This pull request introduces: