-
Notifications
You must be signed in to change notification settings - Fork 1
Compile with sqlite driver #5
Comments
Yeah another good one to add. Shouldn't be too much work since this already exists: |
Bump. My use case is that I need to perform a SQL UPDATE command in
|
@niclasmattsson might you be interested in giving it a shot? |
i would like to use the gpkg format, which uses sqlite for storage. would this also help for my issue? |
Yes, I assume that GeoPackage support is also added with this. So in 4aa05a9 I added JuliaGeo/LibGEOS.jl#56 |
To avoid what seems like cxx string ABI issues: ``` #0 0x00007ff98ba7475b in ntdll!RtlIsNonEmptyDirectoryReparsePointAllowed () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x00007ff98ba7c266 in ntdll!RtlpNtSetValueKey () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #2 0x00007ff98ba7c531 in ntdll!RtlpNtSetValueKey () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #3 0x00007ff98ba1a505 in ntdll!RtlRaiseStatus () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #4 0x00007ff98ba2990d in ntdll!memset () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #5 0x00007ff98ada98bc in msvcrt!free () from /cygdrive/c/WINDOWS/System32/msvcrt.dll #6 0x000000006fcb40ea in libstdc++-6!_ZNSs9_M_mutateEyyy () from /cygdrive/c/bin/julia/bin/libstdc++-6.dll #7 0x000000006fcb2d5e in libstdc++-6!_ZNSs15_M_replace_safeEyyPKcy () from /cygdrive/c/bin/julia/bin/libstdc++-6.dll #8 0x000000006fcb3586 in libstdc++-6!_ZNSs6assignEPKcy () from /cygdrive/c/bin/julia/bin/libstdc++-6.dll #9 0x000000002b510170 in libgdal-26!GTIFSetFromOGISDefnEx () from /cygdrive/c/Users/visser_mn/.julia/dev/GDAL/deps/usr/bin/libgdal-26.dll #10 0x000000002b4e7aa7 in libgdal-26!_ZN12GTiffDataset10CreateCopyEPKcP11GDALDatasetiPPcPFidS1_PvES6_ () from /cygdrive/c/Users/visser_mn/.julia/dev/GDAL/deps/usr/bin/libgdal-26.dll #11 0x000000002b7e854e in libgdal-26!_ZN10GDALDriver10CreateCopyEPKcP11GDALDatasetiPPcPFidS1_PvES6_ () from /cygdrive/c/Users/visser_mn/.julia/dev/GDAL/deps/usr/bin/libgdal-26.dll #12 0x000000002aed4180 in ?? () ``` Also strip shared libraries on other platforms.
* Build Windows on GCC 7 To avoid what seems like cxx string ABI issues: ``` #0 0x00007ff98ba7475b in ntdll!RtlIsNonEmptyDirectoryReparsePointAllowed () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x00007ff98ba7c266 in ntdll!RtlpNtSetValueKey () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #2 0x00007ff98ba7c531 in ntdll!RtlpNtSetValueKey () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #3 0x00007ff98ba1a505 in ntdll!RtlRaiseStatus () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #4 0x00007ff98ba2990d in ntdll!memset () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #5 0x00007ff98ada98bc in msvcrt!free () from /cygdrive/c/WINDOWS/System32/msvcrt.dll #6 0x000000006fcb40ea in libstdc++-6!_ZNSs9_M_mutateEyyy () from /cygdrive/c/bin/julia/bin/libstdc++-6.dll #7 0x000000006fcb2d5e in libstdc++-6!_ZNSs15_M_replace_safeEyyPKcy () from /cygdrive/c/bin/julia/bin/libstdc++-6.dll #8 0x000000006fcb3586 in libstdc++-6!_ZNSs6assignEPKcy () from /cygdrive/c/bin/julia/bin/libstdc++-6.dll #9 0x000000002b510170 in libgdal-26!GTIFSetFromOGISDefnEx () from /cygdrive/c/Users/visser_mn/.julia/dev/GDAL/deps/usr/bin/libgdal-26.dll #10 0x000000002b4e7aa7 in libgdal-26!_ZN12GTiffDataset10CreateCopyEPKcP11GDALDatasetiPPcPFidS1_PvES6_ () from /cygdrive/c/Users/visser_mn/.julia/dev/GDAL/deps/usr/bin/libgdal-26.dll #11 0x000000002b7e854e in libgdal-26!_ZN10GDALDriver10CreateCopyEPKcP11GDALDatasetiPPcPFidS1_PvES6_ () from /cygdrive/c/Users/visser_mn/.julia/dev/GDAL/deps/usr/bin/libgdal-26.dll #12 0x000000002aed4180 in ?? () ``` Also strip shared libraries on other platforms. * fix library locations * don't strip on osx
Closing this as the v3.0.0-3 build used in JuliaGeo/GDAL.jl#66 is compiled with this driver (still adding this as a test in the PR). Some relevant lines from the build.log:
So yes it is supported. But there are also more SQLite extensions that can be used that are currently not built in the SQLiteBuilder, like https://gdal.org/drivers/vector/gpkg.html Probably best to open seperate issues about those when we need them. |
Discourse discussion.
The text was updated successfully, but these errors were encountered: