This is an automated email from the ASF dual-hosted git repository.
bchapuis pushed a change to branch raster-processing
in repository https://gitbox.apache.org/repos/asf/incubator-baremaps.git
from 533c32f8 Format code
add 2ee536af Improve hillshade and contour map
No new revisions were added by this update.
Summary of changes:
.../org/apache/baremaps/cli/hillshade/Serve.java | 17 ++-
.../tilestore/raster/ContourTileStore.java | 8 +-
...ileStore.java => RasterHillshadeTileStore.java} | 33 +++---
...ileStore.java => VectorHillshadeTileStore.java} | 79 +++++++++----
...olygonContourTracer.java => ContourTracer.java} | 114 +++++++++++-------
.../org/apache/baremaps/raster/ElevationUtils.java | 17 ++-
.../baremaps/raster/HillshadeCalculator.java | 128 ++++++++-------------
.../apache/baremaps/raster/ContourRenderer.java | 4 +-
.../raster/ContourTracerLineStringTest.java | 2 +-
.../baremaps/raster/ContourTracerPolygonTest.java | 2 +-
.../apache/baremaps/raster/ContourTracerTest.java | 6 +-
.../apache/baremaps/raster/HillShadeRenderer.java | 5 +-
.../baremaps/raster/HillShadeRendererTest.java | 24 ++--
.../baremaps/raster/HillshadeCalculatorTest.java | 8 +-
.../src/main/resources/raster/hillshade.html | 70 +++++++++--
15 files changed, 313 insertions(+), 204 deletions(-)
rename
baremaps-core/src/main/java/org/apache/baremaps/tilestore/raster/{HillshadeTileStore.java
=> RasterHillshadeTileStore.java} (73%)
copy
baremaps-core/src/main/java/org/apache/baremaps/tilestore/raster/{ContourTileStore.java
=> VectorHillshadeTileStore.java} (57%)
rename
baremaps-raster/src/main/java/org/apache/baremaps/raster/{PolygonContourTracer.java
=> ContourTracer.java} (81%)
copy
baremaps-data/src/test/java/org/apache/baremaps/data/type/LonLatDataTypeTest.java
=>
baremaps-raster/src/test/java/org/apache/baremaps/raster/HillShadeRendererTest.java
(68%)