The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [file-path]

For questions about paths to files and folders

Filter by
Sorted by
Tagged with
2
votes
1answer
28 views

Changing location of plugin folder in QGIS 3?

I want to change the default location of the plugin folder in QGIS 3. The reason is that the default location is read-only, but I want to create and use self-made plugins. Can I change the location ...
1
vote
0answers
29 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 "...
2
votes
1answer
27 views

Create vector extents for PDF files exported within QGIS

I'm interested to create a vector point layer representing the centroid of some 500-1000 PDF files exported from QGIS to find PDFs geographically rather than file explorer. The algorithm 'Tile Index'...
1
vote
2answers
69 views

Linking PDF file to a polygon shape with relative paths?

I´m looking for a solution to connect a specific PDF file to each polygon in my shape and to create an action to open the PDF. Relative paths are required. I am aware many people already asked this ...
2
votes
1answer
87 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 ...
0
votes
0answers
18 views

ModuleNotFoundError: No module named "PKG.resources'

Trying to use plugin builder to work create plugins in QGIS 3.6 The conventional fix would appear to be running pb_tools the issue being that I can't get it to read everything from the right places. ...
1
vote
0answers
55 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({ ...
2
votes
1answer
34 views

Raster calculator - set default output path - QGIS 3.4.6

Raster calculator: How can I set the default output folder? By default it's set to "C:\Program Files\QGIS 3.4\bin" I'm using QGIS 3.4.6
1
vote
0answers
19 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 ...
1
vote
0answers
516 views

QGIS 3.4 Couldn't load SIP module. Python support will be disabled on Windows 10

I upgraded from QGIS 3.2 to 3.4 and bad things happened. On start-up I get the error. Couldn't load SIP module. Python support will be disabled. Traceback (most recent call last): File "", line 1,...
0
votes
2answers
42 views

Retrieving Layer Files From Map Packages

I have around 57 map packages that I need to salvage layer data from. The layer files were incorrectly saved with absolute paths instead of relative paths so they won't display unless they are opened ...
1
vote
2answers
205 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 ...
0
votes
1answer
185 views

Will using Zee Drive affect the performance of QGIS [closed]

At our company we are thinking of moving from a server to our local machines with Sharepoint. Zee drive would be implemented to act as an interface for all our files, including our geospatial data. ...
1
vote
0answers
69 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 ...
2
votes
3answers
98 views

FME statistics on Tester Conditions

I'm using FME to look at a large directory and filter down through many factors to handle the data within the directory. One of the stages I am working on is to search for companies that own the data....
6
votes
2answers
2k views

Remapping layers in QGIS project to other folders?

I created a QGIS project containing several layers which are on my PC. I saved the project to my local drive and then I saved it to the network and copied all the relevent project layers into a folder ...
1
vote
2answers
685 views

How to get raster layer name in GDAL?

I have a path of a raster layer. I want to get name of this layer in GDAL. In below code I want to get aa.tif from osgeo import gdal dataset = gdal.Open("/Data/raster/aa.tif") print dataset.GetName()...
2
votes
1answer
275 views

QGIS 2.18 - How to reference a svg symbol which is in the qml file's directory?

Relative path for svg symbols in .qml files works as expected if the svg file is in another directory than the .qml file's. Example : <prop k="name" v="../icons/symbol.svg"/> However, if the ...
1
vote
1answer
256 views

qgis2web pop up image — path definition

I have consulted the post on GIS stack exchange and read the docs, however I cannot find a solution that works. The idea is to put a .png image of a site report within the maplayer for web output. ...
2
votes
3answers
1k views

Error when path contain spaces - Arcpy Integrate

I'm using a simple script to run Integrate tool in a default gdb and feature class, where user can indicate the path where this gdb is located. This script works well when path indicated by user don'...
1
vote
2answers
62 views

Why is the mxd property “Pathnames” disabled?

I have an .mxd that is using absolute pathnames. I want to change this property to use relative pathnames but the option is disabled, grayed out, when I go to the .mxd properties. It is actually ...
0
votes
2answers
550 views

Earth Engine: Evaluating ee.Number in file path

In the Earth Engine code editor, I'm trying to load an image using a variable in the file path. In my full code I'm passing a variable (call it "id") into a function, and am trying to use "id" in a ...
-1
votes
1answer
393 views

Pycharm Couldn't recognise QGIS 2.8.11's python 2.7.5 packaging tools. win 7

using "C:\Program Files\QGIS 2.18\bin\python.exe" for my project interpreter in pycharm and, path variables as : PYTHONHOME = "C:\Program Files\QGIS 2.18\bin" PYTHONPATH = "C:\Program Files\QGIS 2.18\...
3
votes
0answers
103 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/...
0
votes
1answer
525 views

TerrSet Errors - Data Path Not Found

I've been trying to struggle through Terrset but just can't get it to do what I want. I initially had problems downloading the files from geoexplorer but seem to have figured that out. The problem now ...
4
votes
1answer
438 views

Set default for folder parameter in QGIS processing scripts

In QGIS processing scripts we can define a folder as input parameter as follows: [...define input/output parameters...] ##mypath=folder [...rest of the script...] Question: Is it possible (and if ...
0
votes
0answers
589 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 ...
2
votes
3answers
545 views

Moving MXD to different folder without breaking links using ArcPy? [duplicate]

I was wondering what was the equivalent of "Save As" in ArcPy, which works perfectly fine in ArcMap. As the MXDs are currently set up with relative path moving MXD would break the links, however if ...
1
vote
1answer
323 views

Getting catalog path from IFeatureClass using ArcObjects?

VB.NET against ArcGIS 10.1 I have a function which searches a geodb for a feature class name. If found I would like to display where it was found. Currently I only return the FeatureClass object like ...
2
votes
1answer
1k views

How to avoid updating PATH by copying SIP module to appropriate directory

I continue to have very time-consuming problems with import statements in the Python scripts that I attempt to write. In this particular script, I want to use QGIS functionality, and so it begins: ...
1
vote
1answer
107 views

Select the correct paths for The TIGER geocoder (linux)

I'm following this tutorial to setup the geocoder. I'm stuck on the step 2.8.1.4 "edit the paths in the declare_sect column to those that fit Debbie's pg, unzip,shp2pgsql, psql, etc path locations."...
1
vote
1answer
336 views

Loader_Generate_Nation_Script is not creating the scripts

I'm working on setting up the TIGER geocoder on a Linux machine. I have installed PostgreSQL and PostGIS, now I'm working on the extension, point 2.8.1 of this guide: I'm having problems with the ...
2
votes
1answer
59 views

Python qgis script

How to get the path of points? Because I want to open it using this code: lyr = QgsVectorLayer(path,"YXC","ogr")
1
vote
1answer
99 views

MXD “CURRENT” and Absolute path different behavior

I am using the following code (ArcGIS 10.3.1) to produce a batch of PDFs: mxd = 'CURRENT' cid = 2 rf = ur'D:\Δοκιμές\Tester' gdb = rf+'\\Ant.gdb' arcpy.env.workspace = gdb mxd = arcpy.mapping....
-2
votes
1answer
66 views

Paths and Python question [closed]

I have a problem because I want to store some paths from images by using python 2.7 in Windows 10. Path are like this: var1='C:/my/store/path' and inside the final folder, where in my example is ...
3
votes
2answers
637 views

Retrieving Full Path to Feature Class in ArcMap

I often need the full path to various feature classes so that I may insert them into a Python script. I have been using ArcCatalog for this by copying the path in the Location bar for a given feature ...
1
vote
1answer
281 views

Standalone Python/PyQGIS path setup

I'm trying to run a script using python. The script requires some qgis functionality. I believe I have set the path, pythonpath, etc. correctly. The OS is Windows 7 64-bit with qgis located at the non-...
7
votes
3answers
480 views

Full Network Paths In QGIS

Is it possible to use full network paths in QGIS rather than relative paths or drive paths? I use a remote desktop connection to log in to a machine where some QGIS work is done, however when ting to ...
1
vote
0answers
396 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 ...
1
vote
0answers
175 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. ...
1
vote
0answers
537 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 ...
1
vote
0answers
154 views

Iterating rasters using parse path in complex model in ModelBuilder? [closed]

I have a complex model (with many tools/steps chained - named from "a" to "p") and I need iterate two input rasters (p1.img and p2.img), so that all the model outputs returned for the two input files. ...
1
vote
1answer
148 views

Customizing / Editing Dynamic Text for <path> in ArcGIS Desktop?

To encourage GIS users here to adhere more rigidly to the existing folder architecture as well as demonstrate the functionality of dynamic text, I'm trying to update one of our templates so that I can ...
4
votes
2answers
619 views

Using timestamp in text format published parameter of FME?

I have an FME workspace (FME 2015.1) that creates an output file, let's say result.xslx. What I would like to do is to build up the output file name from various parameters, e.g. the project name and ...
1
vote
0answers
186 views

Setting output name to be same as input name in ModelBuilder using Parse Path? [closed]

Can you comment on my model as to why the output name is totally different from input name?
1
vote
0answers
672 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 ...
0
votes
1answer
2k views

absolute paths don't work for my leaflet custom icons

I've made an example leaflet project using a custom icon loading an image from the internet: https://jsfiddle.net/dvdjsph/v30vL109/ As soon as I try to load something from my hard drive, however, ...
8
votes
1answer
2k 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 ...
4
votes
1answer
1k 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 ...
3
votes
1answer
478 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 ...