Many bands in rasterization

18 views
Skip to first unread message

Carlos Leandro Cordeiro

unread,
Mar 5, 2018, 10:04:51 AM3/5/18
to RSGISLib Support
Hello everyone, I'd like some help. I am rasterizing a shape from the states of Brazil using this command. 

#/usr/bin/env python

# Import python modules
import rsgislib
from rsgislib import vectorutils

inputVector = 'Brasil_bestados_buffer_7km.shp'
inputImage = 'exemplo_albers2_utm_wgs84_buffer_7km.tif'
outputImage = 'raster.tif'
vectorutils.rasterise2Image(inputVector, inputImage, outputImage,shpAtt='SIGLAUF3')

But when I open the image it's like it had more layers than just one. Can anybody help me?
Thank you

Reply all
Reply to author
Forward
0 new messages