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

Problem with ST_Union

I have loaded some rasters into Postgis. I did a lot of ST_XXXX (scale, snap to grid,resample) magic to make them aligned. After executing: select r1.rid,r2.rid ,ST_NotSameAlignmentReason(r1.rast,...
1
vote
0answers
77 views

Geographic vs. projected raster cell size area

I am wondering the best way of knowing how to define the area of each raster cell in global data. Specifically, I downloaded all ~400 tiles of MODIS land cover data, mosaiced them into one, and now am ...
1
vote
0answers
31 views

Flipped (Y-axis) Raster from point cloud

I have been working on a project where I need to create rasters from irregularly spaced point clouds. I am resampling my point clouds to a regular 0.25 cm grid using a nearest neighbor method ...
1
vote
0answers
43 views

How to correctly rasterize a polygon which crosses 180E longitude?

I want to rasterize a polygon wich crosses 180E lon with gdal_rasterize. The polygon is in the WGS84 projection. I used the following command: gdal_rasterize -burn 1 -of GTiff -ot Byte -ts 1500 ...
1
vote
0answers
35 views

rasterize (R package raster) fail to rasterize island polygons?

I am having problem in rasterezing a polygon shapefile: "island" polygons (I mean polygons which are totally included into a larger one) are ignored and do not appear in the raster. My code is: seg &...
1
vote
0answers
32 views

Can't display raster in mxd as RGB

I have a script that iterates through a folder of jpgs, clips them to a grid, inserts them to an mxd, and exports them. My original problem was when I added the clipped raster from a standalone script ...
1
vote
0answers
31 views

How to get a multi-attributes vector from an SRTM raster in QGIS?

I split an SRTM raster into 3 different raster files representing the altitude, the slope and the exposure, using QGIS DEM analysis tools. How can I output a single vector file with the 3 attributes ...
1
vote
0answers
27 views

Raster images in geoserver without WMS

Is there any vailable way to access raster images through geoserver without wms?(to a large number of images)
1
vote
0answers
45 views

How do I change my “no data” values to get “true” values in raster calculator in Qgis

I have two rasters and I want to subtract the values from one of the layers. The first raster is a altitude raster and the second raster is depth values for a lake. I would like to subtract the depth ...
1
vote
0answers
40 views

how to extract line features from a raster

I have a raster of land cover types where roads are represented by pixels (1 pixel = 25m x 25m = 625 m²). Is there a way to extract line features (here roads) from a raster ? ## Create raster as an ...
1
vote
0answers
92 views

How to automate the QGIS Raster Interpolation Plugin using python console?

I have a rainfall data from 1961 to 2015 for each day of this years. I need to create a raster for each day with this configuration. Do you know how to automate this using this plugin and python?
1
vote
0answers
54 views

Spplot SpatialPolygonDataFrame and SpatialGridDataFrame

I have to plot in the same graph something like this: Then, I have elements from SpatialPolygonDataFrame class and others elements from SpatialGridDataFrame class. When I try to plot them in the ...
1
vote
0answers
50 views

Import raster using raster2pgsql with out-of-db option not working

I am using raster2pgsql to import DTED data into postgis database. I would like the data to be out-of-db, I am using the command as follows. raster2pgsql -R /home/gis/elevation/DTED/area.dt2 public....
1
vote
0answers
28 views

how to generate a raster with its spatial reference from an array(or matrix) by using pyqgis

I used arcgis to generate rasters from txt files by a certain python api,but i am not familiar with qgis,and now i need generate some rasters from txt files by using pyqgis.The resulting rasters ...
1
vote
0answers
60 views

How do I create a raster file from a geopandas dataframe storing lats, longs, values, and geometries

From a text file with time, lat, long, and cf values, I create a pandas dataframe (cf_df). Then I use the lat, long values to create a geoseries and create a geopandas dataframe from the original ...
1
vote
0answers
22 views

Access MEM data from GDAL?

I don't have any answers (yet) from from previous question on GDAL memory raster + OpenLayers, so i'll try to ask an easier question :) Anyone knows how to access GDAL memory with command lines when ...
1
vote
0answers
31 views

How to generalize a raster with noisy edges with ArcGIS Desktop?

I'm trying to generalize a raster to get clean edges (see sample and "optimal" result below). However the borders bleed into each other to a rather high degree. I hacked away at the raster using ...
1
vote
0answers
25 views

Choosing pixel size when projecting raster from geographic to projected coordinate system

I have a raster showing animal abundance in all of Canada. The raster was created unprojected in GRS 80 with a pixel size of 0.0833 decimal degrees. I was ask to project this raster to Canada Albers ...
1
vote
0answers
33 views

Polygon to Raster tool while keeping less than maximum values

I'm trying to convert a very large, detailed polygon to a raster with a coarser resolution in ArcGIS 10.1 using the polygon to raster tool. The value field is a percentage and the cellsize must be the ...
1
vote
0answers
29 views

St_intersects returning false results in postgis

I want to intersect point geometry with raster. In postgis I'm executing select st_intersects(geom,rast) from testraster1,pft_pft and the result is false even though the points are sitting on ...
1
vote
0answers
29 views

Same CRS but different units of raster cells in qgis

I have two rasters with the same CRS (WGS 84/UTM 34N). One is from a LiDAR scan and the other raster is created thru interpolation of point measurements by me. I would like to change the cell size to ...
1
vote
0answers
19 views

Kriging results in log mode and SpatialPointsDataFrame manipulation

I've a little problem, probably because I'm not fully expert with R data manipulation. I've perfomed a kriging elaboration of mydata, in log mode, as the classical meuse example, but how can I export ...
1
vote
0answers
42 views

Extracting data of two overlapping rasters

I am trying extract the data of two overlapping set of rasters (one, a stack of 35 rasters, all from the same source and the second an elevation raster) to get a data.frame of the values (mean of the ...
1
vote
0answers
19 views

Check if raster (part of) lies within a pixel - python/gdal

I have a list of the corner-coordinates of different grid (c1-c4). First i sorted these coordinates to ensure that c1 is the upper left, c2 is the upper right, c3 is the lower left and c4 is the lower ...
1
vote
0answers
45 views

Turning simple raster file into DEM?

I'm using QGIS LYON 2.12.1, and I want to turn a plain gray scale raster file (that I got from Google search) into a DEM. The aim is to apply the DEM (terrain models) function to the newly created ...
1
vote
0answers
39 views

How to create a numerical mask file with the elevation points of an area with QGIS

I'm using QGIS and I have to create a mask file (.txt) as an input for a hydrological model. The file should be a numerical grid map that represents the elevation points of a catchment area, like the ...
1
vote
0answers
33 views

Using arcpy to add several rasters

I need to do some raster/vector processing on some non-overlapping tiles. My python script needs to find the correct tiles and then extract the raster values and count them up. My script needs to be ...
1
vote
0answers
43 views

Zonal Statistics on discrete values in raster using ArcGIS for Desktop?

I am using ArcGIS 10.3 for Desktop. I am using Corine Land Cover raster data for Southern European Countries, this data gives discrete values to particular land uses (e.g. 1 = agricultural land, 2= ...
1
vote
0answers
66 views

Why does the flow direction tool in ArcGIS desktop give wrong output (unique values from 1-255)?

I ran the flow direction in ArcGIS, and received unique values ranging from 1-255. I know that these values are wrong, and should be along the lines of 1, 2, 4, 8, 16, etc multiples. The DEM is ...
1
vote
0answers
151 views

Error in opening Raster dataset in qgis “Cannot open GDAL Dataset”

Error in opening Raster dataset in qgis (see image below). Is there any suggestion as to why this is happening? and how do i correct it?
1
vote
0answers
66 views

Combining Raster and Vector data

I've created a Watershed raster data set (using the Watershed Tool) for a certain area. Within that watershed raster, there are 8 basins that appear I'm trying add the total population to each of ...
1
vote
0answers
51 views

Handling warning about DX and DY in gdal_translate from .Gtiff to .ASC?

When I try to convert Gtiff to .asc file, QGIS shows the warning: Producing Golden Surfer style file with DX and DY instead of CELL SIZE since the input pixels are non-square. Use the FORCE CELL SIZE ...
1
vote
0answers
36 views

Attribute table not changing when using Mosaic on rasters

I'm looking to "merge" 2 rasters together. One is the original base land cover raster with 6 classifications/land use classes. The other is a raster from converted polygons that are essentially "...
1
vote
0answers
28 views

Can't set transparency to a RBG raster on QGIS

I need to display an RGB raster on QGIS, with Multiband Color render type. After I set the Contrast Enhancement option to No enhancement, this is how the image is displayed. No issues so far, since ...
1
vote
0answers
33 views

I clip a raster with a vector mask in qgis, the result is correct but its a little bit of, why is this?

On one side the result is "bleeding" over the vector on the other side its more than one raster pixel from the vector on the inside. How to correct this? http://i.imgur.com/d0v6mqt.png http://i....
1
vote
0answers
10 views

Adding .tif files with various bit depths to a raster mosaic

So I have a few georeferenced .tif files that I need to add to a raster mosaic, however the problem is that some of these are 8 bit unsigned TIFFs while others are 1 bit unsigned. After adding all ...
1
vote
0answers
46 views

G_Malloc error for Grass module(r.stream.extract) in R

I am having a big issue of this G_malloc Error while using a module of Grass (6.4.4) (r.stream.extract) in R. Initially I thought my computers configuration was low, So I switched to 8gb Ram 64-bit ...
1
vote
0answers
55 views

Calculating flow distance of pixel from outlet using R?

I have created these raster files for a river basin: DEM Flow Direction Flow Accumulation Also, I have another raster with values of rainfall. All the 4 rasters have same spatial extent, ...
1
vote
0answers
32 views

Theory notions on exporting bufr data in geotiff format

I'm trying to export some bufr data from polar satellites/sensors like DMSP, ASCAT, ATMS etc in geotiff image. When my program rasterizes satellite data (brigthness temperature for example) by ...
1
vote
0answers
102 views

Raster layer not visible after changing color rendering in Qgis

I created a new raster and it appears in the layer list, its visible on the screen and the values seems to be correct. When I change the "band rendering" from "Singleband gray" to Singleband ...
1
vote
0answers
39 views

QGIS Time manager

I am trying to use the Time Manager plugin in QGIS to create a time series of some raster data. I get the following error message: AttributeError: 'QgsRasterLayer' object has no attribute '...
1
vote
0answers
32 views

Adding value in raster file from attribute table in QGIS?

I have a raster (in tif format) with one band (an ID number). I also have an attribute table with several fields(columns) for each ID number of the raster file. For instance, raster.tif: 1 band (ID) ...
1
vote
0answers
106 views

Unable to load raster from PostGIS into QGIS

I'm trying to load raster from a postGIS connection into QGIS, but I'm getting the following error: PG: dbname=EnvModel host=127.0.0.1 user=postgres port=5432 mode=2 schema=public column=rast table=...
1
vote
0answers
41 views

Create a Geotiff with different colors

I have a geotiff raster image. I have estracted the WritableRaster, the envelope, and the gridsampleDimension I need to create a new geotiff using Geotools. GridCoverageFactory gcf = new ...
1
vote
0answers
41 views

GeoServer: Use oracle as raster store without spatial extension

Is it possible to store raster data (e.g. GeoTIFFs) in an oracle table and access it from geoserver without using the oracle spatial extension/GeoRaster? I would store the images as blobs, but I don't ...
1
vote
0answers
45 views

What is the file format

I have been sent a text-file (see below) with '.txt' extension. I would like to process it in ArcGIS or any other GIS-tool. Unfortunately I do not know how to automatically load the file as ArcGIS ...
1
vote
0answers
27 views

Map Algebra with Zero-inflated regression weights

I have a non-normal count variable y and 6 rasters x1 to x6, each mapped onto a (n x n) grid. I have applied a zero-inflated negative binomial regression using the pscl package of R. I now need to ...
1
vote
0answers
81 views

How to create 10 day averages of a multiyear daily raster time series?

I have a set of daily modis LST rasters (.tif) over a roughly 13 year period (2002-2015). I would like to group them by 10 day periods, i.e. bin 1 = julian day(jd) 0-9, bin 2 = jd 10-19, etc so that ...
1
vote
0answers
36 views

ArcMap calculate statistics every time I open jp2

I have jp2 raster files, every time i open one of these files ArcMap caluclate the statistics and histogram. Can I stop this I am using ArcGIS Desktop 10.3.1
1
vote
0answers
79 views

Extract By Mask Moving Pixels

I am creating some statistics based on certain values. The issue I am having is that the extracted values are not the same as the values in the original raster. This creates incorrect output, and I ...