Skip to content

Commit

Permalink
Remove hack for paletted raster conversion
Browse files Browse the repository at this point in the history
Fixed in API now
  • Loading branch information
nyalldawson committed May 20, 2024
1 parent 83e2334 commit 51da4da
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions felt/core/fsl_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1681,8 +1681,7 @@ def paletted_renderer_to_fsl(
return {
"config": {
"band": renderer.band(),
"categories": categories,
"categoricalAttribute": "temp" # short term workaround
"categories": categories
},
"legend": {
"displayName": labels
Expand Down
1 change: 0 additions & 1 deletion felt/test/test_fsl_conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -2387,7 +2387,6 @@ def test_convert_singleband_gray_renderer(self):
'type': 'numeric'}
)

@unittest.skip('Broken API, disabled for now')
def test_convert_paletted_raster(self):
"""
Convert raster paletted renderer
Expand Down

0 comments on commit 51da4da

Please sign in to comment.