We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [batch]

To group or to do something in a group as opposed to doing it individually

Filter by
Sorted by
Tagged with
2
votes
3answers
705 views

OSGeo4W GDAL Polygonize Batch Convert?

I'm trying to use GDAL polygonize to run a batch convert but I cannot for the life of my figure out a way to get it to read a text file as input that contains all of the commands. Do you know the ...
0
votes
2answers
265 views

Delete zero values for Lat-Long columns on a batch of files

I have a script to delete 0 values from a shapefile attribute table which I have converted into a csv. setwd("C:/Users/Florian/Documents/R/Evan") data = read.csv("AF_486_2005_culled_geo_Events_shp....
0
votes
1answer
112 views

ModelBuilder names not changing with batch operation?

I am using ModelBuilder for ArcMap. I specify the names of my temp files like so: %scratchworkspace2%\Ofst_B_%LetterId%_%Sea Level Rise Inches%.img "LetterID" is a string parameter, "Sea Level ...
2
votes
0answers
276 views

Batch raster calculation of slope and aspect in SAGA [closed]

I am relatively new to the SAGA software, I have only used it for small amouns of data, and for basic calculations. My data is obtained by mapping certain areas in GoogleEarth, then, overlaying the ...
0
votes
1answer
222 views

Batch Clipping using ArcPy

I am trying to perform a batch clip using arcpy. I cannot seem to get the script to save where I want them to, with a specific name. I remove the "Ohio_" and rename them with "Summit_" what is in the ...
1
vote
0answers
48 views

Batching model output problem in Arcgis 10.2!

I built a simple model for projecting raster from one coordinate system to another and it works fine but when i try to batch it, so i can convert more then one raster it generates only the first ...
0
votes
1answer
111 views

Batch clip multiple rasters error arcpy

I am new to arcpy. I am attempting to batch clip over 350 rasters to one the extent of one mask raster. I tried it in model builder and it wouldn't run so now I am trying it in arcpy but I continue ...
1
vote
1answer
350 views

Adding multiple model outputs to merge tool in ModelBuilder?

I am using ModelBuilder to batch project multiple (site) specific geodatabases' contents then "Merge" like components into a single geodatabase. I have up to eight FCs for each site (e.g. parcels, ...
2
votes
1answer
412 views

Directing output to a mirrored file tree. ArcGIS, Python

I am attempting to modify the Batch Project script to: a) read from a text file of file names located on our server b) build a mirror of the paths to those files on my local machine c) output to my ...
3
votes
2answers
761 views

Using Batch Project Script to read from text file as Input to ArcPy?

I was wondering how I would modify the code of the Batch Project script shown below, to read from a text file of shapefile names as input. A sample of the textfile is shown under the code: #Import ...
3
votes
1answer
182 views

Compressing raster using PyQGIS?

I have the following code which batch saves rasters in qgis using the python terminal: myDir = 'd:/output/' layers = iface.legendInterface().layers() pipe = QgsRasterPipe() for layer in layers: ...
0
votes
0answers
82 views

Skipping outputs from the QGIS Batch Processing?

I am doing a lot of processing in batch with the r.sun model from GRASS 7.2.1 in QGIS 2.18.9. I am using the r.sun model with intention to reuse for further raster calculations the Irradiation raster ...
3
votes
1answer
1k views

Batch csv import, styling and image export from QGIS

I have a folder of several hundred csv files with point data. I need to import each into QGIS as a layer, apply the same style to each, and then render a map (same extents) for each (these will be ...
0
votes
2answers
688 views

Batch select by attribute and batch export output

I have ArcMap and a shapefile attribute table with lots of columns. Each column contains values between -1 and 1. For each column, I would like to select the values greater than 0 and then export a ...
0
votes
1answer
160 views

Want to insert a new field to CSV with filename as attribute [closed]

I have thousands of CSV files with the approximately the following structure: csv_20160601T004301Z: name,x,y, name1,23,66 name2,23,67 csv_20160601T005001Z: name,x,y, name1,23,66 name2,23,67 etc. ...
0
votes
1answer
1k views

Batch convert tab files to shapefiles

I've seen several questions asking how to convert .tab files to .shp files in QGIS, MapInfo etc, which is what I'd like to do. However I have several files and I was wondering if there was a tool ...
5
votes
2answers
925 views

Batch save multiple rasters in QGIS

So I am trying to batch save 100's of styled rasters. I have managed to save a single raster in the python console using the following code: layer = iface.activeLayer() extent = layer.extent() width,...
4
votes
0answers
2k views

Batch Convert Folder of GPX to SHP in QGIS [duplicate]

I have a few GPX files (up to 35 Mb, with a few tracks each one) that I want to convert to SHP. QGis is faster and easiest, than ArcGIS to convert GPX tracks to SHP, but is there a way to batch ...
4
votes
1answer
153 views

ModelBuilder exports the same files when running in batch mode

I've made a simple model in ModelBuilder, ArcGIS 10.1. The model take a file in gdb, select two consecutive years, and calculate the near distances between the actual and previous year. As the near ...
4
votes
1answer
714 views

Programmatically naming outputs from the QGIS Modeler?

I am attempting my first use of the modeler from the Graphical Modeler from the Processing menu in QGIS (2.18.3). I made a simple model for using meanshift segmentation. It just has a raster input and ...
2
votes
3answers
1k views

Creating a Canopy Height Model (CHM) image from a LAS file on Mac?

Main question: Is there a way of creating a Canopy Height Model from a LAS file using Mac (not wine etc)? I also would like to batch process a lot of LAS files the same way. I should mention that I ...
0
votes
0answers
41 views

Batch process doesn't work with multiple files

I'm attempting to determine land surface temperature from Landsat 5 in ArcMap 10.2.2. I created a model to generate land surface temperature. The model works correctly when I run any single landsat ...
2
votes
1answer
326 views

Batch JSON to Features help

I have a folder on my local drive with 1,500+ JSON files (lines) that I need converted to shapefiles. (JSON to feature tool in ArcGIS works great on a single JSON file) I've tried getting a batch ...
2
votes
0answers
113 views

QGIS Automatically Generate Atlas for each Column on the Attribute Table

I want to generate graduated maps in QGIS (using the same style) for each of the columns on the attribute table. Every columns contains the data of one year. It seems that the Atlas only ...
1
vote
2answers
4k views

Getting print statements in Python script to print through a batch file

I'm starting to learn Python and batch files. I have a Python script which selects data by location and exports the selection to a new feature class. The script runs just fine - included in this ...
3
votes
1answer
953 views

Batch flip direction of selected lines in ArcGIS 10.3

Is there a way to flip the direction of all selected lines at once?
0
votes
1answer
105 views

Bulk Raster combining in MapInfo?

I am running mapinfo 15.2 (64bit). I have downloaded multiple Landsat 8 scenes with multispectral data. I can combine the bands of a single scene into a single mrr file using the Raster combine ...
2
votes
1answer
438 views

Batch processing Surface volume calculation in ArcMap?

I'm trying to collect the 2D area, 3D area and volume of a given basin at 0.5 meter increment in plane height, but since I want to graph the relationship between plane height and the areas and volume, ...
0
votes
1answer
153 views

Script to batch export pdf causing incorrect inset map [closed]

I have written a python script to batch export several pdfs from a single mxd, switching layers on/off and naming the output pdf based on values supplied by the user in a csv file. We import the ...
1
vote
0answers
53 views

Function “Extract by Mask” in batch mode - just one resulting layer

I would like to clip 25 raster layers with self-made polygon using "Extract by Mask" function. The problem is that I am still receiving just one processed layer, instead of 25 processed layers. ...
1
vote
1answer
150 views

Batch Processing single band raster to create multi spectral images using arcpy.CompositeBands_management?

I am kind of new to python but I am trying to batch process single band raster images to create multispectral imageries using arcpy Composite Bands. I have 24 single band rasters (Bands 1 - 3 ) all ...
1
vote
0answers
537 views

GDAL_Translate - ERROR 6: Too many command options - Batch Processing [duplicate]

I am trying to batch convert a set of JPEGs into ASCII text files. Below is the code I am running (I added the "..." for privacy, it does not actually appear in the code). gdal_translate -b 1 -of ...
4
votes
0answers
289 views

Launch Atlas composer generation from command line

I am using QGIS 2.2 and have configured a composer with atlas generation. I would like to launch this atlas generation every day. The idea is to write a batch and launch it with a cron. Is it ...
1
vote
0answers
199 views

How to display ALL raster output from batch processing in ArcGIS 10.4

I am batch converting ASCII files into ArcGIS geodatabase using a simple ASCII to raster model. I was using ArcGIS 10.3.1 and everything was running great, all my surfaces/files were showing up at the ...
1
vote
3answers
9k views

Batch convert jpeg2000 to GeoTIFF?

I need to convert approximately 3500 jpeg2000 4-band NAIP images to GeoTiff format without mosaicing. I have access to ENVI, ERDAS and Arc 10--is there an efficient way to batch convert these files ...
3
votes
0answers
87 views

v.clean batch process within QGIS 2.10 (PISA)

I get an error message when I try to create a batch for v.clean operation.. Algorithm v.clean - Toolset for cleaning topology of vector map. starting... local variable 'filename' referenced before ...
1
vote
0answers
22 views

Substitute different equation parameters (e.g. slope) when batch processing raster calculator in ArcGIS Desktop?

I have 15 multiband rasters for a total of 45 total single-bands (5 dates x 3 sensors x 3 bands per sensor) for which I need to apply a unique calibration function in the form Y=A*[exp(B*X)] to for ...
1
vote
0answers
241 views

Using osx terminal ogr2ogr to batch convert .json to .kml?

using osx El Capitan terminal This works fine one file at a time to convert .json to .kml ogr2ogr -f "KML" xxx.kml xxx.json I would like to do all files at once I have tried for %f in (*.json) ...
1
vote
0answers
545 views

OpenLayers 3: Dynamically or batch add layers from user folder

I would like to dynamically load all layers (KML, for instance) from a user's folder to a group map. This likely requires an iteration that searches the folder and adds the layers to the users' map. ...
7
votes
1answer
604 views

How to batch label features using PyQGIS?

I am writing a python script to label features (lines). However I can't figure out: how to get the script to turn on the buffer how to get the script to apply the changes. When I currently run it, ...
2
votes
2answers
488 views

Batch copy a geodatabase

I'm trying to write a batch command (Windows 10) that will copy an ArcGIS geodatabase to a new folder. I know this may seem like bad practice but it is part of a much larger project creation process ...
1
vote
0answers
135 views

Batch Intersect Not Working

I'm trying to run a batch job for the Intersect(Analysis) tool in ArcMap 10.3, but when I do for 20 intersects, it brings back this error: ERROR 000210: Cannot create output. However, when I do an ...
5
votes
4answers
5k views

Extending batch of lines to another object using ArcGIS Desktop?

Is there any simple tool which allows to extend all lines in .shp to another .shp? To clarify, I do have river.shp and sections.shp on the river. I'd like to produce buffer from river, extend lines ...
8
votes
1answer
2k views

nested iterator, 2 iterations in one model, collect values, cell statistics, batch processing dialogue box

(ArcGIS10, SP2, ArcInfo) This is my model, and it works perfectly, but... I do have a large amount of data to process. The interim output files (from raster calculator, collect value) would reach ...
2
votes
1answer
89 views

Automatically batch flipping and saving raster dataset under different name using ModelBuilder?

I have 168 datasets, and I clearly cannot flip each one. I've tried batch processing but it is still time-consuming because I have to manually assign dataset and I/O path. I need something to do this ...
1
vote
0answers
31 views

Batch Flip Raster [closed]

I was wondering if anyone could give me some insight as to how to batch flip a raster data set in arcpy? I know the code and syntax for flipping a single raster but am having trouble figuring out how ...
1
vote
0answers
376 views

Spatial Join for Batch Processing

I want to run the spatial join tool to join hundreds of shapefiles from two different folders. For example one folder contains point shapefiles with names d1.1,d1.2,d1.3 . . . . the other folder ...
1
vote
0answers
54 views

batch filter (r.mfilter) raster time series, keep original file name

I want to apply a filter (r.mfilter) to a raster time series while keeping the original filenames. For a similar problem when batch converting file formats in QGIS, I entered : - as file name when ...
1
vote
1answer
4k views

Batch attribute table export

How can I export multiple raster attribute tables at once, using the batch grid control tool mentioned here? Batch Export feature attribute to ASCII in ArcGIS for Desktop? I can't seem to find how ...
1
vote
0answers
574 views

QGIS: Python script to batch clip vector layers and set their CRS

Here below the sript I'm trying to run. clip_zone is a polygon and in my input_folder, I have a point layer and polyline layer. #Tell Python where you will get processing from sys.path.append('C:\...