-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added the option to set tile merge strategy for raster ingest cli and…
… changed default to none
- Loading branch information
Showing
10 changed files
with
163 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...rc/main/java/mil/nga/giat/geowave/format/geotools/raster/NoDataMergeStrategyProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package mil.nga.giat.geowave.format.geotools.raster; | ||
|
||
import mil.nga.giat.geowave.adapter.raster.adapter.merge.RasterTileMergeStrategy; | ||
import mil.nga.giat.geowave.adapter.raster.adapter.merge.nodata.NoDataMergeStrategy; | ||
|
||
public class NoDataMergeStrategyProvider implements | ||
RasterMergeStrategyProviderSpi | ||
{ | ||
public static String NAME = "no-data"; | ||
|
||
@Override | ||
public String getName() { | ||
return NAME; | ||
} | ||
|
||
@Override | ||
public RasterTileMergeStrategy<?> getStrategy() { | ||
return new NoDataMergeStrategy(); | ||
} | ||
|
||
} |
20 changes: 20 additions & 0 deletions
20
...er/src/main/java/mil/nga/giat/geowave/format/geotools/raster/NoMergeStrategyProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package mil.nga.giat.geowave.format.geotools.raster; | ||
|
||
import mil.nga.giat.geowave.adapter.raster.adapter.merge.RasterTileMergeStrategy; | ||
|
||
public class NoMergeStrategyProvider implements | ||
RasterMergeStrategyProviderSpi | ||
{ | ||
public static String NAME = "none"; | ||
|
||
@Override | ||
public String getName() { | ||
return NAME; | ||
} | ||
|
||
@Override | ||
public RasterTileMergeStrategy<?> getStrategy() { | ||
return null; | ||
} | ||
|
||
} |
10 changes: 10 additions & 0 deletions
10
...main/java/mil/nga/giat/geowave/format/geotools/raster/RasterMergeStrategyProviderSpi.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package mil.nga.giat.geowave.format.geotools.raster; | ||
|
||
import mil.nga.giat.geowave.adapter.raster.adapter.merge.RasterTileMergeStrategy; | ||
|
||
public interface RasterMergeStrategyProviderSpi | ||
{ | ||
public String getName(); | ||
|
||
public RasterTileMergeStrategy<?> getStrategy(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
...A-INF/services/mil.nga.giat.geowave.format.geotools.raster.RasterMergeStrategyProviderSpi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
mil.nga.giat.geowave.format.geotools.raster.NoDataMergeStrategyProvider | ||
mil.nga.giat.geowave.format.geotools.raster.NoMergeStrategyProvider |
Oops, something went wrong.