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

Questions tagged [batch]

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

Filter by
Sorted by
Tagged with
33
votes
4answers
9k views

Bulk load multiple shapefiles into PostGIS

I've got over a hundred data layers in shapefile format that I want to upload into a PostGIS database. They are all in the same projection, but represent different data layers so they do not have the ...
15
votes
1answer
5k views

Batch geocoding in R

I need to find a package in R or source code in R that performs batch geocoding using Bing, Yahoo, OpenStreetmap. Do you have any suggestions?
12
votes
5answers
12k views

Batch Clipping in ArcGIS Desktop using ArcPy?

I've come across a few similar questions for older versions of ArcGIS, but haven't found a suitable answer for ArcGIS 10. I have two polygon shapefiles that cover a large area (e.g. an entire State/...
12
votes
3answers
5k views

Need to Quickly Add Multiple Layers From Multiple Folders To QGIS Project

I have downloaded several imagery Zip files (content of each is jp2, jpg, jpw, xml, htm, and .dbf, .prj, .sbn, .sbx, .shp, .shx) and would like to quickly add this imagery to my working project in ...
11
votes
6answers
19k views

Batch convert GeoTIFF's to KMZ files

I have about 600 GeoTIFF map files, each about 140 mb in size that I'd like to convert to KMZ files so people can download them and use them with Garmin GPS units, Google Earth, etc. Anyone know an ...
10
votes
2answers
9k views

Changing color of raster images based on their data values - gdal [duplicate]

Let's say I have 1 band raster images with Gray Color Interpretation and I want to change their color based on their data values. Data values -1, will be Blue, -0.5 will be Light Blue, 0 will be ...
10
votes
4answers
6k views

Renaming Shapefiles in QGIS?

I have a huge list of layers in a project that are named in a foreign language. I want to translate and add the English title to the name. When I right click on a layer and choose Properties -> ...
10
votes
2answers
810 views

What's the batched Refactor Fields tool “field mapping” syntax in QGIS?

In QGIS, there is this nice tool "Refactor Fields" in the Processing Toolbox : Using it on a single layer is fairly straightforward. However, when you plan on using it in a batch mode, one can see ...
9
votes
1answer
4k views

Batch Georeferencing in ArcMap/ArcPy?

I have about 50 pdf maps that I would like to batch georeference and/or georectify. I've saved one as a jpg and georeferenced it manually and would like to automate the rest which are in the same ...
9
votes
5answers
14k views

Batch exporting MXD to PDF files using ArcGIS Desktop?

Nico Burgerhart made a fantastic script called "Batch export MXD to PDF" back in 2008. http://arcscripts.esri.com/details.asp?dbid=14872 Any ideas how to implement it in ArcGIS 10? Something ...
8
votes
3answers
8k views

Exporting several files at same time in QGIS?

I have a lot of .TAB files open in QGIS and I want to save them to .SHP so I can work with them in ArcMap. Is there a way to save/export all these files at the same time or do I really have to "save ...
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 ...
7
votes
2answers
11k views

Batch Clip in ModelBuilder of ArcGIS for Desktop?

I have multiple rasters and feature classes that I want to clip to a study area. I am pretty new to ModelBuilder. I know you can right click the clip tool to batch clip outside of ModelBuilder but ...
7
votes
2answers
2k views

How to generate TFW files for a list of images?

I have a few digital images that are not georeferenced. E.g.: Img01.tif Img02.tif ... Img99.tif On the other hand, I have a text file, which contains georeferencing information for these ...
7
votes
2answers
3k views

How to convert 3D DXF to PostGIS 2.0?

I'm not very skilled on using postgis but I face a problem that I must solve, i.e. create tables to load geographical data stored as dxf. I have a thousand dxf files (3d) with polylines, points and ...
7
votes
1answer
1k views

Batch export from multiple QGS projects to image or PDF

I'm looking out for a way to batch export to PDF or image many composers spread in many QGS projects, the same way the plugin Map Printer does, but on a large number of projects at the same time. ...
7
votes
2answers
3k views

Does Calculate Value (Model Only Tool) work correctly in tools run in Batch?

Am I correct that if my model has a model-only tool (Calculate Value), and then I run the model as a batched process, it will not run the Calculate Value expression? I wrote a model to upload, ...
7
votes
2answers
3k views

Batch export multiple layers to DXF

I have only had limited experience with QGIS. What i have: I currently have many different layers (water mains, sewer mains, drainage etc.). These layers are TAB files with attributed data. What I ...
7
votes
1answer
596 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, ...
7
votes
3answers
1k views

Batch merging shapefiles from different folders, different subfolders [closed]

I tried some of the scripts I found but none worked so far. What I am trying to do is batch merging hundreds, maybe thousands of shapefiles from different folders/sub-folders into a single shp or ...
6
votes
6answers
2k views

How to create multiple QGIS layers from multiple text files?

I have a few hundred txt files (each representing a line of a river bed profile) that I need to load as (point-) layers in QGIS. Partial example: 4504764.8331;5374251.3024;397.8871;2 4504764.7761;...
6
votes
2answers
2k views

How to use QGIS Atlas with multiple layers/files per coverage?

I've got 30 contour datasets that all sit over the same extent. Each contour set is in its own file. I also have 30 extent polygons for each contour set as a separate file. Can I use Atlas to ...
6
votes
2answers
529 views

Batch geocode with multiple services?

I've got a batch of addresses to geocode (on the order of 10,000), I've looked at various services for doing the geocoding, and each service seems to be able to locate a portion between 50% and 90% of ...
6
votes
2answers
820 views

Using Python, Batch Project output won't drop into feature dataset?

When attempting to batch project in ArcGIS 9.3 or 10 (using either arcpy or arcgisscripting), I cannot get my geoprocessing results to drop into the feature dataset that I specify. The results ...
5
votes
3answers
564 views

Using batch files with geodatabases?

I hesitated a bit before asking this, as it isn't necessarily a GIS specific question, though I'm using it to update geodatabases. I have found plenty of hits on a Google search, but frankly, many of ...
5
votes
2answers
894 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,...
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 ...
5
votes
2answers
917 views

Retrieving LiDAR metrics from relative vertical layers of point cloud?

I need to obtain the proportion of all returns within 5 equally spaced height bins between the cutoff (1 meter) and the maximum height value. I need to get this proportion of all returns for 1000 ...
5
votes
1answer
4k views

How to batch export layers to KML in ArcMap?

Is there a way to batch export layers to KML from ArcMap (ArcGIS Desktop) by altering the layer to KML tool to have more than one layer input?
5
votes
3answers
2k views

How to batch-process georeferencing of rasters (prelude to animation)?

I have many (10k) raster files, all with identical size and pixel dimensions, which need to be georeferenced. I would like to georeference one of them manually, using either QGIS or GRASS, and then ...
5
votes
2answers
758 views

batch create DEM from contour maps (open source)

I have around 100 shapefiles of contours (1m interval) that I need to turn into DEMs; Is there a way to batch create these mde from contour lines? Using open source preferably.
5
votes
1answer
171 views

QGIS- Model works on single layer execution, errors out when run as batch

I have a pretty simple model in QGIS that I am trying to use as a batch process. The model takes a line shapefile input, creates a temporary buffer, extracts by location using that created buffer, and ...
4
votes
1answer
1k views

Handling file names with spaces in ogr2ogr?

I'm trying to convert .shp files to .kml files. I used a batch file to find all .shp files in a directory and its sub-directories and convert them to .kml. Some converted and some gave me the error "...
4
votes
1answer
962 views

How to calculate X and Y projected coordinate in batch processing

I have more than 1000 shape files (all are point features). They were initially in WGS 84. I projected them in UTM. Then through batch processing I added X, Y fields in each table. But all the X, Y ...
4
votes
3answers
6k views

Batch clipping rasters in QGIS?

I have been able to batch clip rasters in one directory using python in ArcGIS. However, I am not sure how to do the same in QGIS using the Python console. Is this possible?
4
votes
5answers
2k views

How can I print a bunch of Arcmap mxd's all at once?

I have a folder with a dozen Arcmap compositions (.mxd files) I need to print. They're all ready to go, I don't need to do any editing. Do I really have to open up each one, wait to refresh, and press ...
4
votes
1answer
1k views

Batch Clipping Single Raster with Multiple Shapefiles in ArcPy?

I have a single raster file and about 40 small polygons shapes. I would like to clip the raster by the extent of all these shapes, and create 40 resulting .img files. I know I can just do this by ...
4
votes
1answer
330 views

Set 'Load in QGIS' of all batch processing rows to 'no'?

I'm using 'Save Selected Features' algorithm from the Processing Toolbox. I'm batch processing thousands of GeoJSON files to tab files but the same would be true for any conversion. I've created a ...
4
votes
1answer
5k views

Best way to get Convex Hull/Boundary of millions of points

I've been trying to do some point analysis on some xyz data, I'm at the point where I've decided it is best to produce a boundary of my xyz files and put this with the metadata for each survey. Now ...
4
votes
1answer
678 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 ...
4
votes
1answer
728 views

Can I export all print composers at the same time?

I have quite few different print composers. Can I somehow export them to pdf, one pdf for each composer, at the same time?
4
votes
1answer
305 views

Apply affine transformation to multiple layers

I have many shapefiles representing the layers of a map (roads, buildings, etc). In total, I have hundred of layers, and I want to scale all of them by the same factor. I know I can use the affine ...
4
votes
1answer
278 views

How to resolve error when launching OSeo4W Shell: Windows cannot find .bat file?

I downloaded and installed OSGeo4W to use ogr2ogr, but the the program OSGeo4W will not run. On launching the shell, I receive an error stating the .bat file cannot be found in specified directory (...
4
votes
1answer
618 views

How to batch generate thumbnails of raster layers with R?

I have been using R to maintain a rather large stack of raster layers (over 700 layers of data for sub-Saharan Africa). Each layer looks as follows http://hcapi.harvestchoice.org/v2.0/core/?varCode=...
4
votes
1answer
173 views

Batch convert of viewer styles from QML to SLD

Until now I was saving styles in QML files. Now I need them in SLD to be used in GeoServer. Is there a way how to perform a batch convert?
4
votes
1answer
148 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
2answers
200 views

Batch create Leaflet webmaps in QGIS

During a project on the spider fauna of Greece, we have to face the design of distribution maps of the species. A good tool to work with is the design of Leaflet webmaps to be used on the website ...
4
votes
3answers
3k views

Batch fix overlap errors

I have a feature class with about 250,000 contiguous polygons. ArcEditor turns up around 9,000 overlap errors when I validate the topology. I want to merge each of these errors into one of the ...
4
votes
0answers
143 views

QGIS Import multiple text files at once [duplicate]

I have been needing to import anywhere between a few to 10's of text layers into a project per day for my job. The text files are in a .log format (Space Delimited) The X, Y, and CRS designations ...
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 ...