Questions tagged [geoprocessing]

Geoprocessing is a GIS operation used to manipulate GIS data. If you are performing geoprocessing using ArcGIS then the tag Geoprocessing-framework is specific to that software and should be used instead.

Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

Read GeoTIFF in F#

I am trying to teach myself F# and want to read and write GeoTIFFs. I found this library: https://github.com/domasin/Fsharp.Gdal But did not find any information on how to install it. Are there any ...
2
votes
2answers
30 views

Extracting raster values to points using ArcMap

I am working on a project to determine the coastal vulnerability. I have different variables like elevation, LULC, bathymetry, etc. of the entire study area. I am stuck in the middle of my analysis. ...
0
votes
1answer
239 views

What is the difference between "Random Forest" and "Forest-based Classification and Regression" in ArcGIS Pro?

ArcGIS Pro (2.6.0) has tools to train Random Forest (named Random Trees in ArcGIS) and Support Vector Machine. Afterwards, the tool named "Classify Raster" contains the algorithms to apply ...
73
votes
12answers
14k views

Alternatives to using Arcpy

I seem to use ESRI's Arcpy site package for virtually all of my python geoprocessing. To ESRI's credit, these are an incredible suite of tools that can help accomplish a great deal. However, I would ...
2
votes
0answers
25 views

Compare two linear layers with geoprocessing tools

I'd like to know how can i have in output two layers, composed by one of the two layers in input, comparing the geometry and attributes of the 2 input layers (test_1 and test_2) using geoprocessing ...
2
votes
1answer
155 views

Batch processing GPX tracks

I have a manual QGIS system that starts when I load a GPX file into QGIS and perform a number of actions on it. It all works perfectly. I want to automate this process using the QGIS Graphical Modeler,...
0
votes
1answer
44 views

Capacitated Vehicle Routing Problem with Categories

My problem resembles the capacitated vehicle routing problem but there is an aspect to it to which I've been unable to find a solution in tools like ESRI's Network Analyst. The problem is to find the ...
1
vote
2answers
72 views

"Difference failed" error when using difference tool with point layers as input and overlay in QGIS

Is it possible in QGIS 3.16 to use the geoprocessing tool "Difference" with point layers as input and overlay? The documentation seems to indicate that it is. However, when I do a test with ...
3
votes
1answer
153 views

Intersecting large shapefiles onto grid in QGIS

I have 21 separate shapefiles containing data for Ireland as various polygons on QGIS 3.10. I'm trying to intersect each shapefile onto a 250m² grid of Ireland so that I'll have 21 separate shapefiles ...
0
votes
0answers
63 views

Using spatial buffer to "declutter" and retain point data in ArcMap

I have a shapefile of point data (lat/lon points) that I need to "declutter" a bit, based on a 15 km spatial buffer around each point. The image below shows what the data points look like, ...
1
vote
2answers
181 views

How to average multiple GeoTIFF images?

To be short: how can I average two (or more) GeoTIFF images? Explaining: I'm working with coastal water turbidity, using NASA Worldview images. I can easily visualize them in Jupyter Lab (Windows 10) ...
4
votes
1answer
87 views

How to choose limited number of points to represent a point grid

I need to choose a few points to represent the grid below, e.g: 8 points in the grid below. This point need to be geographic distributed This points needs to be geographic distributed. Lets see a bad ...
1
vote
1answer
1k views

Copy Features tool run after Make XY Event Layer on CSV file fails to complete?

Using the Make XY Event Layer tool I converted a table to a layer. I am trying to convert the newly created layer to a feature class in my file geodatabase. I have been able to do this in ...
6
votes
3answers
2k views

Python Script to convert a mass of KMLs to a single fGDB

I have a mass of KML files, approx 350+ that I need in a single fGDB. I lifted a string of code from ESRI help to attempt to do this - I got it working to the point of creating all the individual ...
0
votes
1answer
59 views

Add map parts to existing map

I have 4 scanned maps in geotiff format and need to create a single map using OkMap with the 4 geotiff files. How can I add adicional map files to a single map using OkMap?
3
votes
3answers
2k views

GEOS geoprocessing error when using difference tool in QGIS

I am using QGIS version 3.14.0. I have about 20 polygon .shp-files with overlaps between files. All are in the same projection. I've been using the difference tool to remove the overlaps and then ...
0
votes
1answer
139 views

Saving as/export results of GeoVisual Search (Descartes Labs)

I am working with satellite imagery processing. I'm using this service to search for some objects in the US: https://search.descarteslabs.com Can I export about 1k results, for example, to KML or ...
2
votes
0answers
45 views

Geometry Object geoprecessing fails

Theoretically, ArcPy geometry objects can be used as inputs and / or outputs in geoprocessing tools, just pass arcpy.Geometry() as an argument for outputs. However, I have come across several tools (...
1
vote
1answer
91 views

NDVI calculation

I am a newbie in PyQGIS. I start to write my own simple code to automatically calculate NDVI from Landsat 5. Here is my code: from PyQt5.QtGui import * from qgis.analysis import * land_3 = 'D:\...
0
votes
1answer
85 views

Sampling raster data and classifying the pixels

I'm completely new to python usage in GIS. I'm working with Sentinel images and want to sample the pixels of raster file only in the places which are represented by the geometry of the truth data ...
0
votes
0answers
12 views

Unexpected Result after Terrain Preprocesing using ArcGIS Pro

I am using ArcGIS Pro, and I didn't expect that with the use of Arc Hydro tools for dendritic terrain processing, the drainage point and line symbols are oversized and I can't even customize them to ...
6
votes
1answer
3k views

How to calculate the area between contour lines on a DEM with QGIS 1.8?

Does anyone know how to calculate the area in km² for each altitudinal band (between 100 and 200, 200 and 300...) based on a DEM? I added the contour lines with a distance of 100 metres but could not ...
14
votes
3answers
9k views

Enabling multithreaded processing in QGIS?

I have found multiple links that appear to say that this now exists in QGIS 2.2, but it appears that it's only using one core to full capacity. This is running on Ubuntu 14.04 The current process is ...
1
vote
1answer
64 views

ArcPy using SearchCursor with Geoprocessing to perform operations on each row

I have a shapefile, that has lots of individual rows. My goal is simple, to export each row as a raster. I am trying to use SearchCursor, to select each row and perform a feature to raster conversion. ...
1
vote
1answer
69 views

How to create a straight line from start and end vertices of a line using Qgis?

I want to create a straight line from two vertices of a line which are not straight, but I should be getting a straight line joining the start and end vertices of this curve line. I want to attain ...
3
votes
1answer
52 views

Viewing entire Python script of process ( input settings and environment settings) in ArcMap

When you "copy as python snippet" from the results of a process, the script contains all of the input settings but does not contain the environment settings. Why is this? Is it possible to ...
6
votes
3answers
4k views

Splitting lines by polygons in QGIS

I have a river network (lines) and a .shp with states (polygon). I would like to split the lines at the state boundaries i.e. split lines by polygon boundaries. Is there a geoprocessing tool to do ...
0
votes
1answer
667 views

Reshaping automatic polygon edge based on reference layer using ArcGIS for Desktop?

i have two polygon layer, one for Region administrative"Reference layer", and the second is administrative border is governorates. Governorates border is not identical with Region border. So there is ...
1
vote
1answer
284 views

Terrain Profile starts a selected polyline-based graph in different directions

I´m trying to create some profile graphs with Terrain Profile in QGIS 2.10 Pisa, using LCP´s between a site and seven lithic deposits as polylines. When I select some of these lines, the graph starts ...
1
vote
0answers
16 views

Removing the underlying polygons to only get the top polygon

I'm trying to do a suitability analysis in ArcGIS Pro but I've seem to run into a problem with overlaying polygons that shouldn't be overlaying. I put all the data into a weighted sum and then divided ...
1
vote
1answer
25 views

Orfeo Toolbox output rasters are 300x larger than inputs of the same size

I am trying to use Orfeo Toolbox CLI to do some processing, e.g. Smoothing: otbcli_Smoothing -in path/to/mosaic.tif -out output/smoothing.tif uint8 -type mean For now, the input, mosaic.tif, is just ...
0
votes
0answers
14 views

Archiving activation in ArcGIS Web AppBuilder

When I allow archiving, ArcGIS also keeps old records of the data. When I publish this application, can I deactivate the current record of any detail and activate the old record? For example; I have ...
1
vote
2answers
31 views

Converting a slightly warped polygon lattice with irregular edges to a raster

I have a problem which has been frustrating me for a while. I have a lattice of polygons which is slightly warped due to unknown CRS transformations & distortions, enough so that the side lengths ...
0
votes
0answers
18 views

Using Apply Symbology From Layer feature when source layer's symbology is based on field built using custom expression

I cannot find how to set the "Source field" in the "Apply Symbology From Layer" tool when the layer I'm trying to copy from has its symbology based on a custom field. Here are some ...
0
votes
0answers
51 views

Process large ROI in GEE

I am calculating the VCI for Europe, but the ROI is too large for a single run in GEE. How can I divide it and process it in chunks so that when downloaded they fit into a single image/composite? var ...
2
votes
1answer
28 views

Merging features with the same values within feature class

I have a feature class of land parcels that contain "ownername" and "land_use_code" fields. Some of these features have the same values despite being two different parcels in ...
1
vote
1answer
207 views

Creating geopackage layers as output with QGIS batch processing autofill option

Is it possible to use the Calculate by Expression tool to output geopackage layers. For example, with the batch option for the polygon to line function. With the following expressions I can create ...
12
votes
3answers
676 views

File organization for sharing ArcGIS python code

What is the best organizational structure for sharing ArcGIS python code and geoprocessing tools? Or even, are sharing code and sharing tools separate questions? Esri has a Methods for distributing ...
1
vote
1answer
3k views

What might cause "ERROR 000728: Field <fieldName> does not exist within table" in this code?

I have seen ERROR 000728 several times and I could never figure out why it happens. Here is a snippet from my code: str_Dissolve = arcpy.Dissolve_management(Intersect_str, "in_memory/str_Dissolve",...
47
votes
9answers
21k views

Selecting features that do NOT intersect in PostGIS

Using PostGIS, I just want to select points that fall outside of polygons. Ultimately this is the inverse of the ST_Intersects, as far as I can see it. Example: I have a taxlot layer and a address ...
0
votes
0answers
18 views

Geoprocessing Results window does not open, as well as bottom right pop-up window with report link (eg: ANN .html file)

Suddenly, totally out of the blue, the Geoprocessing Results window doesn't open anymore (ArcMap 10.8. I click on the drop-down menu and nothing happens. The pop-up mini window which appears at the ...
0
votes
0answers
27 views

QGIS: vector union produces a single feature only, same as the input layer

I have two layers in QGIS 3.16, a MultiPolygon layer with a single feature, the area of Papua New Guinea a MultiLineString layer of OpenStreetMap roads, clipped to the extent of the first layer ...
4
votes
2answers
1k views

Is there any open-source building squaring tool?

I have a set of detached building polygons and I can merge them together in order to form a single building polygon. However, when merged output polygon may not preserve the orthogonality of building ...
3
votes
4answers
23k views

MultiLineString to separate individual lines using Python with GDAL/OGR, Fiona, Shapely

There are lots of MultiLineString features in a polyline shapefile. The problem is to split these lines into separate individual lines. There is a similar question with PostGIS, but I need to code in ...
3
votes
2answers
2k views

Finding distance of consecutive points in a GeoPandas data frame

I am trying to find the distance between every consecutive points in a GeoPandas dataframe. Let's say we have the following data frame: import pandas as pd import geopandas data=pd.DataFrame() data['...
4
votes
2answers
9k views

Get min/max lat and long values from geodataframe

I am new to Geopandas and I want the min and max values of both latitude and longitude for a single record. The Geodataframe is structured as so (not sure it matters): STATEFP STATENS GEOID ...
35
votes
4answers
41k views

Python Script examples for geoprocessing shapefiles without using arcpy

I would like to use a Python script that is not based on arcpy to do things like query a shapefile by attributes, create new layer from selection, and calculate areas of a polygon and convert ...
7
votes
3answers
8k views

Getting topology or out of memory errors with large dataset intersects and spatial joins in ArcMap

I receive a topology error notification when intersecting a point dataset (with ~5 million points), with a polygon dataset created by buffering those points by a half mile. The goal is to create a ...
1
vote
1answer
19 views

Creating global Geoprocessor object for ArcObjects application?

I have an application that does many operations including some Geoprocessor tasks. Should I create a single Geoprocessor() object for the lifetime of the application or should I create a new one each ...
0
votes
1answer
27 views

Spatial join (points in polygon) but also including the "observation count" of each point in the join_count field

I have point layers of bird observations, and I want to symbolize certain areas by the number of bird observations in each polygon. Each point in the point layer has a "observation count" field ...

1
2 3 4 5
21