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

learn more… | top users | synonyms

1
vote
1answer
45 views

Extracting multiple raster data to point shapefile in ArcGIS ModelBuilder?

I used raster iterator tool in ArcGIS ModelBuilder read several raster files in IMG format and extract values of corresponding raster files to a point Shapefile using "Extract multiple values" tool in ...
1
vote
0answers
21 views

Convert a SHP file set to a categorised ASC raster with Qgis?

I have a shapefile with regolith (soil) data that I would like to use as a categorised raster (say 007_1ASC) in Maxent. The regolith data is in the following files: 007_1.cpg 007_1.dbf 007_1.prj ...
3
votes
1answer
33 views

Splitting, disaggregating, breaking up a merged raster file

I am using ArcMap 10.4.1 but I am also more than familiar with QGIS. I have a raster file (single band) from a merged grid on population statistics for Europe (please see image attached). The red ...
1
vote
0answers
19 views

Geoserver Dynamic Raster Masking Based on Request Parameter

Is it possible for Geoserver to dynamically mask out values above or below a certain threshold in a WMS or WCS Geo-tiff request? For instance I make a request with some threshold parameter like 49 ...
0
votes
1answer
45 views

Python Gdal write virtual raster

Is there a python module to create Virtual Raster (.vrt) xml files? Rather than writing text strings to a file, I'd like to know if there is an automated way to do this.
0
votes
1answer
32 views

How to create or reclassify a land cover raster based on distance to roads in ArcGIS 10.4?

I am using a raster of land cover (Globcover 2.2, 300 m resolution), which I managed to reclassify (in 2 land cover categories) and clip to my region of interest. I also have a shapefile of the roads ...
0
votes
0answers
12 views

Converting radiance raster values to luminance

I have two nightlight data layers of the same area, one is a VIIRS radiance raster (the raster values are radiance values in units of nanowatt/sq.cm/sr) and the other one is a point vector luminance ...
1
vote
1answer
33 views

GRASS/QGIS- “buffer” created with DEM analysis- how to avoid it?

I have, to start, a DEM raster and a shapefile, with random created points, within a given polygon. The DEM raster was clipped with that same polygon. With the DEM raster, I used GRASS to perform ...
0
votes
0answers
26 views

Raster to categories to shapefiles

I have a raster data file which is the population density. I would like to transfer this raster into a specific number of categories, let's say 5. After that I would like to convert the raster to a ...
2
votes
0answers
21 views

classify colourramp with new min and max value with python

For my script i want to update the existing colourramp of a raster with new min and max value. In my current code is can fill the min and max but can't classify and update the raster. How does the ...
1
vote
2answers
52 views

Can I extract circular buffers from polygon layers?

I have been working in QGIS with a large and detailed shapefile where remaining forest fragments are represented as polygons. I would like to extract circlular buffers, of various radii, from this ...
1
vote
1answer
50 views

How to delete one band from raster file?

I was working using drone imagery (regular camera) and there is this alpha band which is preventing me from doing maximum likelihood classification. I want to remove the alpha band. So far I used ...
1
vote
0answers
48 views

KML with raster in QGIS

I have a kml file which displays correctly in Google Earth but only as a bounding box in QGIS . What can I do to see the associated raster image?
2
votes
0answers
35 views

Comparing areas of two raster files

I need to compare the areas of two rasters for calculating the percentage parts from another. For example, I have one raster file which shows separated agriculture fields. The value of each field is 1 ...
1
vote
1answer
30 views

QGIS- extract raster information into a point return nulls

I have a 1) raster layer and a 2) point layer. I want to extract the pixel value to each point, but it is not working when using this tools (QGIS): plug-in "Point sampling tool" (the new shapefile ...
0
votes
1answer
26 views

How can I combine together cells within the same raster in ArcGIS 10.2?

I have a raster displaying Land Cover data for the UK at a cell size of 25m. The cells are currently categorised as one of 24 different types of land cover. Some of these are irrelevant to me, and ...
2
votes
1answer
20 views

How to extend an OSM or raster area in Qgis (into 'No Data' area)?

I need to do the opposite of clipping down a raster (or SHP file) in Qgis (or Gdal, Python etc - even R if someone can provide the script). I have a dataset from Open StreetMap (*.OSM) which includes ...
2
votes
1answer
62 views

Update raster color ramp with new min/max values using python?

For a script, I want to update the exsiting min and max of a colour ramp with a new one. In the image you can see what I want to update. To do so I tried to follow this thread. I tested the ...
0
votes
0answers
9 views

GRASS t.register (ERROR : maps= et file= sont mutuellement exclusifs) [maps and file = are mutually exclusive]

Je souhaite créer un strds. Pour cela j'ai créé un jeu de donnée à l'aide de t.create, puis j'utilise t.register pour ajouter deux cartes raster à mon jeu de données. Voici la commande que j'effectue :...
1
vote
1answer
24 views

I keep getting the same error when trying to clip a raster

Error: Cutline feature without a geometry. Consistently get the above error when trying to clip a raster. I have looked at all the other questions relating to this and tried all the 'fixes' however I ...
2
votes
1answer
38 views

Mapping raster values to nearest grid cell on a polyline

I'm not sure if the following task is possible in ArcGIS, or whether I need to use something like MatLab - I wondered whether the community could possibly advise if it is possible, and if so, what ...
2
votes
1answer
69 views

How to convert raster (big size) to points?

I have a raster : population density of Ivory Coast. I need to convert it to points, but I met several problems because of the size I think. Here is what I tried : 1) GRASS GIS 7 command : r.to....
0
votes
1answer
17 views

ST_AsRaster for polygon

Having a hard time to get a raster from a polygon ST_AsRaster(ST_Buffer(ST_GeomFromText('POLYGON((-30 40, -20 30, -25 20, -23 10, -30 40))', 4326), 50),ARRAY['8BUI'],ARRAY[118]); This line is ...
1
vote
0answers
48 views

How can I prevent gdal_translate from rounding coordinates when clipping?

I want to clip a raster (a VRT of several Ascii files) to a set of coordinates. Ideally I'd like to use gdal_translate to do this, but I only get an accurate result when using gdalwarp. gdal_translate ...
0
votes
0answers
17 views

ST_AsRaster ST_AsTiff

Can someone give me an example how to use AsRaster and ST_AsTiff together? I am having trouble to create a tiff image. SELECT ST_AsTiff(ST_AsRaster(ST_Buffer(ST_GeomFromText('POLYGON((-30 40, -20 30,...
2
votes
0answers
47 views

Why is mosaic dataset such large file? [closed]

I have been trying to export a number of scanned paper maps onto my database, and have been just adding them as raster layers as part of a larger group layer. I georeferenced them, and none of them ...
1
vote
1answer
30 views

Rasterize points in a map : result is not leasible. How to make the raster (points) bigger?

I have a vector layer (points) that I rasterized based on one attribute of the vector layer. I chose the GRASS GIS 7 command : v.to.rast.attribute. The raster layer appears in the map, but is not very ...
1
vote
1answer
35 views

Displaying raster images using Leaflet?

The purpose is to create a small web application using an open source product, preffered Leaflet (but I will Switch the product if it works within another Framework than leaflet), simply showing a ...
3
votes
1answer
33 views

Configuring Project CRS to reflect degree coordinates

seems like this is a common problem, but posts with similiar questions did not solve my problem. I have close to zero GIS background so apologies for my ignorance. My goal is to extract only a ...
1
vote
1answer
25 views

Using ModelBuilder to create smaller individual DEMs from a large DEM using multiple polygon?

How can I use a polygon (which is made up of smaller polygons) to create individual DEMs from a large DEM using the polygons as the mask/extent? I am trying to do this in ModelBuilder and it isn't ...
0
votes
2answers
28 views

Add raised features to digital terrain model in QGIS

I have a DTM onto which I need to 'stamp' a series of raised embankments. The DTM is a raster grid (in m above sea level) and the embankments are polylines containing the crest height (also in m.a....
1
vote
0answers
31 views

Error executing algorithm Clip raster by mask layer 'NoneType' object has no attribute 'GetGeoTransform'

Processing modeler: GDAL "clip raster by mask layer" tool I have a raster layer that I wish to be clipped by a polygon layer (buffer zone). I intend to repeat to process many times in a more ...
-1
votes
0answers
29 views

Iterating columns and feature to raster conversion?

I cannot do iterations on fields correctly. The fields contain rain intensities. Each field represents a time ... 15 minutes, 30 min, 45 min .... I have 50 fields. I want to end with 50 raster ...
3
votes
2answers
216 views

Automatic selection of pixels, from a raster series, greater than minimum image of the series

Given a series of rasters, and the raster image of the minimum values of the series, I am looking for a python script capable of selecting, for each raster, the pixels whose values are greater than ...
2
votes
1answer
72 views

How can I select points within a part of a raster?

I have a map with huge amount of points (9562 villages) and two rasters: population density and land elevation. I am trying, without success for the moment, to select just those villages with high ...
1
vote
1answer
48 views

Determining height of raster class from DEM?

I have a raster layer with 2 already determined classes: Low vegetation and High vegetation. They don't mix, there is a characteristic border between them. It's a typical situation of altitudinal ...
0
votes
0answers
44 views

NumPy to GeoTiff for use with Gdal

I have a few NumPy arrays: lat, lon, and 6 data bands. I'd like to convert these to GeoTiff and then apply the gdalwarp function, based on a specific projection, to each band. Is there a standard way ...
1
vote
0answers
29 views

How to remove the Na values from a stack of rasters?

In R I have a stack (nsw.stack) which contains 6 variables. I have clipped the extent. However, When I look at the summary it appears that there is a lot of NA values (see below). I think this is ...
1
vote
0answers
25 views

QGIS Lost precision when converting raster to vector

I am after running ordinary kriging, converting raster to vector I lose decimal value and only get whole number. I have added first the raster then the vector image.
1
vote
2answers
34 views

How to convert a raster output in a stack in R into ArcGIS

I am modelling the response of a bird (skylark) to various climatic and topographical variables in the program R. Using the predict function I predicted the abundance per pixel (see below for code). I ...
1
vote
1answer
24 views

Updating a raster using a shapefile [closed]

I have a huge raster file and want to increment all the values within a relatively small shapefile by 1 in Python. Speed is of critical importance, as I have to do this many times. I have been ...
0
votes
1answer
31 views

Iterating over a raster layer in ArcGIS using Python

I have a raster layer for drive times. I have another raster layer with my bounding geography. I want to tell ArcGIS: For every cell in geography: if the corresponding cell in drive time is not ...
2
votes
1answer
40 views

Is there a standard color palettes for the spectral indices?

Is there a standard color palette (or most commonly used in publications and other materials) for the spectral indices?
1
vote
0answers
40 views

Multiple HDF5 files in single GDAL virtual raster

Does anyone know how to generate a single GDAL virtual raster linking multiple HDF5 files to each other? Each file represents different swaths of the globe with different lat/lon coordinates and data ...
1
vote
1answer
81 views

mask raster with shapefile using gdalwarp/gdal

I am struggling to use gdalwarp with cutline option. The following command keeps failing and I do not understand why : gdalwarp -cutline shapefile.shp file.tiff newfile.tiff Warning 1: Self-...
0
votes
0answers
22 views

Arc Viewshed2 requires a vertical coordinate system

When I use the Viewshed2 tool with Arc 10.4, a 010451 error results when I try to add the input raster layer to the tool. The error states that the input raster is missing a vertical coordinate ...
1
vote
1answer
35 views

How to reassign Raster values to new values in QGIS?

For example, if the Raster has integer values ranging from -1 to 3 and the value that I am only interested in is 3, I then want to assign values -1 to 2 to 0 and then have the 3 value set to the value ...
2
votes
0answers
58 views

Raster Catalog QGIS; performance

Is there a comfortable way to generate efficient raster catalogs (such as in Arcgis), where polygon tiles are loaded as long as the scale does not hit a threshold value and images are only loaded when ...
4
votes
0answers
88 views

Raster calculator creates strange output

I am trying to combine two raster layers (one is nighttime satellite data, the other is the GPW population density data). I am using raster calculator to combine the two (the following is for a ...
1
vote
1answer
40 views

Statistical properties of raster image

I want to calculate mean and standard deviation of a raster image. In QGIS zonal statistics, we can calculate it within a polygon or a vector. But I want to calculate for whole image. In Python I'm ...