Skip to content

SRTM NoData CellValue #9

Description

@echeipesh

Current rendering output has problem with rendering cells that should be NODATA values:
screen shot 2017-12-28 at 4 15 26 pm

Looking at the metadata for the source SRTM layer at s3://geotrellis-test/dg-srtm/_attributes/metadata__srtm-wsg84-gps__0.json shows "cellType": "int16" corresponding ShortConstantNoDataCellType which has NoData value -32768

Judging by rendering the actual NoData value is 0. Best solution would be to use Tile.interpretAs to set Short cell type with user defined value of 0.

I'd suggest testing it on California subset with sparkSubmitJobWithMain ingest.ToblerPyramid --orc s3://geotrellis-test/dg-srtm/california.orc --layer ca-tobler --tiny --render --partitions 1584 using this PR #8

To run this in decent amount of time its sufficient to downgrade 100 machines to 20 in the build.sbt.

Potentially changes to render function color map may be required if the result is not immediately correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions