Skip to content

Reset_extent is not behaving as expected with local file when raster extents is smaller than the shape extents. #213

Open
@cordmaur

Description

@cordmaur

Hi,

I've made some tests to illustrate the problem I am facing. Here is my initial shape (world) and a syntetic raster with a square in Minas Gerais, Brazil. Visualizing it with reset_extent set to False:
image

If we filter the shape to Brazil (smaller than the raster) and set reset_extent to True, it will visualize correctly the raster.
image

But if we leave reset_extent = True and tries to visualize the world, it will stretch the raster to the world extents and it has no meaning at all...
image

Am I missing something here?

Thanks,
Mauricio

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions