Thursday 7 February 2019

arcgis desktop - How to reduce Polygon to Raster (Conversion) bit depth?


I have a polygon featureclass that I am trying to convert to raster format at a low bit depth (i.e. <8 bit unsigned). The FC contains 50,000 polygons which have five values: 1,3,5,7,9. I have set the value field to record the previously described values. I have also tried adding a field populated with 1's and setting the Value Field to that. The output raster is an 8-bit unsigned raster dataset with a NoData value of 255 every time. I have tried changing the Environment setting > Raster Storage > NoData to every one of the options from NONE to PROMOTION. I have even tried entering "0" as a NoData value in the environment setting. I am pretty sure the tool does not honor that Environment setting.


How can I control the bit depth of the Polygon to Raster output? Preferably I would like a 1, 2 or 4 bit raster output. Work-arounds welcome too.


Edit: Unfortunately, Copy Raster is not an option because the Polygon to Raster conversion is an intermediate step in a larger processing workflow. Creating a new raster dataset would only add more time to the workflow.





No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...