AttributeError: module 'rsgislib.imageutils' has no attribute 'create_tiles'

67 views
Skip to first unread message

giris...@gmail.com

unread,
Mar 31, 2022, 3:00:39 AM3/31/22
to RSGISLib Support
Hi,
 
 we are trying to split a raster image using create_tiles funtionality. But it is giving the error
AttributeError: module 'rsgislib.imageutils' has no attribute 'create_tiles'.
Kinldy give your suggestion to overcome this issue.

Thanking You

With Warm Regards
Girish

Peter Bunting

unread,
Mar 31, 2022, 4:06:26 AM3/31/22
to giris...@gmail.com, RSGISLib
Hi Girish, 

Which version of rsgislib are you using?

If you are using the older version 4 then the function name is createTiles:

Version 5 (released earlier this year) is a big change where functions have been renamed for consistency and moved around modules:

Best wishes, 

Pete


--
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 view this discussion on the web, visit https://groups.google.com/d/msgid/rsgislib-support/c90855ba-c64e-4624-8062-5987257de53bn%40googlegroups.com.

giris...@gmail.com

unread,
Apr 1, 2022, 1:13:40 AM4/1/22
to RSGISLib Support
Hi Pete,

 Thank you for the quick reply. 
As correctly pointed out by you, the issue is with the name of the function for the matching version.
I was using the version 4 and was using  the function name  of version 5.
Now working fine .

Thank you
Reply all
Reply to author
Forward
0 new messages