All Questions
785 questions
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 ...
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 ...
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 ...
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?
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 -> ...
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 "...
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/...
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 ...
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 ...
11
votes
0
answers
2k
views
Why is GDAL ECW compression much poorer than ECW compression from ERDAS [closed]
We use ECW compressor shipped with ERDAS Imagine to export Orthoimagery for our different departments. Because we are facing problems with the Imagine license server, we had to choose GDAL (built with ...
11
votes
0
answers
1k
views
What is the convergence threshold for ArcGIS Iso Cluster?
The ArcGIS tool Iso Cluster Unsupervised Classification does not seem to have any documentation on the convergence threshold used in the tool. To compare, Erdas Imagine has all of the necessary ...
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 ...
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 ...
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(...
10
votes
1
answer
2k
views
How to Remove Dark Bands Where Scenes Overlap in Mosaic Landsat TM5 Image?
I have an image mosaic of 5 Landsat TM5 scenes. Where the scenes overlap there is a dark band, only on the left and right sides, but the top and bottom are seamless. What is the best way to correct ...
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 ...
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 ...
9
votes
1
answer
523
views
Confidence in pan-sharpened classification?
I pan-sharpened one Landsat Image on ERDAS using the resolution merge resource, with brovey transform and nearest neighbor techniques. But I was told that in terms of land-use classification, it would ...
9
votes
3
answers
10k
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 ...
8
votes
3
answers
6k
views
Exporting several layers as GeoPackages at the same time in QGIS
I have dozens of temporary Layers. I'd like to export them all as GeoPackages, but I am unsure how to go about doing so without doing each one individually.
I was reviewing this code Exporting several ...
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 ...
8
votes
2
answers
4k
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 ...
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 ...
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 ...
7
votes
2
answers
641
views
Refactoring several attribute fields at the same time
I have some data from the field survey. In the field, I write down integers that I want to expand afterward. What I do is using the field calculator and something like:
CASE
WHEN A is 1 THEN 'foo'
...
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 ...
7
votes
1
answer
1k
views
Renaming GeoPackage layer to be the same as GeoPackage file
I have a GeoPackage file that has been renamed, but the layer inside the GeoPackage keeps the original name, is it possible to automatically put the same name on the layer as the file?
Example:
...
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 ...
7
votes
1
answer
5k
views
Batch removing null geometries
Is there a way batch remove or delete null geometries from hundreds of small polygon vector files in QGIS, while saving the new clean file to their original directories? I can't check for and fix ...
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 ...
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 ...
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, ...
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. ...
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 ...
7
votes
1
answer
887
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
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 ...
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.
7
votes
3
answers
1k
views
QGIS Batch processing stops part way through indefinitely for no apparent reason
When ever I run a batch process in QGIS, the processing will stop at a seemingly random step. It does not let me cancel the process and no error is reported. However, if I start the batch process ...
7
votes
1
answer
557
views
What are pros and cons of forcing square pixels on reprojection?
I am using Erdas Imagine 2014 to reproject 4-band raster data from GRS 1980 NAD83 Lambert Conformal Conic (ft) to UTM GRS 1980 NAD83 North UTM Zone 11 (m). Unlike ArcGIS, Erdas provides the option to ...
7
votes
1
answer
1k
views
How to produce a vegetation stress map utilizing the spectral blue shift of the red edge?
I am interested in mapping vegetation stress utilizing the blue shift to the red edge phenomenon in remote sensing. The figure below shows the expected change in reflectance of green leaves under ...
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 ...
6
votes
4
answers
5k
views
Seeking alternative to ERDAS Imagine? [closed]
I am having trouble with the ArcGIS 10.1 and ERDAS Imagine 9.2 license conflict.
From what I found out it isn't that rare, but I do not understand why there such a conflict in the first place.
...
6
votes
3
answers
761
views
Calculating sum of line length for hundred vector layers
I usually calculate total line length by adding a $length field and going to summary statistics. How would I do this if I have many layers? Is there a faster way? I batch added the $length to all of ...
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;...
6
votes
3
answers
678
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 ...
6
votes
1
answer
2k
views
Write output of QGIS Batch Processing to temporary layers
Is it possible to write the outputs of QGIS Batch Processing to temporary/memory layers?
6
votes
1
answer
886
views
Adding multiple Additional options to QGIS Batch processing?
How to add multiple additional options on qgis batch processing?
result is : GDAL command:
gdal_translate -of GTiff -co "COMPRESS=JPEG JPEG_QUALITY=75 PHOTOMETRIC=YCBCR TILED=YES"
it should be
...
6
votes
1
answer
1k
views
How to remove clouds in High resolution Imagery(.5 mGeoeye)
I have imagery with high resolution .5m, large parts covered with clouds, so it's obscure many urban areas.
How can I remove the clouds?
6
votes
2
answers
4k
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?
6
votes
1
answer
1k
views
Floor height creation from Aerial Lidar/Imagery only
I was wondering if it is possible to generate the floor heights of buildings from aerial lidar? We don't have terrestrial lidar or stereo imagery. I don't need the ground DEM level or the roof (DSM) ...