--
You received this message because you are subscribed to the Google Groups "RSGISLib Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rsgislib-suppo...@googlegroups.com.
To post to this group, send email to rsgislib...@googlegroups.com.
Visit this group at https://groups.google.com/group/rsgislib-support.
For more options, visit https://groups.google.com/d/optout.
On 21 Aug 2017, at 17:12, Alex M. Hamer <alexm...@outlook.com> wrote:
Hi Pete,
I have created the shapefile defining the tiles for my image, however when I use the createTileMaskImagesFromShp() it creates all of the tiles as shp files in the temporary directory and begins to rasterise each one until I get the following error after ~500 tiles:
File "min_tile.py", line 11, in <module>
imageutils.tilingutils.createTileMaskImagesFromShp(VVsubImg, shp, tilesImgBase, tilesMaskDIR, tmpdir, imgFormat='KEA')
File "/home/student/miniconda3/envs/exampkgs/lib/python3.5/site-packages/rsgislib/imageutils/tilingutils.py", line 207, in createTileMaskImagesFromShp
vectorutils.rasterise2Image(shpFile, inputImage, imgTileFile, imgFormat, shpAtt=None, shpExt=True)
File "/home/student/miniconda3/envs/exampkgs/lib/python3.5/site-packages/rsgislib/vectorutils/__init__.py", line 96, in rasterise2Image
raise e
File "/home/student/miniconda3/envs/exampkgs/lib/python3.5/site-packages/rsgislib/vectorutils/__init__.py", line 73, in rasterise2Image
inVectorLayer = inVectorDS.GetLayer(0)
AttributeError: 'NoneType' object has no attribute 'GetLayer'
Regards,
Alex
To post to this group, send email to rsgisli...@googlegroups.com.
Visit this group at https://groups.google.com/group/rsgislib-support.
For more options, visit https://groups.google.com/d/optout.
--------------------------------------------------------------------
Un o’r 5 prifysgol uchaf yn y DU a’r orau yng Nghymru am fodlonrwydd myfyrwyr.
(Arolwg Cenedlaethol y Myfyrwyr 2017)
www.aber.ac.uk
Top 5 UK university and best in Wales for student satisfaction
(National Student Survey 2017)
www.aber.ac.uk
--
You received this message because you are subscribed to the Google Groups "RSGISLib Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rsgislib-suppo...@googlegroups.com.
To post to this group, send email to rsgislib...@googlegroups.com.
Visit this group at https://groups.google.com/group/rsgislib-support.
For more options, visit https://groups.google.com/d/optout.