Skip to content

get_map returning a raster of nan values for areas where it previously worked #76

@Randomdude11

Description

@Randomdude11

What happened?

Hello!
I am using get_map to get dem data about different communities in the US.
I call it like so:

get_map(
        geometry=polygon,
        layers=["DEM"],
        resolution=30,
        geo_crs="EPSG:3857",
        crs="EPSG:3857"
    )

Where polygon is a shapely shape whose coordinates are in web mercator meters.
I used this without issue for a while now, but lately I have started to get nan values for some communities. What is interesting is that some of my cached data appears to have gotten correct results for them before - for example, Dillon, MT.

What could be the cause?

What did you expect to happen?

No response

Minimal Complete Verifiable Example

MVCE confirmation

  • Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue.
  • Complete example — the example is self-contained, including all data and the text of any traceback.
  • New issue — a search of GitHub Issues suggests this is not a duplicate.

Relevant log output

Anything else we need to know?

No response

Environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions