All Questions
3,216 questions
0
votes
1
answer
90
views
Trouble getting SAGA to work in QGIS 3.4 for Mac
I have been trying to get the SAGA toolbox to work in QGIS 3.4 but it does not show up. I have downloaded the SAGA Next Gen plugin for QGIS, and I have also downloaded SAGA from SourceForge and set ...
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 ...
6
votes
1
answer
96
views
Chaging default path for saving output layouts in QGIS
We work on a large number of projects and the file structure is normally the same so repeatedly browsing for the right location to save plans has issues. I would like to be able to change the default ...
4
votes
1
answer
311
views
"Could not load source layer for INPUT" error when reprojecting flt-file with PyQGIS
The data I have are ESRI Floating Point Data (so they are a raster type). The path I provided is a fake path, so that I don't show my real system paths.
I know that my code works with vector data, as ...
1
vote
2
answers
223
views
Referenced ArcGIS Pro 3.1 toolbox renamed and empty toolbox created in its place
GIS program manager here. I am experiencing a serious problem. It occurs when starting new projects in ArcGIS Pro from a template which includes our "program toolbox" (aka Default.tbx) ...
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 ...
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 ...
-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 ...
0
votes
1
answer
88
views
Extracting points on linestring based on time since from startpoint (sf)
I have a series of nodes connected by paths currently imported in sf. Each node has a date-time associated with it. For example:
library(sf)
library(ggplot2)
path <- st_as_sf(data.frame(X = c(145,...
4
votes
1
answer
405
views
Setting relative path for PDF linking to shapefile in QGIS
I am trying to link a PDF for a shapefile, but I'm unable to set a relative path. How can I set a relative path in QGIS? I am only able to open the PDF in my PC, whereas when share this file to others,...
2
votes
2
answers
206
views
Getting the file path of layer based on layer name using PyQGIS [closed]
So this is my folder:
It contains GeoPackages with the format yyyymmdd_progress.gpkg
I want to take the latest GeoPackage based on the latest GeoPackage created and stored in the folder, then use it ...
2
votes
1
answer
231
views
How to set save location to 'CURRENT' GDB in ArcGIS Pro Tasks
I'm new to authoring tasks, and now that I'm attempting to use my task in a second project, the saves are being directed to the GDB I was in when I created the Task.
How can I dynamically assign save ...
0
votes
1
answer
916
views
Give a path of Google Drive to which Google Earth Engine should export the file to
My question is similar to this one, with the only difference that:
the question in the link above is 3 years old
I have one main Folder, inside that folder, I have 11 subfolders, and inside each of ...
5
votes
2
answers
899
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 ...
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 ...
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(),...
0
votes
0
answers
265
views
An error occures when I try to add a basemap ''the underlying connection was closed an unexpected error occurred on a send''
When I try to add a basemap in ArcMap this massage appears to me
The underlying connection was closed an unexpected error occurred on a send
I use ArcMap 10.1
So, what should I do to solve this ...
2
votes
2
answers
666
views
In QGIS/QField, how to maintain photo attachments in a sister directory to a project? (Or, possibly, why this is a Bad Idea)
In order to not have to copy all the photos for my project every time I synchronise (which is beginning to take a significant amount of time), I would like to keep them in a separate folder, perhaps ...
0
votes
0
answers
35
views
How do I fill an area with rectangles? [duplicate]
So I have a grid of rectangles and I need them to fill a certain area. How do I make those rectangular polygons to follow the borders of that area, and fill it up? Basically I would like to get a ...
1
vote
2
answers
487
views
Verify feature class path in file geodatabase using GDAL with Python
Suppose I have a geodatabase in C:/MyDir/MyGDB.gdb. I am working outside of the Esri/ArcPy environment, primarily using gdal and os libraries. I want to retrieve and verify the file path of a feature ...
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 (...
0
votes
1
answer
503
views
Reading multiple rasters in folder
the rasters in that folder has dates in the naming (for eg. T43RGP_20220330T052639_NDVI) and I want the code to read the rasters one by one in the increasing order of the date.
Help me complete this ...
0
votes
0
answers
18
views
Scheduled Python script arcpy.SpatialJoin_analysis line of code resumes only when I log into the machine
I have a python script (scheduled by windows scheduler) on a desktop I remote into.
all lines of code execute without me being remoted into the machine except when it gets to this line of code below ...
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 ...
0
votes
2
answers
193
views
Select MAX values within records with the same name
I have some polygons with same name and different area.
I want to select each polygon by name (FARM_ID field) with maximum area.
For example, I want to select polygons "SCAPD04-1" with ...
0
votes
1
answer
230
views
Convert some points to one polygon
I have a shapefile that contains several points with ID numbers (Point3 field) and I want to convert these points to one polygon. Some points are selected by Farm_ID field and there are 700 polygons ...
0
votes
1
answer
367
views
How to access some Server's folder in QGIS
Somehow access some file from server in QGIS is so easy just drop in your QGIS project. But some case you need access your server from QGIS "search directory" then your server is did not ...
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 ...
0
votes
1
answer
342
views
Merging multiple line feature into single feature using ArcMap [duplicate]
How do I merge multiple line feature into a single feature automatically using ArcMap?
Can only be selected and combined. It doesn't dissolve.
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 ...
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 ...
1
vote
0
answers
225
views
Creating TIN using ArcPy
I am attempting to creating a TIN using arcPy. When I try, I receive an error saying "The value is not a member of . Failed to execute (CreateTin)." Is there any solution to fix this? I am ...
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:
...
1
vote
1
answer
125
views
GDAL Clip raster by mask layer can't see files on external drive
So I am using GDAL Clip raster by mask area. I tried clipping a temporary raster to mask area and started getting errors that an error had occurred creating the output file. It seems that the issue ...
1
vote
2
answers
7k
views
Python error handling opening a shapefile with fiona
I've written a python script where I read a bunch of files trying to catch various errors (FileNotFound, Import), for example
try:
df = pd.read_excel(os.path.join(path_to_data, fname_data))
except ...
1
vote
1
answer
58
views
FME linux path - cannot locate VRT
I am trying to transfer an FMW (FME workspace) script, using FME workbench 2020.2, from windows to linux (Redhat).
In the FMW-script there are several published parameters. Among them there are 2 ...
3
votes
1
answer
562
views
Add features to non-public feature layer using REST API
I have a feature layer that I query from a python script using the ARCGIS REST API. I also call the Geoprocessing service to create buffers, etc. all using a token generated via my [portal_root]/...
5
votes
1
answer
796
views
Using special character (delta) in label text in ArcMap
I add a label text in ArcMap, but I would like that at the beginning of the text to show the symbol Delta as a Greek alphabet (Δ). I tried the unicode Python code (u+0394) but it didn't work.
I would ...
2
votes
1
answer
236
views
Using ListFields in ArcPy with ArcMap
I am having trouble getting the List Fields function to work. I need to search through a number of shapefiles located in different folders to list the fieldnames so I can see what are common naming ...
3
votes
1
answer
4k
views
QGIS 3.16.16 and Sharepoint
My company is transferring to using Sharepoint. Currently we are using a driver system.
We think we might run into the problem that paths to sources we use will be linked to our personal account of ...
1
vote
1
answer
677
views
Why do I keep having to restore layer path names in QGIS?
Quite often I am having to restore the layer path names for many of my QGIS projects. The projects and the relevant shapefiles are all stored in a shared network that allows my colleagues to use and ...
0
votes
1
answer
381
views
Disperse markers with multiple attributes?
I am familiar with using the disperse markers tool to disperse overlapping points in ArcMap (v. 10.7.1), but for some reason, if the symbology of my points has multiple attributes (e.g. coloured by ...
1
vote
1
answer
842
views
Importing feature class from ArcGIS to SQL Server using database connection gives ERROR 000210
I am trying to import one point feature table "Point" to the SQL Server using the import option by right-clicking on the database connection folder under catalog. The new file name for the ...
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 ...
1
vote
0
answers
98
views
Getting .tiff files from ArcMap
I'm new to ArcGIS.
I was given a map document that is composed of many .tiff files in .lyr format (it's only 4kb in size, so .tiff files are stored on some external server). Is it possible to export ...
2
votes
1
answer
444
views
User database storage location (filename / path) in QGIS/Windows
I am using QGIS 3.16 and Windows 10.
I have some custom CRS (cCRS). Now, I'd like to work on my QGIS Projects at another PC and want to move my cCRS there.
According to the QGIS manual the cCRS are ...
1
vote
1
answer
175
views
Creating segments on a road using ArcGIS
How can I create 1 KM segments along the road as indicated in the attached picture using ArcGIS? Something like buffer but like segments and of course the road in the middle.
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 ...
0
votes
2
answers
665
views
Removing NoData values from image in ArcMap
I would like to remove the No Data values of my image in ArcMap. The image has one band. I already tried different ways to do that, but at the end, the No Data values are still in black color. At ...
2
votes
2
answers
933
views
Adding multiple layers from file list or command line in QGIS
Is there a way to add multiple layers to QGIS at once from a list of paths?
I have about 150 rasters to investigate that intersect an area of interest. Their full path is collected in a text file, one ...