Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vector.mask.footprint_mask() does not recognize crs #467

Open
lappemic opened this issue Aug 16, 2022 · 0 comments
Open

vector.mask.footprint_mask() does not recognize crs #467

lappemic opened this issue Aug 16, 2022 · 0 comments

Comments

@lappemic
Copy link

Summary of the bug

When i use vector.mask.footprint_mask() on my geojsons solaris does not recognize my crs (OGC:1.3:CRS84). Or at least all my masks ar 0's.

Steps to reproduce the bug

fp_mask = sol.vector.mask.footprint_mask(df = os.path.join(jsons_path, json_name), 
                                         reference_im = os.path.join(image_path, img_name))

with geojsons having the 'geometry' in mentioned crs.

Buggy behavior and/or error message

The produced masks are all empty.

print(255 in fp_mask)

results in

False

Expected behavior

Solaris should recognise and convert the mentioned crs to the needed crs. Also there is no documentation about which crs's are supported within solaris. Or do i miss something here?

Environment information

  • OS: google colab
  • solaris version: 0.4.0
  • python version: 3.7

Additional context

Solaris is installed in condacolab.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant