Skip to main content

All Questions

Tagged with or
27 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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 ...
Leesbiology's user avatar
3 votes
0 answers
231 views

Unavailable layer saved on computer as .txt file in my all projects (.qgz)

I have a problem with all my saved .qgz projects. I always worked with layers in projects only as .txt files, not saving them as shapefile, because I can make changes in .txt files (eg. add more ...
Michaela Uhrová's user avatar
3 votes
0 answers
144 views

Why are the layer-tree-layer source attributes absolute even if my project is set to relative paths?

When I save a group as a layer definition file (both from the context menu and via the python api) the layer-tree-layer source attribute is incorrectly absolute: source="/Volumes/gis/master/Raster/...
gotjosh's user avatar
  • 341
2 votes
0 answers
159 views

Assign absolute path to single layer in QGIS

Under Project Properties, I set path savings to 'relative', as the project is used by different people and moved between network drives. Shapefiles that move with the project are correctly located in ...
Maaldersmul's user avatar
2 votes
1 answer
430 views

ArcGIS Pro will not update datasource path change

I have many layers in a aprx file that need to have the path updated. I need to remove part of the string "UTARC." from the datasource path. Through Catalag View on ArcGIS Pro, when I type ...
Juliana's user avatar
  • 31
2 votes
0 answers
1k views

Relative Path Links/Hyperlinks in ArcGIS Pro

Has anyone figured out how to use hyperlinks/relative links in ArcGIS Pro? This is what my links look like in ArcMap. The hyperlink lightning bolts are there. Here is what it looks like in ArcGISPro: ...
mizzou14's user avatar
2 votes
0 answers
350 views

Use relative path in VRT with VSIZIP

I'm trying to load a GPKG file into QGIS by a VRT file. The vector is inside a ZIP. So I'm using the vsizip. I would like to use just relative paths. But when I try to load it, the new layer comes ...
MarceloBaliu's user avatar
2 votes
0 answers
133 views

Is there any way to read raster path in POSTGRES and bring to QGIS screen

.qlr or .vrt files contain a list of raster files path such as : 'C://raster/NYK.tiff'....'C://raster/CAL.tiff'.... etc... QGIS displays them by reading the embedded paths. I would like to store ...
Horacio Vladimirsky's user avatar
2 votes
0 answers
2k views

Relative Image paths in QGIS

I want to import images with a relative path to my QGIS Project. I followed this https://www.youtube.com/watch?v=JnQk0NRqCyM tutorial. So far, so good. Works fine. My problem is, that my QGIS-Project ...
Schlobbo's user avatar
2 votes
0 answers
2k views

How to use relative path in Mac for open internal and external file?

I would like my project to be portable, so I can share it without losing all the project paths. This seems not so easy and many times I have to reset all the paths when I give the project, with all ...
G M's user avatar
  • 2,078
1 vote
0 answers
104 views

SAGA cannot load any grids

Whenever I try to use a SAGA processing tool in QGIS which requires loading a file, it fails to load the files. The log message says: Loading grid: [PATH] failed. The tools I've attempted to use ...
Jacky's user avatar
  • 11
1 vote
0 answers
44 views

sen2r file path error (UPDATED)

UPDATE: I think I've solved the problem. I created a bogus temp folder for my nonexistent L1C images l1c_safe<-tempfile(pattern = "safe_") and passed this to the path_l1c= argument. I ...
gcost's user avatar
  • 11
1 vote
0 answers
37 views

Use OS-specific file dialog to relink layer when file moves?

When I move a file out from under QGIS, of course I have to tell the program where it moved to. If you close a QGIS project and then move or rename a layer source file, you get a prompt when you ...
Alan Harper's user avatar
1 vote
0 answers
174 views

Set up R in QGIS 3.4 on Mac OS X

I'm trying to get R into QGIS on my mac. I've installed the plugin "Processing R Provider plugin" but I can't "get R scripts from online scripts collection". It has something to do with the all caps "...
MapDeath's user avatar
  • 345
1 vote
0 answers
28 views

Fixing document path during PDF export from ArcMap?

The document path on the side of my map changes when I export to PDF. The text says: "dyn type="document" property="path" It displays the filepath correctly when I'm editing the document (maps are ...
Wes's user avatar
  • 11
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 ...
Wira Bhakti's user avatar
1 vote
0 answers
378 views

QGIS python functions in relative path?

I am using QGIS 2.18.3 to create an atlas. This works well and I now want to call some functions to create richer content in a text box. To do this I am calling a python function from an expression. ...
ragnvald's user avatar
  • 3,201
1 vote
0 answers
910 views

ArcMap HTML Popup XSL: Images with relative path

I added a HTML Popup to a map that displays several fields data and one image that's stored in a folder next to the map.mxd file. One of the fields in the table is the filename.jpg for each image. All ...
Demian Andrade's user avatar
1 vote
0 answers
431 views

Relative Path not working in ArcMap and ArcObjects

I'm using ArcMap 10.0 and Windows 7 64 bit. I'm trying to set a relative paths for my MXD file. My MXD is located at C:\workspace\rastertest.mxd and the data is located at C:\workstation\data\testdted....
Davidst95's user avatar
0 votes
0 answers
56 views

ArcGIS Pro loads raster with spaces in file path on C: drive, but not other drives

I recently moved my GIS folder from my C: drive to a second storage drive (E:), and am having trouble loading rasters. I narrowed the issue to spaces in the file path - but I can't figure out why this ...
britthartery's user avatar
0 votes
0 answers
102 views

Change path for QgsAction icon in PyQGIS

I added a QgsAction in my layer style, but when I share this style to other users, the path to the icon is written in absolute. I watched QgsAction doc (here) and it doesn't seem to be a setIconPath(),...
dmjf08's user avatar
  • 1,313
0 votes
2 answers
375 views

Remove partial string (folder) from File path with Python

The documentation for ArcGIS Pro for updateConnectionProperties https://pro.arcgis.com/en/pro-app/2.8/arcpy/mapping/updatingandfixingdatasources.htm#ESRI_SECTION1_18159CA0096044608B406CA068794E30 has ...
sparky's user avatar
  • 450
0 votes
0 answers
114 views

Using QGIS projects in a multi-OS environment

I am using QGIS on a variety of systems all of which access various file systems in my network, one of which contains my files, another contains my QGIS projects. Unfortunately, depending on the OS, ...
Julien's user avatar
  • 1
0 votes
0 answers
122 views

Iterate Workspace not working in ArcGIS Pro ModelBuilder

I created a model in ArcGIS Pro that will delete features (ex. drainage areas) that intersect with unfeasible landcover classes within a raster (ex. impervious). So I used the following model ...
Mary's user avatar
  • 1
0 votes
0 answers
697 views

QGIS 2.18 python error

I very new to all the python-QGIS issue. I try to run this one line code in order to know if the PYTHON 2.7 recognize the modules of QGIS: import qgis.core and got this error: Traceback (most ...
newGIS's user avatar
  • 4,082
0 votes
0 answers
59 views

OGR_LINK_FIELD to filename in a Geospatial PDF

I'm using gdal_translate to create a Geospatial PDF. I'm trying to add file path to my feature when clicking on them by using: -co OGR_LINK_FIELD=<column with path> I am creating my PDF in ...
LAC's user avatar
  • 611
-2 votes
1 answer
835 views

Load layer from SharePoint (or online office server) with https://... URL

I'm trying to import a .csv layer from a SharePoint folder without using the local path (for ex: C:*Users*\UserName\Folder1\filename) but using the online path (https://.../filename). I need this ...
federico sperati's user avatar