call the library rasterlite2 in python

23 views
Skip to first unread message

H Gh

unread,
May 23, 2018, 7:01:16 AM5/23/18
to SpatiaLite Users

Hello, I've been able to load Rasterlite2 now but I can not call the library. For example, I can not call the "RLVersion()"inPython. Please guide m


mj10777

unread,
May 23, 2018, 7:10:49 AM5/23/18
to SpatiaLite Users


On Wednesday, 23 May 2018 13:01:16 UTC+2, H Gh wrote:

Hello, I've been able to load Rasterlite2 now but I can not call the library. For example, I can not call the "RLVersion()"inPython. Please guide m

That is because the function 'RLVersion()' does not exist.

see:

Also: there is no need to add '.dll' to load_extension
- on windows: '.dll' will be added
- on linux: '.so' will be added
and on mac: '.dylib' will be added

Not adding the file-extension will keep your code more portable.

Mark 



H Gh

unread,
May 24, 2018, 4:06:36 AM5/24/18
to SpatiaLite Users


در چهارشنبه 23 مهٔ 2018، ساعت 15:31:16 (UTC+4:30)، H Gh نوشته:

H Gh

unread,
May 24, 2018, 4:08:55 AM5/24/18
to SpatiaLite Users
thanks help me

در چهارشنبه 23 مهٔ 2018، ساعت 15:31:16 (UTC+4:30)، H Gh نوشته:

Reply all
Reply to author
Forward
0 new messages