Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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 ...
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, ...
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 ...
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 ...
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 ...
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 ...
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 ...
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/...
5
votes
2answers
921 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 ...
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?
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 ...
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 ...
1
vote
5answers
5k views

Batch convert xy to shapefile

I have about 300,000 CSV files which I want to convert to shapefiles, but ArcGIS and QGIS can only convert one CSV at a time. Are there any ways to batch convert my CSVfiles? x y z1 z2 z3 z4 1 2 3 ...
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 -> ...
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 ...
1
vote
1answer
126 views

Batch processing LiDAR files (.las to raster) with PyQGIS?

for layers in glob.glob("*.las"): processing.runalg("grass7:r.in.lidar", "input_las",5,1,"",1,100,"","",5,"","",False,True,True,"331289.57265,337990.42735,4558790.0,4560890.0",0,layers+"E:/...
3
votes
2answers
186 views

Unexpected result using ModelBuilder in batch?

I am running a model which I created with ModelBuilder at 10.3. The model is supposed to make a selection by attribute on a feature layer, and use that layer to clip a raster. The model is working ...
10
votes
2answers
812 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 ...
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 ...
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. ...
4
votes
0answers
288 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 ...
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 ...
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 ...
3
votes
2answers
564 views

Raster Caculator Qgis 2.6 v/s Gdal_calc.py by Terminal

I need calculated monthly mean of Snowcover data by MODIS product, and then modify this script gdal_calc.py in this section # create alphabetic list for storing input layers AlphaList=["A","B","C","...
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 ...
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;...
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 ...
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 ...
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 ...
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
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
189 views

Model works for single layer but errors for batch process

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, ...
3
votes
1answer
908 views

Updating field with layer name on multiple layers with PyQGIS script?

Introduction : I created (with GIS.SE help) a script to batch edit many layers to add one or many fields. The initial aim was to easily add 3 fields to many layers to quicken my labelling process. ...
3
votes
0answers
275 views

QGIS atlas generation - batch process for many atlases

I have many different QGIS projects, each one is designed to create one particular atlas or map book in pdf format (one different book per every QGIS project). Month by month I must actualize each ...
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 ...
2
votes
1answer
251 views

Importing KML filename as attribute using FME?

I have over 5,000 KML files where its name (*.kml) is crucial for my analysis: it contains the ID of that feature. I want to use the filename to populate a new field, or replace the existing content ...
2
votes
2answers
881 views

MODIS Level 1B batch process

I am a new MODIS Level 1B user. I have been using the MODIS Swath tool to process my images. However, I have over 1000 images to process. I was wondering if there a script available in IDL or R (very ...
0
votes
2answers
346 views

Batch Renaming Relationship Classes using ArcPy

I'm trying to rename about 100 relationship classes in a Geodatabase. All the relationship classes are named under a naming convention and a standard part of that has changed, i.e: abc_feature1_rel ...
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 ...
4
votes
1answer
332 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 ...
3
votes
2answers
3k views

Batch Processing 400 MODIS HDF4 Files Using Several Tools In ArcGIS 10

This is my first post, I hope I don't screw it up. We have about 400 MODIS HDF4 files we are looking to batch process in the ArcGIS 10 or Python environment. The tools we are looking to use are ...
3
votes
1answer
3k views

ArcGIS 10.0/10.1 - arcpy - automate projection tool with different datum or projection

I am getting stuck with a task that is slightly different from the posts I found so far on this same website. Assumption: all layers have a defined coordinate system Problem: I would like to ...
2
votes
1answer
367 views

Using Refactor fields (Batch processing): error in “Fields mapping” column [duplicate]

I have several layers and want to delete some of their table attributes columns, like FLAG. Using Refactor fields is fine: However, when I do it in batch, I get an error in the Fields mapping column ...
2
votes
0answers
175 views

Batch Convert MapInfo .TAB Files to .KML [duplicate]

Possible Duplicate: ogr2ogr convert all shapefiles in a directory As the title suggests, i have a few hundred .TAB files to convert to .KML. This is likely to be a fairly irregular thing so FME (...
2
votes
2answers
1k views

How do I batch export maps for sub regions of a dataset with qgis?

I have a national level dataset consisting of polygons, polylines, points and rasters. I would like to export a map for every sub region (border defined by a polygon shapefile). Is there a simple way ...
2
votes
2answers
795 views

Batch maps (atlas plugin style) in same location

I've got more than 200 shapefiles of points representing different information for the same location. I would like to make as many maps as shapefiles with identical background and extent. I'd rather ...
1
vote
1answer
924 views

Using ogr2ogr to reproject and rename into shapefile?

I'm trying to reproject, move from tab to shp and rename all the .tab contained in a folder tree using ogr2ogr. I'm working with Windows 7, QGIS 1.8 installed with advanced OsGeo4w and gdal 1.9.2. I ...
1
vote
1answer
1k views

How do I Calculate Grouped Percentiles or Batch percentiles in ArcMap?

My question is similar to this one which was answered successfully: Calculating Percentiles in ArcMap? My addition is how do I batch this solution for multiple files or apply a group-by feature to ...
1
vote
1answer
222 views

Batch for Mosaic of MODIS Swath

I'm using gdalwarp to convert a large numbers MODIS Swath (MOD11, MOD06, MOD07) products to TIF and need to mosaic the output images with same day of year. There is a example of output data: ...
1
vote
1answer
89 views

List the tab/shp files properties within folders/sub folders w.r.t relative folder path [closed]

Currently i am using this command line For /R "U:\01 My Proj" %f in (*.tab) do ogrinfo -al -so "%f" >>U:\New.txt to extract all the tab file related information as a text.Instead of giving the ...