Skip to main content

All Questions

Filter by
Sorted by
Tagged with
34 votes
5 answers
13k 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 ...
RyanKDalton's user avatar
  • 23.2k
7 votes
2 answers
4k 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, ...
MBarretts20's user avatar
12 votes
4 answers
23k 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 "...
Frida's user avatar
  • 175
18 votes
2 answers
19k 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 ...
lovelyvm's user avatar
  • 517
2 votes
2 answers
3k views

Using sieve filter in ERDAS Imagine and/or ArcGIS for Desktop?

Where can i use a sieve filter for my supervised classification? Can i do it in Erdas Imagine or in ArcGIS? I can't find it anywhere.
user28704's user avatar
10 votes
1 answer
6k 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 ...
Codesurfer's user avatar
9 votes
5 answers
17k 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 ...
sirgeo's user avatar
  • 2,059
7 votes
2 answers
14k 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 ...
Calavin's user avatar
  • 869
12 votes
5 answers
13k 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/...
Radar's user avatar
  • 10.7k
7 votes
2 answers
5k 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 ...
tomtomnz's user avatar
  • 637
5 votes
2 answers
2k 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 ...
Rodri's user avatar
  • 347
16 votes
1 answer
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?
Adrian Dobra's user avatar
12 votes
6 answers
23k 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 ...
Gavin's user avatar
  • 525
8 votes
3 answers
18k views

Load a raster file directly in Leaflet

Is it possible to load a raster file (e.g. GeoTIFF or Erdas img) directly into a Leaflet map? If so, can you guide me to the correct documentation or method to do this? I am trying to do this with the ...
geo derek's user avatar
  • 529
5 votes
1 answer
5k views

Open Source Alternatives to ERDAS IMAGINE ATCOR?

I have been using ERDAS IMAGINE's ATCOR extension for ATmospheric CORrection of ASTER imagery. What opensource options exist for atmospheric correction of ASTER Level 1B products? I'm primarily ...
Aaron's user avatar
  • 51.8k
3 votes
1 answer
1k views

Converting MapInfo TAB to shapefile and reprojecting with ogr2ogr

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 ...
Samy-DT's user avatar
  • 279
2 votes
2 answers
2k views

Dividing shapefile into multiple shapefiles using an attribute value in QGIS Graphical Modeler

I have a shapefile with a column that have project references, I want to create a different shapefile for every project reference there is. Note that the project references are not unique in the sense ...
Ayogo's user avatar
  • 221
1 vote
5 answers
6k 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 ...
blueman010112's user avatar
14 votes
5 answers
16k 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 -> ...
kwai's user avatar
  • 645
8 votes
2 answers
3k 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 ...
Rodericus's user avatar
7 votes
2 answers
3k views

Creating shapefile of satellite image footprints?

I'm looking for a tool or a workflow to compute satellite image footprints, for a large number of images across directories, and produce a shapefile. Ideal work flow would be: fire up tool point to a ...
GuillaumeC's user avatar
  • 1,543
6 votes
6 answers
5k 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;...
MapEngine's user avatar
  • 985
6 votes
2 answers
8k views

How to translate tens of images from a directory as a batch with gdal_translate?

For example i have a dataset of images in *.cub format like $path: /work/120614/mg_1164/ f01.img.cub_E.cub f02.img.cub_E.cub ' ' f0n.img.cub_E.cub for converting a single image I use gdal_translate ...
Kepler128's user avatar
3 votes
2 answers
390 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 ...
umbe1987's user avatar
  • 3,785
2 votes
1 answer
352 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:/...
RK4gis's user avatar
  • 101
11 votes
2 answers
1k 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 ...
gisnside's user avatar
  • 7,888
8 votes
1 answer
3k 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 ...
MsGISRocker's user avatar
7 votes
3 answers
4k views

Calculating area of vegetation in raster file?

How do I calculate area of several vegetation types in a raster (.img file type) image. They are color coded. Am using QGIS (1.8.0) and ERDAS 9.2.
Infinity's user avatar
7 votes
1 answer
3k 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. ...
gisnside's user avatar
  • 7,888
5 votes
2 answers
12k views

Replacing Raster Values in Ras1 with Ras2

I have two rasters Ras1 and Ras2. I want to change the Ras1. In Ras1, there are few areas, lines, points I am interested having nodata cells and wrong data cells.(limited to interested areas only ...
Dr. A.D.Prasad's user avatar
5 votes
1 answer
734 views

Batch processing of numerous shapefiles in common folder with PyQGIS

I am trying to batch process numerous shapefiles in a common folder. I am getting an invalid syntax error right after the processing.run algorithm passes the TARGET_CRS words. Any ideas what I may be ...
Geno's user avatar
  • 73
4 votes
3 answers
869 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","...
Sigologo's user avatar
  • 139
4 votes
0 answers
372 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 ...
user706355's user avatar
4 votes
0 answers
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 ...
Ricardo M. Nogueira Mendes's user avatar
3 votes
1 answer
997 views

Getting maximum values of attribute of multiple Shapefiles merged into new shapefile in QGIS?

I have thousands of points in multiple shapefiles. I want to get the maximum value of an attribute of each shapefile. Then I want to merge all the maximum values to a new layer. Is there a way to ...
KATRIN's user avatar
  • 83
3 votes
1 answer
2k views

MOD 35 Cloud Mask HDF in ENVI

I am having difficulty getting ERDAS or ENVI to correctly read and display cloud mask attributes from MOD 35 HDF files. They files are displayed as 0-255, whereas I expected some kind of code 0, 1, ...
OCD's user avatar
  • 91
2 votes
2 answers
2k views

NoData Value = 0, problem when creating NDVI, Erdas

I try to create an NDVI from Landsat and ASTER satellite images using Erdas Imagine. In Erdas, the satellite images have a nodata value of 0. After creating an NDVI, the nodata value is still 0, but ...
Elena Wimmerwuchs's user avatar
1 vote
2 answers
8k 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 ...
Patty Jula's user avatar
  • 1,083
1 vote
1 answer
974 views

Black edge (NoData pixels) in Landsat 8 color correction in ERDAS

My boss asked me to mosaic and color-balance multiple Landsat 8 tiles for presentation. I tried to do that in ERDAS but it returned weird result as below: Obviously it's the black edges or nodata ...
PacmanKX's user avatar
  • 333
0 votes
1 answer
654 views

Converting tif to format for TIMESAT using BEAM VISAT or ERDAS IMAGINE?

How can I convert tif image into a format for TIMESAT software to create a time series? I am using BEAM VISAT or ERDAS IMAGINE program.
kate's user avatar
  • 1
0 votes
1 answer
3k views

Imagine files between ERDAS and ENVI

I have ENVI 5.0 , ERDAS 2013 SP2, and ArcGIS 10.1 SP1. Every time I save an Imagine file from ENVI 5.0 and open in ERDAS 2013 and it seems like ERDAS does not like it and it would not open and would ...
PROBERT's user avatar
  • 4,139
18 votes
4 answers
13k 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 ...
reevesii's user avatar
  • 1,529
10 votes
5 answers
12k views

How to workaround large mosaic process which is failing?

I need to mosaic about 550Gb of tif imagery together and the software I have tried keeps failing. The area has been split into zones so that the smallest has approx 200 tiles. I have used the latest ...
GeorgeC's user avatar
  • 8,298
10 votes
3 answers
6k views

Remove clumps of pixels in R

I would like to remove isolated pixels (or clumps of pixels <9) from my raster image. library(raster) # create some raster data r <- raster(ncols=12, nrows=12) set.seed(0) r[] <- round(runif(...
maycca's user avatar
  • 3,386
9 votes
2 answers
2k views

Creating several new fields at once with QGIS field calculator in batch mode in the same layer/file

How is it possible to create several new fields at once in the same layer, using QGIS field calculator in batch mode? There is a similar question, but using Python - I'm interested in a solution ...
Babel's user avatar
  • 75k
7 votes
2 answers
4k 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 ...
shea's user avatar
  • 355
7 votes
3 answers
3k 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 ...
Luiza's user avatar
  • 71
7 votes
5 answers
3k views

Georeferencing aerial photos when only centroid is known using ArcGIS for Desktop or ERDAS Imagine?

I have heaps of aerial photos that need to be georeferenced. I have access to ArcMap and ERDAS. All I am given is an excel sheet with the centroid coordinates of each image. Each photo covers ...
Kate's user avatar
  • 133
6 votes
1 answer
559 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, ...
Mjensencs's user avatar
6 votes
2 answers
866 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 ...
J Graham's user avatar
  • 367