Questions tagged [batch]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
19k views

How to call a Windows Batch Script (BAT file) with Python in QGIS

I have a windows batch file (.bat) which executes some Oracle Queries. I want to integrate this Batch Script in a QGIS Plugin. How can I do this with Python? The cx_Oracle Python extension module ...
1
vote
0answers
396 views

QGIS Batch Processing error: AttributeError: 'NoneType' object has no attribute 'update'

I receive the following below error when trying to run Batch Processing in QGIS. I have tried uninstalling QGIS but still this problem persists. An error has occurred while executing Python code: ...
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 ...
2
votes
1answer
249 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 ...
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 ...
1
vote
1answer
3k views

Extracting locatation information from Google Maps and business directories

Is there a way to mass download/extract (infrastructure) data from either Google Maps or Business directories based on a search query? I am often asked to create inventories of assets within a local ...
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 (...
3
votes
1answer
252 views

Batch project creation in QGIS?

I have a list of csv files "name.csv" that I want to use to make various analyses in QGIS. I would like to automatize the following steps for each file : create new project name_main.qgis; import ...
2
votes
3answers
265 views

Is there a script to batch erase the equivalent of a shp to multiple other shps? (in ArcGIS)

I'm looking for a way to be able to frequently update a bunch of shapefiles (different land use and other areas). I would like to erase from them the lakes and rivers which are in another shape (hydro....
1
vote
0answers
272 views

Batch Export in Geomedia Tiff->Geotiff

GIS: Geomedia 2015, Q-Gis 2.14 Avaible Data: Raster files (tif) with a seperate saved georeference in Geomedia mdb, Shapefiles with the outline of every tif file. I'm using Geomedia 2015 and have ...
5
votes
2answers
913 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 ...
2
votes
0answers
121 views

Extracting one band from multiple stacking raster layers using PyQGIS? [closed]

I've got 1000 (one thousand) RapidEye raster images. The stacking layers has bands 1, 2, 3 and 4. I need to extract the bands 1, 2 and 3, then save the new file discarding the band 4. I've tried to ...
2
votes
0answers
211 views

failed gdal script from QGIS Georeferencer using Thin Plate Spline (TPS)

I'm trying to georeference a photo using QGIS Georeferencer plugin (this is an oblique photograph. I know I should be using a proper georectification routine, but my current work now is just to simply ...
1
vote
0answers
236 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) ...
3
votes
2answers
184 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 ...
0
votes
1answer
148 views

How to Batch Export MXD to GIF using Arcpy

I am trying to batch export several MXD files into corresponding separate GIF files. I am using the script below but am not having much luck and am getting an error: 'Invalid MXD filename' import ...
2
votes
0answers
49 views

Bulk printing\exporting from ArcGIS for Desktop to PDF or JPG for 300 layers using same extent? [duplicate]

I am using ArcGIS 10.2.2 for Desktop and I need to print\export individual maps of some 300 point Shape\layers (plant occurrences) to PDF (or JPG). Basemap extent remains fixed. Naming each Map with ...
3
votes
1answer
703 views

How to mosaic multiple MODIS images of Multiple months using MRT tool?

I have monthly MODIS images for 2001-2014. For few images mosaicing with reprojection can be done using MRT tool. However, for large number of images it's a cumbersome process. There are multiple ...
1
vote
0answers
41 views

Importing/Exporting parameters from a text file into a batch process

I usually work my batches in Excel or TextPad, and then copy/paste it into ArcGIS batch UI. Is it possible to do the same in QGIS? The tutorials I've seen show how to fill the interface line by line, ...
3
votes
1answer
297 views

How to batch produce a state map with individual counties highlighted?

I'm working on a basic choropleth map that visualizes one variable for all the counties in a single state. I want to create a map for each county that highlights (or adjusts the border style for) the ...
1
vote
1answer
417 views

Batch Clip shapefiles by filename or attribute using Python? [closed]

I used a Split Layer By Attribute tool I found online to split a feature class into 90 different shapefiles. These were outputted to a folder with the name for each shapefile ending in a 5 digit ...
1
vote
1answer
110 views

for loops in GME

I creating home ranges for wolf packs utilizing the kde, isopleth, and cliprasterbypoly tools in GME. I have no problem running through these one at a time; however, I would like to get the process ...
0
votes
1answer
274 views

Large number of distribution maps - Batch maps / Atlas

I try to make distribution maps for about 500 species. In the orginal file all species / points are in one shapefile, via the tombio productivity tool-pluging I separated the species and created ...
2
votes
2answers
2k views

Batch load rasters to mosaic dataset

I have around 200 Geo-referenced JP2 files that I want to add to ArcMap. Out of these I want to create a single Mosaic raster. However, I'm having issues adding the data. Everything is fine for the ...
0
votes
1answer
95 views

How to set identical EXCLUDE conditions for multiple layers all at once?

We do noxious weeds surveying, and have a geodatabase with separate point feature classes for each distinct species. In our Noxious Weed map, we have all of these species arranged into a single group ...
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 ...
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 ...
1
vote
1answer
92 views

Find and replace text in metadata of feature classes [closed]

I have 36 feature classes in individual feature datasets. I need to update a portion of the metadata for all the feature classes. I want to find a string of text in the distribution portion of the ...
2
votes
1answer
433 views

ogr2ogr Error in batch file but works when run from command line

If I run this from the command line it works: "C:\Program Files\QGIS Pisa\bin\ogr2ogr.exe" -f GeoJSON d:\environprocessing\q3_2015\wi\brrts\GISRegistry_Offsite1.geojson "http://dnrmaps.wi.gov/arcgis/...
1
vote
1answer
844 views

Is there a way to create an mxd from the command line?

Is there a way to run ArcMap in a batch script to create a basic mxd containing specified layers? Something like: "Path to ArcMap exe" -create "Path to new mxd" -include "layers to add"
2
votes
1answer
426 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, ...
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?
3
votes
2answers
2k views

Batch Extract by Mask, but customize individual output names

I want to extract by mask (the same mask everytime) on about 500 raster's, but I want to just append the name of every input raster. So if a raster is titled Landsat_010182 I just want to add _clip ...
2
votes
3answers
689 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 ...
1
vote
2answers
1k views

How can I visualize a series of points on a world map?

I'd like to run a big list of IP addresses through geolocation and then display them on a map, most preferably an OpenStreetMap one. While geolocation will probably be easy using GeoIP, I'm looking ...
1
vote
0answers
542 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. ...
2
votes
1answer
595 views

Batch convert GeoTIFF's to Garmin Custom Map compatible KMZ files

I have about 600 GeoTIFF map files geo-referenced using New Zealand Transverse Mercator 2000 (NZTM2000). Each file is about 140 mb in size. I'd like to convert them to Garmin Custom Maps compatible ...
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
0answers
63 views

Loading Batch Parameters in QGIS [closed]

I usually work my batches in Excel and then copy/paste it into ArcGIS batch UI. Is it possible to do the same in QGIS? The tutorials I've seen show how to fill the interface line by line, only. ...
3
votes
2answers
1k views

Performing Batch Geoprocessing in ArcGIS Pro?

I have been looking around in order to add multiple files instead of 1 at a time. I currently have about 55 files that I need to keep as separate layers. ArcGIS 10.x had the option where you can ...
2
votes
1answer
136 views

Counting intersections from multiple shapefiles in counties?

I have several polygon shapefiles of counties in 6 US states. I also have three shapefiles of country-wide "impaired waterways" a line, a polgyon, and a point feature classes. What I want is a ...
1
vote
2answers
435 views

Interactive “for each item in … do …” in QGIS?

How does one interactively run a basic looping batch construct in QGIS? for each {feature} in {features}: do {thing} with/to {feature} save/export/display {result} Where: {features} could ...
3
votes
2answers
3k views

How to autofill output column in arcmap batch process menu?

Referring to the screenshot, I'd like to know how to fill the output column with unique values that either have the same name as the input files or otherwise have some unique value in each cell. If I ...
3
votes
2answers
563 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
1answer
149 views

Is it possible to run Points2one in batch mode?

Is it possible to run Points2one in batch mode (using Qgis 2.8.1 on Unbuntu 12.04)? Basically I have 85 separate point layers and I want to create polygons using Points2one for each layer.
1
vote
1answer
349 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, ...
0
votes
1answer
98 views

How to delimit point distances in ArcGIS for Desktop per Thiessen polygon

I have 2 shapefiles. The first set contains x,y coordinates for 1100 hospital locations. The second pair contains x,y coordinates of about 7000 villages that are served by the hospitals. This means ...
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 ...
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;...
2
votes
0answers
143 views

project hdf file with geospatial_lat and lon in batch process

Is there any way that I can do a batch process in projecting hdf files wherein I could get and include only the geospatial_lat and lon in the batch script since every hdf file have different ...