[QGIS-Developer] SharePoint_QGIS issue
Tobias Schula
geospatial at schula.org
Thu May 22 05:10:52 PDT 2025
On Wednesday, 21 May 2025, 11:45:24 CEST ENNAFTI Tayssir via QGIS-Developer
wrote:
> We are using QGIS to regularly edit shapefiles and raster data stored on
> SharePoint. However, we've run into an issue: SharePoint paths are
> user-specific (e.g., C:\Users\[username]...), which breaks shared access
> across multiple users in QGIS. We are specifically looking for a way to
> save files directly on SharePoint, rather than on the local synced copy,
> which remains tied to a specific user profile. For info , we are using
> 3.34.0 version.
> Any guidance or suggestions would be greatly appreciated.
You need to approach your problem differently. Just forget about sharepoint
for a while.
You have geospatial data and you want to make it accessible for multiple
users. Preferably there should be some kind of access management and
versioning, right? And you should be able to work on the same dataset and to
resolve edit conflicts.
You are currently using a file based workflow, which is ok if you are the only
person working with them at the same time.
You have multiple options:
1. You keep your file based workflow. If you work on a project, download the
data from sharepoint to a local copy, edit the data, reupload. Make sure no-
one else is working on it at the same time, or you will overwrite each others
edits. You can set up the individual QGIS-projects to use relative and not
absolute file paths.
2. You switch to a central geospatial database. QGIS works excellent with
PostGIS. The database will do the versioning and the user access for you. You
can also offload geospatial operations directly to the database, using QGIS
mostly as map viewer and digitizer. But the central database only works
properly if you have a fast connection to it. So remote workers or branch
offices might have a hard time accessing and editing.
3. Diff/git-like based workflow. Emma Hain already mentioned Kart, there is
also Mergin Maps and their library "geodiff" [1]. You can also use QField, but
then you need a central authority merging back the changes.
[1] https://github.com/MerginMaps/geodiff
See also these links:
> https://gis.stackexchange.com/questions/421573/qgis-3-16-16-and-sharepoint
> https://www.reddit.com/r/gis/comments/17cdfxa/qgis_and_sharepoint/
This thread:
> https://lists.osgeo.org/pipermail/qgis-user/2022-August/051789.html
and especially this answer:
> https://lists.osgeo.org/pipermail/qgis-user/2022-August/051822.html
--
Tobias A Schula
Forestry Expert
geospatial at schula.org
More information about the QGIS-Developer
mailing list