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

learn more… | top users | synonyms

2
votes
0answers
306 views

How to render a transparent raster layer on top of one or more vector layers with PyQgis?

I been trying to render a map with a 3 vector layers and one raster layer. The idea is that the raster layer should be on top of the other 3 vector layers. The problem is that even when I add the ...
2
votes
0answers
69 views

Raster layer with unique vector for each raster cell?

I have been looking around several hours, even days, but couldn't find a clear answer to my question. I am working on a WebGIS tool that interprets local geology. From more than 70 asc-files, I would ...
2
votes
0answers
206 views

QGIS - Android, loading a .tif file

I have a .tif file I would like to use as my base map on the Android version of QGIS. However, when I try and load it as a raster layer, it states that this is not a correct raster source. Is there a ...
2
votes
0answers
260 views

Different results from Spatial Analyst GP Tool and Python

I am writing a script that has to subtract one raster from another. The rasters I have represent 1) Parking Lots (1 = Parking Lot, 0 = not Parking Lot) and 2) a buffer around the Parking Lot (1 = ...
2
votes
0answers
127 views

Raster area (QGIS) problem explained

I would like to know the area that each value in a raster has... The raster I have has values from 2-15 and I would like to know the area that each value is occupaying within my polygon... Thanks! I ...
2
votes
0answers
168 views

Plot the Shortest Paths in a Grid without any clash at a point of time

The efficient algorithm needs to be done and proved for the best solution for the given problem: User inputs: (#) Size of the NxN Grid. (N); (#) No. of Paths: Z; (#) Source and Destination ...
2
votes
0answers
69 views

How to change the order of a raster in order to create mosaic with MosaicPro (Erdas 9.2)?

Is there a way to reorder the input files so I can control which ones are on top of the others?
2
votes
0answers
85 views

What are the characteristics of a raster to Netcdf layer in ArcMap?

Specifically, when trying to edit the attribute table? This is would be for work purely in ArcMap, and converting raster to Netcdf. I have a land cover layer (that I've converted to a raster to ...
2
votes
0answers
435 views

Raster Over Layer in Leaflet from GeoServer

I want to add a raster over layer onto the base layer and the raster layer is published by a Geoserver WMS. I set the raster layer's geographic coordinate system as the same as the cloudmate tiles. ...
2
votes
0answers
787 views

why preview image is blank for ImageMosaicJDBC (postgis raster) layer?

I follow http://docs.geotools.org/latest/userguide/library/coverage/pgraster.html to publish a ImageMosaicJDBC layer in geoserver. the layer seems published ok and saved, but the preview of this layer ...
2
votes
0answers
167 views

How to geocorrect in qgis?

I need to fit a utm wgs84 tiff raster to a topomap in the same projection. I use GCP and it invariably fails. The first raster uncorrected rater superimpose well, the "geocorrected" raster is ...
2
votes
0answers
80 views

Cubist Add-In for ArcMap

I'm looking for an ArcMap add-in that will create a raster based on rules from RuleQuest Research's Cubist .model files. Ideally, the add-in will give the user the option of matching input raster data ...
2
votes
0answers
211 views

Sextante - SAGA- Shape to grid question?

I have a vektor shape (Index 1-5). After using the saga tool (shapes to grid) I'm getting a raster (values 1-5). The problem is that the NO DATA area is defined as 129. Is it possible to set 129 as no ...
2
votes
0answers
206 views

Overlay Shapefile onto Geotiff

I have a Geotiff map and I want to overlay a Shapefile onto it. Ideally I want to specify a 'nice' style for the polygons e.g. have them opaque (for now all polygons should be the same). I want to ...
2
votes
0answers
378 views

Can hdf4 images be used in QGIS?

I'm trying to use hdf4 raster image in QGis 1.8. This image come from the MODIS satellite. I've loaded the file, it appears on the layer window bu it is impossible to see it on the display window. ...
2
votes
0answers
646 views

Output raster extents when using the Spatial Analyst Extract By Mask tool to clip a raster

I am using ArcGIS 9.2 and I have a simple python script that does the following : Loop over a polygon feature class (shown in red in the image below) For each record, create a feature layer to ...
2
votes
0answers
105 views

raster data expressed as percent

I downloaded NDVI greeness data from the USGS Integrated Vegetation Mapping Viewer. In the metadata it says that visual greenness values range from 0 to 100. My data is from the period ending 3/5/12 ...
2
votes
0answers
246 views

Importing Rasters to ArcSDE 9.3.1 using sderaster

OK, I am trying to import a raster to 11g using the sderaster command. It is a stand alone jpg with a world file associated, and pyramids. Am I right in assuming I cannot import a JPG, I can only ...
2
votes
0answers
224 views

ArcObjects .NET 9.3 upgrade to 10 breaks IRasterDataset.Copy(…) code

I have to upgrade an application from ArcObjects 9.3 (C# .NET) to 10. Unfortunately, there seems to be some incompatibility regarding the IRasterDataset.Copy method. The following code worked fine in ...
2
votes
0answers
338 views

Create custom pixel block size in ArcGIS 10?

I'm using the new IRawBlocks in ArcGIS 10 from the adopted sample in ArcGIS 10 SDK help and I want to create a custom sized pixel block that feeds me a block of values column by column instead of a ...
2
votes
0answers
216 views

Process to gather raster cells under features

I need to gather individual raster cells underneath a feature in a featureclass as quickly as possible. It seems that most ArcObjects functions have problem with island polygons, multi-part polygons, ...
1
vote
0answers
13 views

raster doesn't redraw to fit the canvas after a zoom in and a pan

i am working with qgis 2.8.2, c++ api and qt 4.8.5 i have a layer in the mapcanvas, this layer contains a raster ( a georef tif picture ) when i zoom in, the raster fill the entire canvas , ok but if ...
1
vote
0answers
35 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
33 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
34 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
37 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
15 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 ...
1
vote
0answers
17 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
25 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
31 views

Get distances between boundaries from an SpatialPolygon and raster pixels

I am trying to calculate the distance from several pixels of a raster to a boundary of some polygons in R as it is showed in the image. I have two problems: How to correctly define a boundary from ...
1
vote
0answers
17 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
28 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
17 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
23 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
22 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
28 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
15 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
32 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
14 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
40 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
21 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
28 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
22 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
32 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
66 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
31 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
35 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
39 views

Raster to ascii tool converting all data to one value (ArcMap)

I am having an issue when converting a raster to ascii. With extract by mask I have selected the area I am interested in and subsequently resampled the data from 5km to 2 by 2 m (required for use in ...
1
vote
0answers
26 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
25 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 ...