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

learn more… | top users | synonyms

0
votes
1answer
20 views

Creating a drop-down list for arcpy script tool

I have written the following script but I cannot manage to create the drop-down list for the variable "select" (select=arcpy.GetParameterAsText(3)). Any suggestions? # Script arguments inputRaster = ...
1
vote
1answer
20 views

How to calculate the area in kernel density?

I have estimated and reclassify my kernel densities and I would to calculate the area of each value. How could I do it? My Projected Coordinate System is WGS84 World Mercator. My pixel size is 10000 ...
0
votes
0answers
8 views

Values missing with Polygon to Raster tool

I am trying to convert a polygon to raster using a field with six unique values as the 'Value' field in ArcGIS 10.2. However, when I do this, one of the values does not appear and instead those pixels ...
1
vote
1answer
21 views

Add multiple rasters using QgsRasterLayer with for loop

I am trying to create a for loop for coloring up multiple rasters simultaneously. I am able to do it for one layer, but trying to implement the for loop to do it for more than one layer is proving ...
3
votes
1answer
16 views

raster::rasterize set wrong values with enclosed polygons

Similarly to this post rasterize (R package raster) fail to rasterize island polygons? the rasterize function in the raster package is giving me problems with enclosed polygons. In my case, some ...
1
vote
1answer
24 views

How to define season by month and average data

I have 10 year NDVI data i.e. two values per month. I would like to average values within a season e.g Season A (January, February and March) per year and plot a graph. y axis=average ndvi value, x ...
1
vote
0answers
23 views

Is there a Python equivalent to QGIS Raster Calculator's “file1.asc” AND “file2.asc”

I would like to script a calculation equivalent to QGIS Raster Calculator's "file1.asc" AND "file2.asc". I have 18 data raster files which I would like to do the equivalent of ADD to each of five ...
2
votes
1answer
42 views

Assign nearest raster cell value to point

I came across to a similar issue described in Finding nearest raster cell value based on vector point? I understand the proposed solution with Raster to Point and then Spatial Join with (for example) ...
1
vote
0answers
22 views

Compressing clipped raster in QGIS?

I am using QGIS: Raster/Extraction/Clipper I have a raster image (Sentinel 2 satellite 3 bands combination, total area: 1,000,000 hectares, file size 740 MB) from which I clip a certain area, which ...
2
votes
1answer
39 views

very basic question on extracting data from .tif raster layer in R- projection not in lat/long

I have data on N deposition in the US, which can be found in a .tif file from a zipped directory, which can be accessed here: nadp.sws.uiuc.edu/maplib/grids/2006/TotalN_dep_2006.zip. I loaded the ...
0
votes
2answers
26 views

Calculate mean value for each raster and convert output array to data frame

How do I calculate mean value for each raster and convert output array to data frame? r <- as.data.frame(cellStats(x,mean))
0
votes
0answers
32 views

Crop raster files when importing with readGDAL from DB

I have quite a lot of raster files stored in a PostgreSQL DB. Each of them has around 200MB and is representing EU-wide data. However I only need the the rasters to cover the area of Germany. I'm ...
1
vote
1answer
46 views

Comparing point pattern and raster data?

I have a simulated data set showing distribution of a certain habitat type as a point pattern. Then I have a empirical data set but there the format is raster. The two datasets are covering the ...
1
vote
0answers
23 views

Open raster and vector files with PyQGIS

I'm making a plugin for QGIS and I'm trying to open the layers I've created on QGIS, but I only get to open the one called 'sinkhole raster' which is the input of the tool. I don't know what order ...
0
votes
1answer
30 views

Removing Polygons With a Specific Size

How can I remove small polygons from a raster data set? I know that they aren't technically polygons, but I convert the rasters to polygons. The problem is that I want to focus on a specific polygon ...
2
votes
0answers
32 views

How can I change the origin (top left corner) coordinates of a raster using PyQGIS?

I am developing a python plugin for QGIS. The purpose of the plugin is to properly open an HDF5 dataset as a raster. Opening and displaying the raster can be done without the need for a plugin, ...
0
votes
0answers
21 views

How to import TIF image with extents known but world file missing

I am having some real trouble figuring out how to import a tif file for which I know the corner coordinates but do not have the TFW (world file). I have tried changing them in properties but that ...
1
vote
1answer
40 views

Get Raster Centroid using Arcpy

Purpose:To take an input raster image and clip its shape to a parcel block. In later stages this model will be applied to a loop. Logic: The Model receives an input raster image and calculates a ...
2
votes
1answer
20 views

SAGA Raster Calculator in QGIS Graphical Modeller not subtracting [on hold]

I am using QGIS 2.8.1 to build a model. All is working fine until the raster calculator input. I understand that the raster calculator in QGIS Modeller is a SAGA tool. With this, I have tried both the ...
2
votes
2answers
30 views

Create time series graph with multiple rasters

I need to create a time series graph for a few random cells with known underlying attribute such as "forest" or "agriculture" based on the VCI (Vegetation Condition Index). I have been reading and ...
0
votes
0answers
19 views

Is Output Cell Size Environment the same as Resample tool?

I have a raster catalog that contains hundreds of rasters (10 x 10). I need to perform Cell Statistics SUM on all the raster. End user able to specify under what cell size the want to perform the ...
1
vote
1answer
32 views

Array written by GDAL with Python script has numbers read as “nan” by QGIS?

I would like to write an array to a geotiff with Python script using the GDAL module. When I try to do something simple like copying an existing GeoTiff via reading it to an array, then, writing to a ...
2
votes
0answers
14 views

PostGIS - raster - bit operations

I have a raster data in the database in separate rows. I would like to select 2 rows and do a bit operation with them (like |, &) and store the result in memory as a query output. Is this possible?...
1
vote
1answer
38 views

QGIS “Raster->Georeference” menu item not showing up

I am using QGIS 2.12.0 Lyon. I have installed a plug-in called "Georeferencer GDAL" and the version of that plug-in is 3.1.9 . [I am working on a Mac which is running OS X Yosemite 10.10.5.] I am ...
0
votes
1answer
31 views

relating land cover raster to vector data

I have a land cover raster basemap that covers different land cover/uses in Europe to 100m resolution and a separate Excel legend file. Separately I have a point shapefile with the details and ...
0
votes
0answers
14 views

ArcGIS trim-mean interpolation

I am trying to create a raster dataset from regularly spaced point data. I would like to use a trim-mean function rather the more standard mean function. Is it possible to do this?
3
votes
1answer
36 views

How to represent seasonal variability in a single global NDVI map?

I have twelve monthly MODIS datasets for a 1 year period (http://neo.sci.gsfc.nasa.gov/view.php?datasetId=MOD13A2_M_NDVI&year=2015) and wish to combine all the data into a single map highlighting ...
0
votes
0answers
20 views

Failed to create raster dataset using ArcObjects?

I am currently unable to create a raster dataset. These are the 2 functions i have for creating the raster dataset but it seems to always throws an error "unable to create raster dataset". After ...
2
votes
1answer
43 views

Clip raster with shapefile and set a value outside the mask

I want to clip a raster using a shape file with the command: gdalwarp -cutline INPUT.shp INPUT.tif OUTPUT.tif from this answer. However I want to set the pixels outside the mask to a particular ...
3
votes
1answer
19 views

ASCII Raster Statistics?

I have downloaded the following precipitation data in .nc4 format(attached). I have opened the 'PRECIPITATION' variable in the file in QGIS and I have made a note of its statistics. As working with nc ...
0
votes
2answers
24 views

Geoserver WMS raster problem

I have the following problem: The edge of the imagemosaic is not fit well, Im using geoserver imagemosaic tool to serving orthophotos through wms server. Is it a CRS, Bounding Box problem?
0
votes
1answer
32 views

Calculate Raster with value from table

I would like to multiply all the values within a raster layer with one value, which is written in an *.csv table (it is the only value in this table). I tried this code (changing Times tool to Minus ...
0
votes
0answers
19 views

Select options in ModelBuilder progress?

I would like to create a model where the inputs will be two rasters (natural areas, agricultural areas). Each of these rasters will go into a raster calculator (the user will decide what raster ...
0
votes
1answer
28 views

Raster time series smoothing package using R

Does somebody knows if exist a package in R specifically for raster time series smoothing? I´m using aproachs like this one (using the equation suggested by Hamunyella et al., 2013) for (i in 2:(...
3
votes
1answer
29 views

How to Serve a Cached/Mixed Raster to Geocortex

I have never used a Cached/Mixed Raster format before, but I had these air photos given to me and I have to get them served up to our Geocortex App. I've been trying for weeks to covert it to a JPEG ...
0
votes
0answers
21 views

Pixel based 10 year NDVI time series

I would to do pixel based 10 year NDVI time series analysis using MODIS data. I’ve 3 seasons in a year. Should I average all values in the study area per season?
1
vote
1answer
76 views

QGIS set default style for layers based on name

I know that it is possible to apply default fill/line/point and colour ramp styles for layers within a project, However... I have a model which spits out raster layers with defined names (e.g. ...
1
vote
0answers
16 views

Interpreting output from PCA tool of ArcGIS for Desktop?

I am looking for some assistance on interpreting the output from a PCA run in Arcmap. My data is comprised of 6 raster bands representing biophysical elements in the marine environment (SST, ...
1
vote
0answers
24 views

Resample raster to lower resolution

I am trying to resample a forest cover raster with high resolution (25 meters) and categorical data (1 to 13) to a new RasterLayer with a lower resolution (~ 1 km). My idea is to combine the forest ...
0
votes
0answers
7 views

How to do not display Nodata values on IMG raster

I have a problem when I try to visualise (in ArcGIS 10.1) a raster file on IMG (ERDAS IMAGINE) format. The NoData values are displayed in black and I cannot find a way to do not display them. I've ...
0
votes
0answers
31 views

Improving Clip Raster workflow in QGIS?

I've tried to come up with an open-source equivalent to the following process in ArcGIS 10.3: Spatial Analyst Toolbox > Extract by Mask target input: 1" SRTM DEM in EPSG 4019 mask layer: single ...
2
votes
1answer
33 views

How to doing spatial join for several rasters

I have four rasters, each of 32 bits (single band), with the same cell size, the same number of rows and columns and identical extension. I need to make something like a "Spatial join", I mean, I need ...
4
votes
1answer
66 views

How to selectively generate averaged raster layer from 5-year data raster layers in QGIS?

I would like to merge 5 years of world ocean surface productivity data raster into 1 averaged raster in QGIS. However, not every pixel has data in every year. To generate the raster layer with the ...
1
vote
0answers
27 views

Merging DEM file generted many negative value in QGIS

With four DEM files downloaded by Python Elevation package, I merged them in QGIS 2.8.3. I use raster-> Miscellanaous -> Input direction, no more attribute was added. The four dem data has ...
1
vote
0answers
47 views

How to calculate raster area or number of cells for multiple classes in a raster?

I have a raster with many classes and I want to know the area or the number of cells for each class. I found quite a few posts on this topic (see links below). None of the suggestions matched my ...
-1
votes
1answer
29 views

Open MOD10A2 snow cover map in ArcGis

How to open classified MOD10A2 snow cover map in ArcGis? I tried as follows: ArcMap layer>>select Properties>>Symbology>>classified. It says I don't have a valid histogram.
2
votes
1answer
41 views

Calculating raster area by converting to points to account for latitude changes?

I am looking at a large geographic area (e.g., continental Africa). I generated a raster of modeled habitat (using MaxEnt) defined in WGS 1984 depicting the hypothetical distribution of an organism at ...
1
vote
0answers
26 views

ArcGIS how to geolocate/georeference raster data arrays?

How does one geolocate (or georeference) a raster of swath grided data with separate lat/lon arrays and multiple data bands using ArcMap 10.3? A sample data file (*.h5) can be downloaded from here ...
4
votes
1answer
65 views

Stratified Random Sampling Tool

Is there a way to produce a certain amount of random points over different classes in a raster in QGIS? I have extensions such as GRASS or GDAL, ...
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 ...