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
30 views

PC and Mac treating raster brick input differently in R

All - this is likely an idiotic question, but, I've been working on developing some GIS code in R that interacts with an online source. So, sprinkled in various places, I have myBrick <- brick("...
0
votes
1answer
55 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 ...
4
votes
1answer
4k views

How to import QGIS Raster into PostGIS

I have created a IDW heatmap using QGIS 1.8.0 and need to import the raster into PostGIS 2.0.1. QGIS saves the raster layer as a .asc file. How do you import the raster into PostGIS as a Raster? What ...
0
votes
0answers
8 views

Change index of an indexed color image with a lookup table

i have an raster file in indexed color mode (256 colors). The indexed colors are spread from black to white between the 256 colors. I need to reduce the colors exactly to the maximum of 100 colors in ...
0
votes
1answer
241 views

using raster.predict for Cubist model, factor levels list

I would like to thank in advance any help or advice. Let me know if I need to provide more reproducible data/code. I am working on a Cubist prediction model for soil texture, using continuous and ...
0
votes
0answers
12 views

Setting raster values greater than 0 to NA in Saga GIS

I want to set all my raster values greater than 0 to NA in SAGA GIS. I am new to SAGA.
5
votes
2answers
207 views

Optimizing Python GDAL ReadAsArray

I am using the GDAL ReadAsArray method to work with raster data using numpy (specifically reclassification). As my rasters are large, I process the arrays in blocks, iterating though each block and ...
1
vote
1answer
209 views

Raster calculator: Insufficient memory available for operation

I use QGIS 2.14 (Windows, 64bit) and try to do some raster calculations with EUNIS habitat data, filter for specific habitat types, files are about 3 GB. RAM: 8 GB (7,85 GB usable) Virtual RAM: 8043 ...
1
vote
0answers
26 views

Extract mean raster values by fishnet in ArcGIS [closed]

I have a raster of 0.25m resolution. I created a fishnet with 100*100 m in ArcGIS. I want to extract mean values of the raster from fishnet squares(100*100). I tried zonal statistics in ARC but does ...
3
votes
1answer
42 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 ...
2
votes
2answers
48 views

qgis raster palette won't appear

I am trying to style a new single-band raster with a platted style, but when I choose the ‘platted’ no colors or values appear, and I can’t find a way to add them. QGIS Essen, Win 7.
-1
votes
0answers
49 views

Debugging Error 010240: could not save raster dataset to workspace with grid format? [closed]

I'm trying to run a standalone script tool, created on ArcGIS 10.2.2 and it gives me the error: ERROR 010240: Could not save raster dataset to \WG-DATA\sdi-datasets\Pat\WS\results with output ...
4
votes
3answers
2k views

What causes RuntimeError: ERROR 010240 saving after CellStatistics?

I am having trouble saving outputs from CellStatistics but only when I run it on a list of rasters. This was working on python 26 but not 27. I know this example is nonsense, but: env.workspace = ...
2
votes
0answers
39 views

How to interpolate raster data using computer vision (OpenCV)?

Background A raster file collected via LIDAR records the topography of a watershed. To properly model the watershed, the river must appear continuous without any breaks or interruptions. The roads in ...
1
vote
2answers
36 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 = ...
0
votes
1answer
184 views

How to use Orthoengine in PCI Geomatica to georeference Pleiades 1B TIFF to WGS 84

I am trying to use the orthoengine in PCI Geomatica 2015 to reference an image to WGS 84 (ESPG: 4326). Acquisition mode PX Spectral processing PA+XS (resolution is 70cm) I have the associated RPC ...
0
votes
0answers
22 views

Clipping and exporting raster from QGIS to Google Earth?

I have a 3 band raster from which I need to clip a portion, and then visualise it in google earth. The problem is that the file generated after clipping, shows OK in QGis, but looks completely black ...
4
votes
3answers
7k views

Extracting one band from three band raster in ArcMap?

I'm fairly new to ArcGIS and I get into trouble extracting a single band layer from a raster image .img in ArcMap that I want to use after in zonal statistics. So far, all help I found is to do the ...
2
votes
1answer
58 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 ...
1
vote
2answers
70 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) ...
0
votes
2answers
3k views

Raster Calculator Workaround in Arcpy for Suitabiliy Analysis

This is my first attempt at a complex stand alone python code. I am self teaching the arcpy module, well at least attempting to. I am having a great deal of difficulty getting my site suitability ...
4
votes
4answers
2k views

How to sum raster image values with vector overlay

I'm new to this and haven't been able to figure out how to do this on my own. I have two files: a raster image of land use data and a vector-based shapefile of my territories. The raster image has ...
1
vote
1answer
27 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 ...
3
votes
1answer
30 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
48 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 ...
0
votes
0answers
9 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 ...
0
votes
1answer
229 views

plot 3D graph based on raster pixel values

I am new to raster data. I have a raster tif file with population density value in each grid cell. I am interested in plotting a 3D graph based on raster values in ArcGIS or R. The similar graph is ...
1
vote
0answers
27 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 ...
1
vote
0answers
28 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 ...
3
votes
5answers
6k views

Fill in NoData gaps in raster using ArcGIS for Desktop?

I have a raster with gaps in it. I want to fill these in with averages of surrounding cells using ArcGIS 10.2 for Desktop. I have tried "Focal Statistics" but it averages EVERY cell and not just the ...
0
votes
2answers
38 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))
1
vote
1answer
311 views

Merging USGS DEMs in ArcMap?

I've downloaded some USGS DEMs from the National Map, which appear to be .adf files. I can open them in ArcMap 10.2, but I need to merge them into a single mosaic. To do this, I've created a raster ...
2
votes
1answer
53 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 ...
2
votes
2answers
44 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
40 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 ...
2
votes
1answer
259 views

How to smooth a raster in a rectangular fashion using gaussian blur?

How do I adjust the code for the Gaussian Blur posted in the thread: What raster smoothing/generalization tools are available? to retain the resolution/gradients in the y direction and blur only ...
0
votes
2answers
344 views

Remove sections, defined by a line or polygon, from a raster in QGIS

(QGIS 2.6.0 on Windows.) I have created a raster layer of heights using the TIN interpolate function. I also have another raster layer with more accurate information on the height of particular areas ...
3
votes
4answers
4k views

“Extract by Mask” changing raster pixel values…or not?

I am using ArcMap 10.0 and am confused by my Extract by Mask output rasters. I hope to eliminate the black background from three Landsat ER Mapper images so that I can mosaic them. Originally I ...
1
vote
1answer
22 views

Map netncf-file with different years and save the different layers in shapefiles

Download from this website the following netncf-file: cru_ts3.23.1991.2000.pet.dat.nc.gz. This is a monthly raster with data from all over the world from january 1991 to december 2000 I am using ...
0
votes
2answers
44 views

Add information from a raster nc-file to a polygon shapefile

DATA Download from this website the following ZIP file: NUTS_2006_60M_SH.zip and save all the NUTS_RG_60M_2006 files. In what follows I refer to this as "NUTS3 regions". Download from this website ...
1
vote
0answers
27 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
33 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 ...
0
votes
0answers
24 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 ...
2
votes
1answer
25 views

SAGA Raster Calculator in QGIS Graphical Modeller not subtracting [closed]

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
1answer
439 views

Can I update the service on ArcGIS for Server programmatically?

There is Windows Service. This service adds user raster data to the Raster Dataset in sde database. The Raster Dataset registred on the ArcGis Server. This Raster Dataset also was publishing on ...
0
votes
1answer
38 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
2answers
296 views

How to extract raster pixel value in ArcGIS

I am dealing with some very large geotiff files (the whole of Canada at a 250m resolution) and is having trouble to extract the pixels value as I need to do some calculations for mapping ecosystem ...
0
votes
0answers
26 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
40 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
1answer
1k views

Problem in importing raster data from PostGIS to Geoserver

I am using Opengeo Suite 3.0.2, PostGIS 2.0.3 and PostgreSQl 9.2. I am trying to import raster data from PostGIS to Geoserver but facing an error. I follow this tutorial link to import the raster ...