Skip to content

Commit

Permalink
Fix is_raster in common layer (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
zamuzakki authored Sep 6, 2024
1 parent 4f91e42 commit b312d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_project/cplus_api/tasks/sync_default_layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def read_metadata(
nodata = dataset.nodata

metadata = {
"is_raster": get_layer_type(file_path) == 0,
"is_raster": get_layer_type(self.file['Key']) == 0,
"crs": str(crs),
"resolution": [res_x, res_y],
"no_data": nodata
Expand Down

0 comments on commit b312d60

Please sign in to comment.