Skip to content

Upgrade to SpatiaLite 5 #22138

Open

Description

@bricelam

See the docs. It looks like there's a bit of chaos around PROJ.6 on Windows. We may also need to upgrade existing databases and start calling a new function to initialize the metadata tables. We can also take this time to move some of the SpatiaLite functionality out of the SQLite provider and into the NTS extension. We can also reconsider how we redistribute SpatiaLite on Windows.

Activity

  1. self-assigned this
    on Aug 20, 2020
  2. added this to the Backlog milestone on Aug 21, 2020
  3. bricelam commented on Jun 13, 2021

    @bricelam
    ContributorAuthor

    This is currently blocked (SpatiaLite is at version 5.0.1 at the time of writing).

    In addition to PROJ 6 depending directly on SQLite, the KNN feature, and even parts of the base SpatiaLite code also depend directly on SQLite. This means that mod_spatialite is not a generic SQLite extension, but rather it must be compiled against the same SQLite library that it will eventually be loaded into. While this works just fine with the system version of SQLite, it falls down with SQLitePCLRaw's bring-your-own native library model.

  4. bricelam commented on Jul 5, 2021

    @bricelam
    ContributorAuthor

    mod_spatialite has been updated, and they’ve asked for teams to verify that it can work now.

    https://www.gaia-gis.it/fossil/libspatialite/wiki?name=June+2021+update&p

  5. removed this from the Backlog milestone on Jul 5, 2021
  6. added this to the 6.0.0 milestone on Jul 6, 2021
  7. bricelam commented on Jul 6, 2021

    @bricelam
    ContributorAuthor

    Success! It looks like we're unblocked as soon as they release a new version. I've reported back on their mailing list.

  8. 14 remaining items

  9. modified the milestones: 7.0.0, Backlog on Jul 7, 2022
  10. clahil-linum commented on Dec 15, 2022

    @clahil-linum

    Supporting the nativ GeoPackage format (like described here: https://www.geopackage.org/spec121/index.html#gpb_format) would be nice too. In theory one could use "SELECT AutoGPKGStart()" but in my experience working with the prefixed "vgpkg_*" tables is unrealiable. GeoPackage is avaiable nativ within Qgis.

    For more information about the virtual vgpkg topic visit: https://www.gaia-gis.it/fossil/libspatialite/wiki?name=Virtual+Tables+(misc) (scroll down to VirtualGPKG)

  11. removed their assignment
    on Jul 8, 2023
  12. added theissue type on Jun 15, 2025
  13. bricelam commented on Jul 19, 2025

    @bricelam
    ContributorAuthor

    This is no longer blocked. SpatiaLite 5.1.0 was released with a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions