SQLite + SpatiaLite problems

后端 未结 2 1490
走了就别回头了
走了就别回头了 2021-02-06 05:19

I\'m trying to access a SpatiaLite from C# using System.Data.SQLite provider. When I try to load the SpatiaLite extension, I always get the

System.Data.SQLite.S         


        
2条回答
  •  清歌不尽
    2021-02-06 06:00

    Well thanks to sqlite3.exe command line tool, I've found out that there are some additional DLLs needed for this to run:

    • libproj-0.dll
    • libgeos-3-1-1.dll
    • libgeos_c-1.dll

    You can find these on SpatiaLite's download page. Just copy them to the bin directory.

    UPDATE: one additional dll needed is libiconv2.dll

提交回复
热议问题