Skip to content

Allow spatialite-enabled database connections.#8

Open
richardellison wants to merge 1 commit into
SESYNC-ci:masterfrom
richardellison:libspatialite
Open

Allow spatialite-enabled database connections.#8
richardellison wants to merge 1 commit into
SESYNC-ci:masterfrom
richardellison:libspatialite

Conversation

@richardellison
Copy link
Copy Markdown
Contributor

I have been working with some Spatialite databases recently and realised that many of the same spatial functions, including the ones used in this package, also apply to Spatialite-enabled databases so the same code can support both PostgreSQL/PostGIS and Spatialite. This PR adds the necessary steps needed to enable the Spatialite extension using an RSQLiteConnection after which the get_postgis_query function works as normal.

One caveat, I have only tested this on Linux and these functions require the mod_spatialite library to be installed on the computer.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant