All Questions
23 questions
18
votes
4
answers
30k
views
Saving project with data source path as relative in QGIS?
Is there an option in QGIS to save the project with the data source being a relative path?
I don't see the option here. QGIS Wroclaw1.7.3
7
votes
4
answers
11k
views
Linking to external files with relative path in QGIS actions
Objective: I have point layers with attributes that contain paths to external files (Visio, AutoCAD dwg...). I want to put them all in one folder together with the project file, compress the folder ...
8
votes
1
answer
6k
views
Open .qgz files to edit file paths
I have hundreds of QGIS projects that have been built over years and many different QGIS versions. Now I need to move them to another server and I want to be able to edit the project files to show the ...
5
votes
1
answer
2k
views
Create dynamic filename, based on attribute value, for output of QGIS model
Basic idea
Every user running a model selects a folder where the output of the model, a raster, should be stored as a file. The filename should be created automatically, based on an attribute value (...
9
votes
2
answers
2k
views
How can I crawl directory tree and change Mxd relativePaths to true?
I have a large number of project folders where each project folder can have many subfolders. These subfolders can contain mxds, shapefiles, personal gdb's and fgdb's. In many cases the user forgot ...
9
votes
1
answer
4k
views
Relative path not working in QGIS with Google Drive?
I have a qgis file, referring to a few shp files, saved on a google drive folder which is synced across two computers using different OS, one is Mac OS X, the other Windows 8. So, the absolute path of ...
2
votes
3
answers
2k
views
Relative paths not working in model builder
I checked "Store relative path names" in my model, but ArcGIS seems to ignore the settings - the paths are always the same as on my computer.
Plus, the "Store relative path names" unchecks ...
19
votes
2
answers
3k
views
Concatenating export path in Google Earth Engine
My goal is to store different exports from Earth Engine projects in separate subfolders of a main GEE_export folder on my Google Drive. I'm using Export.image.toDrive:
Export.image.toDrive({
...
5
votes
3
answers
2k
views
Save processing modeler output layers to project folder/relative path?
I am building an algorithm in the processing modeler which takes a csv file as input and creates a number of vector layers as output. I would like to automatically save these layers in the same folder ...
5
votes
2
answers
898
views
Batch replacing of layer file paths in QGIS
I reorganized my shapefiles folders. Now the layer file paths are broken.
I have tried the solutions shown in the QGIS User guide (chapter 6.2), but:
I don't want to process my layers individually ...
5
votes
1
answer
3k
views
Map tips and the use of relative paths
I am trying to set up a GIS database in QGIS (2.16.1) containing some geological information. I've created a shapefile (polylines) and added a map-tip to it which displays a cross-section related to ...
5
votes
2
answers
3k
views
QGIS html annotation relative paths
I find the QGIS html annotation tool is very useful for quickly accessing a combination of key data attributes and photos. I am having trouble using relative paths for images.
This doesn't work:
<...
4
votes
1
answer
978
views
How can I use relative paths in print composer for images?
I'm sharing an entire map project with a client so they can eventually print off an atlas. I've managed to get all the layers and icons to work correctly with relative paths, but the atlas contains ...
4
votes
1
answer
802
views
Change layer path using PyQGIS
I have a QGIS Project with many raster layers. I need to change/repair all paths since I moved the original data to Another disk.
layer = iface.activeLayer()
old_path = r'D:/Somefolder_QGIS_200317'
...
4
votes
0
answers
194
views
Using an input string in a file path for a input vector layer in QGIS model
I am building a QGIS model to perform field calculations on a large number of .shp files containing environmental information of different waterbodies. This model should be global for the different ...
3
votes
2
answers
7k
views
Hyperlink relative paths to files in points layer in QGIS?
I would like to add hyperlinks to each point in a points layer in QGIS 1.7.0 running on Mac OS X 10.6.7, but I have several requirements:
(1) Each hyperlink has to be a relative path to the linked ...
2
votes
2
answers
865
views
Saving LAZ files to different location from input (LAS) files? [duplicate]
All of the command line examples I'm seeing show how to create LAZ files in the same folder as the LAS files, e.g.:
C:\Folder\tools>laszip F:\Folder\LAS_points\*.las
Unfortunately, I don't have ...
2
votes
1
answer
1k
views
Repairing multiple broken layer file paths in QGIS
I have moved all my QGIS layer files from C:// drive to One Drive, and I would like to re-map the old filepaths to the new drive.
I know I can open the QGIS file as a text file and run a find and ...
2
votes
1
answer
395
views
Open QGIS Project in both Linux/Windows
My company has workers that use Windows and Linux to manage a QGIS project. However, when we use the same project created in different operate systems the layers lose file paths.
Is there ...
2
votes
1
answer
393
views
QGIS virtual layer path never saved as relative
When I try to use virtual layers in QGIS, I'm unable to use relative paths.
I've already set in the "Project Properties", in the tab "General", the "Save paths" as relative.
You can see a ...
2
votes
1
answer
3k
views
Set Relative Hyperlink to open windows explorer using Actions in QGIS
I am wondering how to solve this problem I am having. I am trying to make an action in QGIS when I click on my feature, windows explorer will display the folder for that feature. I have the folder ...
1
vote
1
answer
769
views
Persisting ArcGIS Network Analysis Route Layer?
I'm using ArcGIS 10.0.
I'd like to be able to specify the location (path) where to create the route layer, for network analysis, when I click on Network Analysis -> New Route. Is that possible?
...
1
vote
0
answers
649
views
QGIS 2.18.3 path and sip module cannot be load in ubuntu 16.04
I'm currently installing QGIS 2.18.3 it works fine at first, after upgrading my ubuntu the problems comes out every time I run my QGIS; it always shows "Couldn't load SIP module. Python support will ...