Skip to content

Commit

Permalink
Fixes SAF scaling issue, updates .zip
Browse files Browse the repository at this point in the history
  • Loading branch information
hennie committed Aug 23, 2024
1 parent 9b1eb39 commit 618e761
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified gender_indicator_tool.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion gender_indicator_tool/gender_indicator_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -4112,7 +4112,7 @@ def SAFPerceivedSafetyFromTextFieldRasterizer(self, layer):
temp_layer.commitChanges()

# Get the extent for rasterization
extent = setup['country_extent'].extent()
extent = setup['country_extent']
xmin, ymin, xmax, ymax = extent.xMinimum(), extent.yMinimum(), extent.xMaximum(), extent.yMaximum()
width = int(np.floor((xmax - xmin) / setup['pixelSize']))
height = int(np.floor((ymax - ymin) / setup['pixelSize']))
Expand Down

0 comments on commit 618e761

Please sign in to comment.