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

Pan sharpening using R

I want to pan sharpen my Landsat8 scene (according to FIHS algorithm, see here). According to the paper the following equation should do the pansharpening: MS_high <- MS_low + (pan - I) "...
10
votes
3answers
4k views

How to reclassify a very large land cover dataset?

Consider the NLCD2001 Land Cover dataset for Alaska (download link). I need to reclassify this dataset so that only pixels of value 41, 42, and 43 are preserved; all other pixel values should become ...
3
votes
1answer
235 views

Postgres, loading raster into db and visualize with qgis

I'm trying to import a TIF raster into a Postgres db using this command: Raster2pgsql -s 26591 -I -C -e -Y -F –N -M C:\Users\Ivn\Desktop\Postgre_HOME\scratchmres1.tif -F | psql -U postgres -d ivndb -...
1
vote
0answers
64 views

raster2pgsql stops at line 53 at RETURN

I am importing some very large rasters (in the tif format) into Postgres SQL (9.3) using raster2pgsql on the command line. Most of the rasters imported fine, some had to be converted to the img format ...
2
votes
1answer
61 views

Reprojecting Points, Shapes and Rasters using QGIS?

I have a project file that had originally started out with no care to the actual coordinates (we were just using an aerial and displaying the shapes and points on said aerial). Now, I am trying to ...
0
votes
0answers
23 views

What is the easiest way to export tiles from a raster predefined shapefile extents? [duplicate]

I have one large raster that I need to clip according to a grid defined within a shapefile. Below is an illustration: What would be the most efficient way of doing this with either ArcGIS 10.0 or ...
1
vote
1answer
61 views

Can't import multiple features or rasters into file geodatabase

I am trying to use the import multiple features into geodatabase option in ArcCatalog (ArcGIS 10.1). Or, similarly, I try to use the import raster option, which screen layout is similar to the ...
1
vote
1answer
2k views

How to save R raster plot for ArcGIS raster file

I want to save my raster plot that produced with R to ArcGIS raster (.img, .tif and ASCII) file.
1
vote
1answer
274 views

QGIS - row/column of point in raster

Is it possible in QGIS to display column and row index of pixel in raster? I mean something similar to value tool.
7
votes
4answers
3k views

NoData values recognised in raster in ArcGIS but not following symbology rules

I have a GeoTIFF raster in ArcGIS, which can be downloaded from the following two links: http://www.rtwilson.com/downloads/MODIS_MOD04_16-06-2006_Subset.tfw http://www.rtwilson.com/downloads/...
1
vote
1answer
1k views

How to build an attribute table in a 3-band raster?

I have a 3-band (RGB) raster file from CORINE and the attribute table hasn't been built. When I try to execute the command BuildRasterAttributeTable I get an error that only single band rasters are ...
1
vote
2answers
102 views

Fast way to merge 8000 raster?

I have to merge almost 8000 rasters (TIF). I tried using Mosaic To New Raster in ArcGIS 10.3, but it's processing really slowly and crashes quite often. Is there a faster (or more stable) way to ...
4
votes
3answers
2k views

Similarity between two raster maps

Having two raster maps as the examples below: We are interested in evaluating their similarities. As shown, they are not fully overlapping. We guess one way is to clip small one area from the ...
2
votes
2answers
95 views

Increment VALUE column in raster in ArcGIS using ArcPy

I would like to increment the VALUE field in a raster by a constant amount (say 100). I can do this by using reclassification, but wondering if there is a simpler more direct method (using ArcPy)?
7
votes
2answers
1k views

Moving raster to different mapset GRASS GIS

I have a raster DEM that I created in one mapset but I would like to copy it to another mapset for another purpose. Is this possible within GRASS or can I just copy some files over in the ...
4
votes
3answers
379 views

Is the QGIS connection with ArcGIS “mapserver” still working?

I would like to add the Ocean Basemap to QGIS. I also found the other posts and I followed this procedure: http://hub.qgis.org/wiki/quantum-gis/Arcgis_rest Hovewer when I put in the Python console ...
1
vote
0answers
33 views

Automatically applying a local ortho projection using the center of the raster layer extent

I would like to take a raster image read the layer extents, extract the center point and then apply a custom local ortho projection with the origin set to the extracted center point. Can anyone ...
2
votes
2answers
349 views

Clipping raster to multiple rasters for each parcel using ArcGIS Desktop?

I have a raster aerial photo. I have county wide parcel data. I want to clip/screen shot the raster at each individual parcel. Think of this application - a post card with an image of your house --...
0
votes
1answer
168 views

Reclassifying rasters to two values (1 and NODATA)?

I am trying to reclassify a bunch of rasters, but when I run my script arcGIS crash. What I want to do, is reclassify rasters this way: every accepted value (0,1,5 and 64) to 1, and the others values ...
5
votes
1answer
193 views

Create shapefile of raster outline using python

I want to create a single bounding shapefile polygon of valid pixels in raster data (GeoTIFF) using python. I need something efficient as I need to do this for hundreds of rasters. I had thought of ...
1
vote
1answer
64 views

Can I clip a georeferenced tif to a shape file?

If I import a tiff file of a zoning map for a city and then georeference it to a shape file of the city boundary, is it possible to clip the georeferenced tiff file to the city boundary shape file? I ...
2
votes
1answer
98 views

How does ArcMap calculate the default cell size when rectifying a raster?

When rectifying a raster, there is an option to enter a cell size. I was wondering how ArcMap calculates this default cell size, particularly in relation to the raster's resolution.
1
vote
1answer
73 views

Transfering raster attributes to a shapefile

I am using Arc GIS 10.2. I have a raster layer and a shapefile layer. I would like to transfer the attributes of the raster layer to the shapefile layer using a majority rule. The raster layer is a ...
2
votes
2answers
553 views

Rasters added to mosaic dataset only display at large acale

I have a set of 357 rasters in .jp2 that I've added to a mosaic dataset. All but 7 of them display properly, but the 7 only display at larger scales, around 1:6500 and under. I've tried adding them ...
1
vote
0answers
33 views

QGIS raster: Which band is which?

I have an image from a Canon SD110 NIR camera, which I can import in RAW (CR2) into QGIS. However, I am finding it difficult to know which band represents which 'colour' output. According to the ...
4
votes
2answers
706 views

Finding Band Count in Rasters using ArcPy?

I'm having troubles finding the band count for my raster files using ArcPy. I need to first list all the raster files in a directory, and then display the band count for each file. I am able to list ...
1
vote
1answer
45 views

Creating fishnet from thematic polygon data?

I need to create a regular grid containing attributes from other thematic data from ecological data. I am in effect creating a homogenous polygon raster and adding information from another dataset ...
2
votes
1answer
87 views

Clean up edges in raster mosaic

I have made a mosaic of several old orthoimages. If it's possible, I'd like to do two things with the mosaic. First item is to remove the edges of the smaller rasters that show up in the mosaic, so ...
0
votes
0answers
19 views

Combining unique raster value using QGIS?

I am writing an instruction to combine two unique raster values using an open GIS software packages like QGIS. Example of two unique raster values are raster1=landcover, raster2=admin units. The ...
1
vote
0answers
43 views

Subtracting rasters from each other in batch using ArcGIS for Desktop?

I am trying to calculate the maximum change for each cell in a large amount of rasters. These rasters are number X002,X003 till X150 and I am trying to calculate the change between 2 consecutive ...
7
votes
2answers
2k views

Adding a new Coveragestore in a certain Workspace by REST

So, simple thing as it seems but I can't seem to make it work! I'm trying to add a raster data file (GeoTIFF) to geoserver via REST API, using curl on linux. REST API is working, since I created a new ...
3
votes
2answers
193 views

Total count of values at each pixel in a raster stack/ 3d array

If you have an array with x, y and z dimensions, how can I create an array of x, y dimensions that holds a count of how many z values at each location (x,y) are noData? I would prefer to use numpy ...
2
votes
2answers
351 views

QGIS: why does clipping a raster alters cell size?

Using QGIS V 2.2.0 (OS-Windows 8), I need to prepare raster files (ESRI ArcInfo Grids) to be later used in a species distribucion model using MaxEnt. Each of the original raster files (environmental ...
2
votes
2answers
137 views

MapInfo and large GIS data

I have a very large map file (.TIF) and a large DTM file (.GRD). When I add them to my layers in MapInfo I get a .TAB file. When my Map / DTM are visible MapInfo works and responds really slow and ...
2
votes
1answer
67 views

How to separate out bands from hyperspectral data using R

I'm having one hyperspctral data with 426 bands, with dim 250*250*426. I want to seperate each bands. I tried like this img <- stack("name.tif") rr <- array(, dim= c(250,250,426)) for(i in 1:...
0
votes
1answer
140 views

How to create a series of cross sections in arcgis 10.2?

My ouput should be a series of cross-sections (10 meters apart) along a center line of a river. The input data is a raster data set with elevation values. Can I also automatically generate the lines ...
1
vote
0answers
37 views

Select query St_asBinary(rast) returns out of memory for query result

I have very large rasters (7000x3500 cells) in postgis (2.1.3) postgres (9.3.4) that I want to pull down via psycogp2 and create numpy arrays and ultimately a geotiff. Initially I found I had to use ...
1
vote
1answer
118 views

Optimize my code or get out this process without charge as much RAM?

I'm working with script code in python for some processes from raster layers, my code takes the raster files, create arrays of data, manipulate the data and then creates a rater output with the ...
5
votes
0answers
281 views

How do I parse the file format for attributes in Raster Product Format (RPF) maps and imagery?

I'm trying to implement an open-source NITF reader (using only java, no external libraries such as GDAL or NITRO), and its mostly going OK. However I'm having trouble understanding the RPF extensions, ...
34
votes
3answers
18k 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 "...
1
vote
3answers
58 views

Cut part of raster with another raster (mask)

I have a raster which I want to cut. A second raster smaller, should be exactly the part where I want to cut the first layer (so I cut the same size as raster 2). The idea is that raster 2 become the ...
9
votes
2answers
712 views

How to add different sized rasters in GDAL so the result is only in the intersected region

I'm writing a Python method that adds two rasters and generates a single raster output. For reasons beyond my control, the extents of the input rasters are different, but they do overlap. Is it ...
4
votes
1answer
189 views

Converting a PostGIS raster back to vector

Is it possible to convert a PostGIS raster back to a line? I'd like to generalize some vector data by converting it to raster and altering the cellsize to fix 'gaps' in the vector connectivity. Once ...
3
votes
1answer
80 views

In ArcGIS 10.x, how do I select features of a point shapefile whose z values are above or below the elevations in a DEM?

I have a multi-point shapefile representing earthquake hypocenters (containing depth values) and I have a DEM raster representing an underground surface (the top of the PreCambrian basement). I want ...
0
votes
2answers
505 views

gdal2Tiles output differs from MapTiler

I'm in need to process a large batch of Landsat images with MapTiler and since the version I'm using (1.0 Beta 2) does not support multiple input files, I created a simple python script that calls ...
3
votes
1answer
485 views

USGS GeoTiff extent via GDAL

I have 2006 land cover GeoTiff from the USGS site (for a county in VA, USA). The projection is Albers Conical Equal Area Units. The download came with an HTML metadata file that tells me the geo ...
0
votes
0answers
81 views

Why Does My Raster Catalog Crashes When I Try to Zoom?

I have a file geodatabase which includes a Raster Catalog. Up until today I've had no problems with my Raster Catalog. Now, when I pull in the Raster Catalog, I can see the footprint of my rasters. ...
1
vote
0answers
37 views

More control on raster colour maps? [closed]

I'm playing with various raster layers (DEM, geophysical data such as gravity or gamma-ray, etc). QGIS does a fine job at reading and displaying them, but I'm looking for more control on symbology, ...
1
vote
2answers
163 views

What algorithm allows me to calculate the set of all points inside a polygon?

Imagine I have a polygon, which represents the countours of a building on an integer 3D map (everything is a 1 meter by 1 meter block in that map). In the image below, you see several buildings ...
1
vote
1answer
61 views

gdal_warp some geotiffs change SRS

Hello I#m quite new to GDAL. I have some Geotiffs that I want reproject. I tried that with one file and it works great, but because the TIFF has to be slightly rotated for the conversion I have some ...