The process of turning a vector into its raster equivalent

learn more… | top users | synonyms (1)

0
votes
0answers
20 views

Making raster from vector

Have you ever met with nan value in raster? Im making raster in qgis from vector (one point) and all I have got is nan value and black raster.
3
votes
0answers
33 views

Soft edges for interpolation output

I've built the following heatmap using QGis 2.8.2's Raster->Interpolation feature. It looks almost the way I want: The background layer is Google Maps tiles by using the OpenLayers plugin. ...
0
votes
0answers
20 views

Error during rasterization?

Cities are SpatialPointsDataFrame cities<-readOGR(dsn=".",layer="cities") r.raster <- raster() extent(r.raster) <- extent(cities) res(r.raster) <- 100 cit.rast<- ...
1
vote
0answers
28 views

Elevation data from 3D shapefile of buildings to raster DEM

I have acquired LoD2 building models in the 3DShape format (Polygon ZM). This LoD2 data needs to be prepared for a R-script of solar irradiation calculations on roof surfaces, but which can only ...
0
votes
1answer
36 views

How to rasterize a shapefile in R? [duplicate]

I have several shapefiels that i have to turn into raster. Here's the coastline coastline<-readShapeSpatial("shp") r <- raster(ncols=90, nrows=45) jd<-rasterize(coastline,r) plot(jd) ...
5
votes
1answer
182 views

Create raster with grid cells values based on area covered by polygons

I have a polygon data with area covered by the forests (data is here - https://www.dropbox.com/s/zgckliydalljw6a/sp_data.zip?dl=0). I want to convert polygons to raster. The value of each grid cell ...
0
votes
0answers
12 views

fail to convert polygon to raster

I have a shapefile with 520 districts each with a value. I am trying to convert this shapefile to raster using feature to raster tool. Input feature: myshapefile Field: value Output raster: ...
0
votes
1answer
31 views

Create ID for each string attribute in QGIS

I'm trying to rasterize a vector layer by using an attribute filed stored as string, I got the confirmation through the GDAL mailinglist serv that gdal_rasterize does not work with string field. So my ...
0
votes
0answers
11 views

Problems with rasterization through QGIS Modeler

My goal is to rasterize a vector polygon-based shapefile. Whenever I run in the modeler or even from the Processing Toolbox the Rasterize tool of GDAL, I receive a raster layer that's not good for ...
1
vote
1answer
30 views

Converting polylines to raster, assigning value of total length of lines within cell?

I have a polyline shapefile representing a road network. I want to rasterise this data, with the resulting values in the raster showing the total length of lines that fall within the raster cell, ...
0
votes
0answers
14 views

Rasterizing a SSURGO shape file with GDAL — Choosing right number of Pixels

I am trying to rasterize a SSURGO shape file into UTM coordinates with 5m resolution. My first step gives me a GeoTiff with 3000x3000 pixels in lat/lon. gdal_rasterize -a MUKEY -ts 3000 3000 -l ...
1
vote
0answers
54 views

Point to raster: QGIS vs ArcMap

I have an equidistant point grid (0.5m) and created a raster from it in QGIS and ArcMap, with different results: QGIS: Raster -> Conversion -> Rasterize Result: raster, with points in the top left ...
0
votes
1answer
35 views

Rasterizing a simple sloped line

I am aware how to rasterize a 2D line, but if I have two coordinate triplicates (x1,y1,z1) and (x2,y2,z2), how can I efficiently rasterize the resulting connecting line such that the raster cell ...
1
vote
0answers
58 views

Convert polygon to raster and give value to null cells

Is there a way to convert polygon features to raster while also populating null cells with a specific value? As in, can I create a raster from a polygon shapefile and have the tool populate all null ...
1
vote
2answers
90 views

Problem with contour lines thickness in bigger zoom levels

I'm a beginner user of GDAL tools. I'd like to rasterize contour lines into Tiff file (for example such region: N47E006), everything works for quite small zoom levels e.g. 10... but the problem is ...
0
votes
0answers
37 views

Rasterize and union problem

i've done the union first and then rasterized it. But now i want instead of that, to rasterize each one and then merge it as one. How do i do that? I mean without the union first off. ...
1
vote
1answer
59 views

Problem rasterizing

I am trying to rasterize a shapefile using the "rasterize" tool in qgis. The problem is that the resulting raster doesn't seem to rasterize correctly... The teal and purple lines show water flow, ...
0
votes
1answer
66 views

Problem with attribute field in rasterizing tool QGIS

I am trying to rasterize a vector layer using the "rasterize tool" in QGIS... The problem is that there is no "attribute fields" available to choose from (even though they exist!)...
0
votes
1answer
28 views

Location based service with normal image

We have an image for a park which has been rendered like this: Now we want to add some geographic service based on the data: building an Android Application with the following features: Display ...
0
votes
1answer
122 views

How to turn shapefiles into raster and aggregate them into one raster

For example i tried this but it doesn't work rast_a<-raster(extent(shp_1)) res(rast_a)=100 rsh<-rasterize(shp_1,rast_a) rast_b<-raster(extent(shp_2)) res(rast_b)=100 ...
2
votes
1answer
73 views

Why are there strange horizontal lines in raster data?

I have a feature class (stored in a file geodatabase) containing information on land use for the Amazon rainforest. It is very detailed and looks like this I need to convert this shapefile to a ...
1
vote
0answers
108 views

create image out of geojson (gdal_rasterize?)

Short version: I need to know how I can convert a .geojson-file to an according .png-file (or any other image format) long version: I have a .geojson which was created by gdal_polygonize from a .png ...
1
vote
1answer
55 views

gdal RasterizeLayer gives different extent to arcpy PolygonToRaster

I have an existing arcpy script which uses PolygonToRaster_conversion to convert a polygon shapefile to raster (tiff). I am now exploring GDAL/OGR and have used the cookbook approach to carry out the ...
0
votes
0answers
34 views

Creating raster from points that conforms to a reference geometry using PostGIS, python, QGIS

Please forgive my ignorance, I'm fairly new to processing GIS data. My bread and butter is statistics but I'm now working on a project that requires more data preprocessing and cleaning than I've ...
2
votes
0answers
47 views

Stretching of geometry when rasterizing vector data on Google Maps

I'll start with a quick backstory on what I am trying to achieve. I'm working on an offline Android GIS tool and people are throwing giant datasets at it. It converts these into Google features (V2) ...
2
votes
1answer
145 views

Why processing.runalg(“gdalogr:rasterize”…) is not creating out files when running in the QGIS 2.6.0 console?

I want to use the QGIS python scripting functions to turn to rasterize a point vector using many different dimensions. Right now my code looks like this: import processing RasterPixelSize = ...
1
vote
0answers
74 views

Feature to Raster Error

I am attempting to rasterize a point layer using the Feature to Raster conversion tool. Each attempt, I receive the following error codes: ERROR 010429: Error in GRID IO: CellLyrCreateInternal: ...
2
votes
1answer
60 views

Point to Raster vs Feature to Raster

I am converting point vector data to a raster dataset using nearest neighbor. I am using arcgis 10.2. The first step is to use the conversion toolbox, but there are two possible options: Point to ...
2
votes
1answer
425 views

convert vector (point shape) to raster (tif) using python gdal lib in qgis

I'm trying to convert a vectorlayer (point- shapefile) to a raster-dataset (tiff) using python gdal-library in qgis. On Graphical UserInterface I simple choose the menue ...
2
votes
2answers
125 views

rasterize produces a raster full of NA values

I am having trouble converting a polygon to a raster. The desired raster is created, however all its values are equal to NA. require(rgdal) require(raster) #download a shapefile with 2010 census ...
0
votes
1answer
66 views

PostGIS Raster ST_AsRaster: error when creating raster from TIN surface

ERROR: rt_raster_gdal_rasterize: Could not create OGR Geometry from WKB ********** Error ********** ERROR: rt_raster_gdal_rasterize: Could not create OGR Geometry from WKB SQL state: XX000 ...
1
vote
1answer
26 views

Processing feature string fields to raster

I am using the GDAL python bindings. I am trying to rasterize a layer from an arcinfo coverage file, but the values I need to rasterize I have to calculate from string fields. OGR can not write to ...
2
votes
2answers
83 views

QGIS Layer Style - Adding intensity/color if elements overlay

I have a layer with thousands of points. I have been asked to represent this layer in way that can be easily seen the level of concentration of points in the layer. So when there is much point ...
3
votes
0answers
60 views

point feature to raster with count of unique points

I am using ArcGIS 10.1 with Python 2.7 I have a point layer with thousands of points that each hold an id value of its owner. One owner can have multiple points, meaning that points can have the same ...
2
votes
1answer
26 views

FME 3D forcer not accepting user parameter

I'm creating a work bench to turn a polygon dataset into a raster and then adds it to various existing rasters. I want to use a parameter so I only need to create one workspace and the user can select ...
0
votes
1answer
341 views

gdal_rasterize error: “attempt to create 0x0 dataset is illegal..”

I'm trying to use gdal_rasterize to convert a polygon shapefile into a raster, where the value comes from the 'COVTYPE' attribute. I try calling gdal rasterize like so (I'm calling from within a ...
1
vote
0answers
90 views

How to define the output raster resolution when rasterizing a vector?

I have a vector file which I want to rasterize and adjust its resolution to the reference map, in QGIS. I tried spatial_sync_raster function in R to set all the rasters into the same resolution as ...
2
votes
1answer
56 views

Combining many polygons from multiple datasets into one raster

I am a beginner in ArcGIS. I have a query regarding merging many polygons to form one big polygon, and then rasterizing it. The polygons are from varied datasets and represent different ...
5
votes
2answers
191 views

GDAL (or other open-source) equivalent of Arc's Point To Raster Tool

I'm trying to convert a python script that relies on arcpy into one that only relies on open source modules, but I'm having some trouble. The bulk of my processing lies in one Arc tool "Point to ...
1
vote
0answers
16 views

QGIS rasterize a styled layer

I disabled information from a vector layer with a styledefinition. Is it possible to rasterize only the styled information in QGIS?
1
vote
1answer
45 views

Convert shapefile to multiple single-value TIFFs

I have a shapefile that is composed of multiple overlapping polygons that represent extent of habitats of certain species. Here is a 1 MB example of such file from International Union for the ...
1
vote
0answers
68 views

Geoserver does not render polygon properly

I am trying to a get polygon layer from CSV file. I chose to do it via rasterization and polygonization in QGIS, howerver, Geoserver has problems to correctly render some polygons. This is how the ...
3
votes
4answers
352 views

Convert line shapefile to raster, value=total length of lines within cell

I have a line shapefile representing a road network. I wish to rasterize this data, with the resulting values in the raster showing the total length of the lines that fall within the raster cell. The ...
1
vote
1answer
78 views

Rasterizing vectors in SAGA via saga_cmd - how to set the exact cellsize, extent (basicly grid system) based on other grid?

I'm doing some batch analysis using SAGA's saga_cmd. Basicaly I have a lot of grids and shapes (mainly generated in SAGA by vectorization of raster classifiaction results). Now I'm trying to make ...
0
votes
0answers
16 views

Holes in Rasterized DEM from QGIS [duplicate]

I converted vector contours to a raster DEM using the rasterize command in QGIS. Generally the DEM looks correct, but the are a large number of holes in the DEM. The holes have a value of zero when ...
3
votes
0answers
298 views

Difference between feature to raster and polygon to raster

(I'm using Arc 10.1) I'm trying to rasterize a data set. I have a shapefile with geographic coordinates (GCS_GDA_1994) which I want to convert to a raster with 100m grid cells. So I need to project ...
1
vote
0answers
268 views

Rasterize shapefile using another raster's size and resultion

Rasterizing a vector (shp) I face the following problem: I want my output file (the rasterized vector) to have the same resolution and dimensions as an existing raster. If I understand the interface ...
1
vote
1answer
256 views

syntax error when using gdal in python console QGIS

When I run the following code in the python console in QGIS I get a syntax error: import osgeo.gdal gdal_rasterize [-b 1] [-burn 255] [-a Pixelkost] [-te 170000.2 168000.27 177999.8 177999.8] ...
3
votes
2answers
415 views

How to convert a point layer to a raster grid that shows the frequency of points per cell in QGIS

I have a point layer that shows the distribution of a species. Is it possible in QGIS to convert this point layer to a raster grid in which the value of each cell corresponds with the amount of points ...
0
votes
0answers
226 views

Make a raster with pixel scale 100 by 100 meter with gdal_rasterize

I'm asking here, because, I've got great results last time. Here it is the next of my adventure with gdal_rasterize, I want to make a raster picture where each pixel correspond to a square of 100 by ...