Questions tagged [raster]

Raster is a data format consisting of regular grids of values, usually stored in an image-like format.

Filter by
Sorted by
Tagged with
64
votes
5answers
107k views

Clipping raster with vector boundaries using QGIS

In QGIS I would like to clip a raster precipitation layer using an admin boundary layer that is vector data. However the Geoprocessing tools seem to be usable only for vector data. How can I clip this ...
53
votes
3answers
20k views

What is Lanczos resampling useful for in a spatial context?

GDAL includes a resampling method beyond the normal mix of nearest neighbor, bilinear, cubic and splines: "Lanczos windowed sinc resampling". I understand that its a convolution filter, but unlike ...
48
votes
8answers
46k views

Using continuous color band for raster legend in QGIS composer legend?

I'm looking for a way to insert continuous colour legend for a raster layer. I managed to create discrete symbols with values along the bar, but I would like to have a continuous bar with some values ...
47
votes
5answers
38k views

What raster smoothing/generalization tools are available?

I have a DEM that I would like to smooth or generalize to remove topographic extremes (chop off peaks and fill-in valleys). Ideally, I would also like to have control over the radius or level of "...
47
votes
7answers
142k views

What are Raster and Vector data in GIS and when to use?

What are raster and vector data in the GIS context? In general terms what applications, processes, or analysis are each suited for? (and not suited for!) Does anyone have some small, concise, ...
44
votes
2answers
48k views

How can I convert data in the form of lat, lon, value into a raster file using R?

I have a data set of values over a km grid in the continental U.S. The columns are "latitude", "longitude", and "observation", e.g.: "lat" "lon" "yield" 25.567 -120.347 3.6 25.832 -120....
43
votes
4answers
61k views

Deciding what interpolation method to use for resampling raster data?

Are there hard and fast rules about which interpolation methods are suited to each kind of raster data?
38
votes
7answers
51k views

Performing Raster Reclassification in QGIS?

Is there a way to perform a reclassify of a raster image in QGIS? In ArcGIS you can do that in Spatial analyst Tools→Reclass→Reclassify Any ideas?
38
votes
6answers
24k views

Increasing speed of crop, mask, & extract raster by many polygons in R?

I'm extracting the area and percent cover of different land use types from a raster based on several thousand polygon boundaries. I've found that the extract function works much faster if I iterate ...
37
votes
5answers
53k views

Writing numpy array to raster file

I'm new to GIS. I have some code that converts infrared images of Mars into thermal inertia maps, which are then stored as 2D numpy arrays. I've been saving these maps as hdf5 files but I'd really ...
37
votes
2answers
77k views

Clipping raster in R

I am building a map for the northeastern U.S.A. The map background needs to be either an altitude map or a mean annual temperature map. I have two rasters from Worldclim.org which give me these ...
37
votes
8answers
29k views

Creating shapefile showing footprints of Rasters?

I have around 1,000 satellite images in tiff format, and I want to create a shapefile which will serve as an index to the rasters. This is something similar to a raster catalog, but I do not want to ...
35
votes
5answers
119k views

Extract Raster Value into Polygon Attribute

I have Raster Data for a State which has Elevation Data in its pixels. I also have Vector layer which has the 300 divisions of State. what I need is, I want to get the average elevation value of ...
34
votes
13answers
93k views

Getting boundary of raster image as polygon in ArcMap

I have a rectangular raster image in ArcMap. How can I produce a polygon which is just the extent of the raster image? That is, I want to have a polygon layer with a single quadrilateral which is the ...
34
votes
3answers
7k views

How to represent trend over time?

I have a time series of rasters where the cells of each raster represents some value at a certain time. I would like to generate a map that highlights the magnitude of positive or negative trends in ...
33
votes
7answers
4k views

Work flow for georeferencing imagery using open source tools?

Does anyone have a recommendation for a work flow for georeferencing high resolution aerial photography using open source tools? Comparison of user friendliness and robustness between Quantum GIS ...
32
votes
4answers
57k views

Fully load raster into a numpy array?

I have been trying to check my filters on DEM raster for pattern recognition and it is always resulting in missing last rows and columns(like..20). I have tried with PIL library, image load. Then with ...
31
votes
1answer
39k views

Raster legend in R: how to colour specific values?

I have an elevation model plotted in R r <- raster("example.dem") plot(r, col = topo.colors(20)) Some of the values are below sea level (0), and I'd like to have those display in red. How can I ...
30
votes
2answers
63k views

Joining several raster files using QGIS?

I'm new to QGIS. How can I combine multiple raster layers into one layer? The raster images are of different areas with very little overlap. The goal is to bring numerous town plats into one ...
29
votes
8answers
3k views

What raster-based GIS systems really work?

Raster GISes like GRASS, ArcGIS/Spatial Analyst, and Idrisi can perform a rich set of data processing and analytical procedures loosely known as "map algebra." In today's computing environment it is ...
29
votes
6answers
4k views

How to buffer raster pixels by their values?

The pixels to the left represent tree locations and their associated crown radii (i.e. pixel values ranging from 2 - 5). I would like to buffer these raster pixels by their crown radius value. The ...
28
votes
4answers
82k views

Converting vector layer to raster using QGIS?

In qgis in the raster menu there is an item "convert vector to raster". This behaves strangely - I do not understand how it is supposed to work. I can select a vector file, an attribute and an ...
27
votes
6answers
14k views

Splitting raster into smaller chunks using GDAL?

I have a raster (USGS DEM actually) and I need to split it up into smaller chunks like the image below shows. That was accomplished in ArcGIS 10.0 using the Split Raster tool. I would like a FOSS ...
27
votes
7answers
7k views

Speed of various raster data formats

I'm having trouble locating any discussion or comparative benchmarking of different raster file formats (e.g., for use in data analysis in R). Does anybody have any insight into why particular formats ...
26
votes
11answers
78k views

Extracting raster values at points using Open Source GIS?

How can I extract values from a raster by points? I prefer not in Arcgis. I prefer in Qgis or Mapwindow or other open source gis.
26
votes
6answers
15k views

What is Change Detection and performing such analysis with open source tools?

From wikipedia page: Change detection for GIS (geographical information systems) is a process that measures how the attributes of a particular area have changed between two or more time periods. ...
26
votes
3answers
44k views

Resampling GeoTIFF images to same resolution using QGIS

I have two geotiff images that I would like to resample the same resolution. If I use ArcGIS Desktop this is easy to do but how do I do this using QGIS?
26
votes
3answers
8k views

What resampling technique should be used when projecting aerial photos?

I'm doing some time-intensive projecting of aerial photos, and I'm curious - what resampling technique is best to use on aerial photos? In ArcMap, my options are NEAREST, BILINEAR, CUBIC, and MAJORITY....
26
votes
3answers
30k views

Differences between Raster Dataset, Raster Catalog, and Raster Mosaic

I have about 40 scanned, colorful Geology maps that are GeoTiffs. I want to bring them into an Esri FileGeodatabase to lower their size, combine them as one and display them with a mostly transparent ...
26
votes
3answers
4k views

Packing Polygons within polygon using ArcGIS Desktop?

I have a Boolean raster. In the grey areas of the raster I would like to fit a given size polygon within a contiguous extent. Basically, I have an irregular polygon, and i would like to "fit" a ...
25
votes
4answers
22k views

Rasterfile clipping error: Cannot compute bounding box of cutline

I have a raster file and want to clip it, a vector file is supposed to be the mask layer. I use the most obvious method (Raster->Extraction->Clipper). No matter what I do, I get this error (see ...
23
votes
1answer
45k views

How to assign CRS to RasterLayer in R

I have a layer with coord. ref. : NA. How can I assign coord. ref. : +proj=longlat +datum=WGS84 +no_defs +ellps=WGS84 +towgs84=0,0,0 to coord. ref. : NA? class : RasterLayer dimensions : 127,...
23
votes
3answers
12k views

Smoothing/interpolating raster in Python using GDAL?

I am developing in Python and using GDAL from OSGEO to manipulate and interact with rasters and shapefiles. I want to take a shapefile that has point features and interpolate it into a surface raster....
23
votes
2answers
42k views

Understanding ESRI's .asc file

Reading the ArcGIS help: Supported raster dataset file formats, I read that ASCII Grid file types are addressed with the singular file extension .asc for both 16 bit signed-integer (for discrete data) ...
23
votes
1answer
1k views

Displaying numbers of single band raster layer in QGIS without additional vector layer?

I wonder if there is a raster symbolizer in QGIS with a label option, that renders the cell values as labels of single band raster layer, a scalar field. The standard raster symbolizer dialog in QGIS ...
23
votes
1answer
2k views

Clustering of multiple raster layers to create sub-regions using QGIS?

I'm attempting to create n sub-regions from a polygon based on a cluster analysis of a bunch of overlapping raster layers (physical layers, eg: depth, currents, waves). Currently, I can create a ...
22
votes
4answers
23k views

Layer stacking rasters in QGIS?

I have some multi-spectral data, where the individual bands are separate Raster files. How do I layer stack these rasters so that I get one raster with 3 bands instead of 3 different rasters? This ...
22
votes
8answers
19k views

Modifying single Pixel values in QGIS?

I would like to modify a raster (pixel values) in QGIS. The plugins "value tools" can easily provide me with the value of the pixel of my raster. However I don't know how to modify it. I have found ...
22
votes
3answers
12k views

Performing Raster Noise Reduction and Edge Smoothing?

I have a raster image like this I want to delete the isolated noise point and smooth the edge (say the white single points, and I want the edges of the entity look smooth). How can I do this in ...
22
votes
1answer
5k views

Are there any general rules of thumb for selecting a transformation for Georeferencing?

There are several transformations that can be used when georeferencing a raster: 1st order Polynomial (affine) 2nd order Polynomial 3rd order Polynomial Spline... etc Are there any specific rules or ...
22
votes
3answers
14k views

Accessing raster attribute table in QGIS?

I have some Python code that makes Raster Attribute Tables for GeoTiffs using GDAL. In ArcGIS I can see these attribute tables fine and they behave how I like (as classifications) but in QGIS the ...
22
votes
3answers
1k views

Dealing with bridges and tunnels when modeling raster least cost paths?

I'm currently using ArcGIS 10 Spatial Analyst's Cost Path tool to model pedestrian routes. I have sidewalks, fences, buildings and a ton of pedestrian scale features, all combined into a cost surface ...
21
votes
5answers
14k views

How to efficiently access files with GDAL from an S3 bucket using VSIS3?

So, GDAL has recently added a new feature that allows random reading of S3 bucket files. I am looking to crop GDAL images from multiple tiles of an image without having to download the whole file. I'...
21
votes
5answers
21k views

Extracting raster values and creating new raster in QGIS?

I want to extract certain values of a raster image in order to create a new raster which then should only contain the extracted/chosen values. How to do this in QGIS?
21
votes
4answers
9k views

What to do with -3.4e+38 nodata values?

I am trying to process some bioclimatic raster files, such as can be downloaded from http://www.worldclim.org/current (bioclim set). They seem to have nodata values set to -3.4e+38 according to QGIS (...
20
votes
1answer
368k views

What is the difference between Vector and Raster data models? [duplicate]

From: http://support.esri.com/en/knowledgebase/GISDictionary/term/vector%20data%20model vector data model: [data models] A representation of the world using points, lines, and polygons. Vector models ...
20
votes
1answer
15k views

How to extract pixel value counts from a raster in QGIS?

How does one go about obtaining a summary of the counts of cell values within a raster in QGIS? I know QGIS is doing this, in order to provide the summary statistics and histogram in the properties of ...
20
votes
1answer
8k views

numpy array to GTiff using rasterio without source raster

I have a numpy array that represents rasterized data from a LiDAR point cloud. For example: import numpy as np import rasterio arr = np.random.randint(5, size = (100, 100)) I know information about ...
19
votes
1answer
12k views

Calculating distance to points in QGIS

Is there a way of calculating the distance to the nearest points in QGIS? In ArcGIS there is a function called Euclidean Distance, which can take an input vector or raster, and generate a raster of ...
19
votes
2answers
8k views

Adding band to existing GeoTiff using GDAL?

This seems like it should be straightforward but I can't for the life of me figure it out. Given an existing GeoTiff containing a single band, how can you add another band to that GeoTiff? Is the ...

1
2 3 4 5
172