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
0answers
4 views

ArcGIS raster calculator: ERROR 000539: Error running expression: rcexec() <type 'exceptions.ImportError'>: No module named collections

i was wondering if somebody could please help me with the raster calculator (map algebra). My raster is in the GRID format, source type is continuous and pixel type is floating point (32bit). If i use ...
0
votes
0answers
5 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)) I appreciate your help.
0
votes
0answers
16 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
256 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 ...
4
votes
3answers
6k 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 ...
0
votes
2answers
328 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 ...
2
votes
1answer
20 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 ...
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 ...
1
vote
1answer
31 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 ...
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
31 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 ...
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
37 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 ...
2
votes
0answers
25 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, ...
1
vote
0answers
21 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
28 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
18 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
18 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
1answer
437 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
30 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
252 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
16 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
31 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 ...
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 ...
4
votes
5answers
4k views

Reproduce raster with same extent, and same number of columns and rows?

I have two raster A and B. A and B have the same grid size but different extent. How can I make A have the same number of columns and rows, as well as the spatial extent of B?
10
votes
4answers
3k 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 ...
0
votes
2answers
412 views

Really slow extraction from raster even after using crop?

I have a large raster file (245295396) cells and stacks of rasters having 4 layers each which lie in the extent of this large raster. To start with I am trying to get value from one stack (3 channels) ...
1
vote
1answer
37 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 ...
2
votes
1answer
315 views

Unsupervised raster classification using GDAL

Is there an equivalent in GDAL to the Arcpy ISO data unsupervised classification tool, or a series of methods using GDAL/python that can accomplish this?
26
votes
2answers
17k 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....
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?...
0
votes
1answer
186 views

QGis export part of map (box with coordinates) as raster

I would like to export a map of Switzerland (as part of googlemaps) to use as a background for a graph, but I need to know exactly where each corner of the map corresponds to (wrt spatial coordinates)....
3
votes
1answer
187 views

Export Stretch Function values - Arcpy

I'm looking for a way to export Stretch Function values from images that’s stored in a Mosaic dataset. Not values from the whole set, but specific stretch functions per image. The set is stored in ...
0
votes
1answer
256 views

How to download the MODIS data from R using MODISTools library

I want to download MODIS product MOD13Q1 to use the Scientific Data Sets (SDS) layers of "250m_16_days_EVI", "250m_16_days_pixel_reliability". MODISTools library in R software provides the capability ...
1
vote
2answers
218 views

How I can sum 360 raster files in a folder with the Arcgis raster calculator?

In a folder I have 360 precipitation raster files and I want to sum them all to the raster calculator
0
votes
0answers
12 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
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
1answer
984 views

Converting DEM to Floating Point Raster (FLT) using QGIS?

I am looking to convert a .DEM exported from AutoCad to a floating point raster file type (.FLT) utilizing QGIS to implement in HEC-RAS Mapper. This is accomplished easily in Arc using the Raster>...
2
votes
1answer
33 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 ...
2
votes
1answer
42 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 ...
0
votes
2answers
23 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
0answers
51 views

Working out percentage of different raster parcels in polygon?

I have a raster layer (LCM2007) that contains 24 classes of landcover and a shapefile, polygon, which represents areas in a survey. I want the area, or percentage, of each class in each area. For ...
0
votes
0answers
16 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 ...
0
votes
2answers
57 views

Copy resolution extent CRS metadata from one raster file to another using raster R

I have two geotiff raster files, one has all the metadata information and in the other the information was lost. I know that all the metadata information was exactly the same so I want to copy it from ...
4
votes
1answer
683 views

How do I combine bands in a tiff then convert to grayscale?

I have a large mosaic of tiffs in which I need to do the following: -Combine bands 4,3,2, for an infrared image then convert the image to grayscale without producing another dataset -This is easy on ...
2
votes
2answers
535 views

How to get easting & northing of cell in raster using ArcPy?

It might be very simple task. But I would appreciate if someone can comment on How I can get easting and northing of a single cell raster using arcpy as this value is used for in further steps.
0
votes
0answers
18 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
27 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:(...
9
votes
2answers
876 views

Histogram Matching using Python to improve mosaicking process of multiple overlapping rasters?

I am trying to do histogram matching using Python to improve the mosaicking process of multiple overlapping rasters. I am basing my code on that found at: http://www.idlcoyote.com/ip_tips/histomatch....