The process of turning a vector into its raster equivalent

learn more… | top users | synonyms (1)

8
votes
1answer
4k views

GDAL RasterizeLayer does not Burn All Polygons to Raster?

I am trying to burn a shapefile to a raster using GDAL's RasterizeLayer. I pre-create an area of interest raster from a different shapefile, given a specific pixel size. This AOI then serves as a base ...
2
votes
0answers
35 views

QGIS GRASS: Error when converting vector to raster

I am trying to convert a vectorial layer (a grid of regular points with values, representing probabilities, associated to each point). I tried to use QGIS, but I got this error: ERROR 1: Attempt to ...
4
votes
2answers
153 views
+50

Convert vector point data (shp) to raster (tif) using QGIS

Overall Question: How can I get the rendered tif image to keep the modifications seen in the image produced by map canvas? I am writing a standalone Python script. I have simplified my code below ...
0
votes
0answers
13 views

create individual buffers from vector points and then batch convert those buffers to rasters? [on hold]

following on from my previous question draw concentric circles that correspond to the free space loss formula I now want to perform this for a large amount of points. I tried using the modeller in ...
0
votes
1answer
313 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!)...
3
votes
0answers
131 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 ...
3
votes
0answers
27 views

Rasterize in QGIS using point as centroid (not vertex)

I'm attempting to make the full switch from ArcGIS to QGIS, but there are a few snags I'm hitting along the way, one of which is in the GDAL "Rasterize" function. My process goes like this: I have a ...
1
vote
1answer
39 views

Rasterizing in R - how do resolutions work? (e.g. population within a circle)

I'm creeping into building surfaces - useful for a number of public health projects - and can't seem to make sense of what's happening with the resolution and raster building process to get what I ...
2
votes
1answer
45 views

Point to Raster Arcmap - incorrect pixelvalues?

I am having a problem using the arcmap point to raster tool. I have x/y coordinates for a set of data, and 1464 (2 months worth of hourly data) separate files to convert from an excel with X/Y/value ...
3
votes
1answer
30 views

raster::rasterize set wrong values with enclosed polygons

Similarly to this post rasterize (R package raster) fail to rasterize island polygons? the rasterize function in the raster package is giving me problems with enclosed polygons. In my case, some ...
2
votes
1answer
47 views

Rasterize points in a map : result is not leasible. How to make the raster (points) bigger?

I have a vector layer (points) that I rasterized based on one attribute of the vector layer. I chose the GRASS GIS 7 command : v.to.rast.attribute. The raster layer appears in the map, but is not very ...
0
votes
0answers
30 views

How to rasterize points in python?

I have a problem rasterizing a vector layer base from Count values. I am getting a black image. Below is my sample code base fromhttps://pcjericks.github.io/py-gdalogr-cookbook/raster_layers.html. Any ...
1
vote
0answers
24 views

Non-HTML circle text labels on Leaflet map

I need to save image of Leaflet map with polygon, multi-polygons, circles and text below every circle. I have geojson file with circle and polygon coordinates (lat and lng). I managed to get image of ...
1
vote
1answer
23 views

Error in rasterToPolygon trying to get several coverage layers

I have a very strange problem: I am trying to get a raster with coverage from 0 to 1 in each cell for types of vegetation, I started with a raster of vegetation type, but I needed a raster with 12 ...
3
votes
1answer
187 views

Rasterize vector while adjusting extent and resolution to reference raster?

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 ...
1
vote
0answers
30 views

Polygon to Raster: Cells with multiple values

I'm trying to use R to rasterize a number of shapefiles and I'm having trouble dealing with cells on the edge of shapes, in other words the if a cell is partially covered by an NA value and partially ...
4
votes
2answers
5k views

Converting point grid to raster using GRASS?

If I load the original .csv file, I then have a map of the African continent represented by 14069 data points covering it at 40x40km resolution. Each data point shows solar radiation means across the ...
1
vote
1answer
306 views

Rasterization of point vector in QGis: how to align the resulting raster to an existing one?

I have a point shapefile, with no associated .prj file, that I have to rasterize. Each point should be transformed into a pixel of 30x30 size aligned to the pixels of a Landsat image (the point file ...
2
votes
2answers
188 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 ...
0
votes
2answers
56 views

QGIS Convert vector classification map into raster

I tried to convert vector classification into raster file for accuracy analysis following these suggestions My vector data is like this: However, none works The first one, interpolation, resulting ...
0
votes
2answers
50 views

Converting dimension feature into image using ArcObjects?

I have a task to convert dimension feature into image with ArcObjects. I need to get real image that I see in ArcMap (with right size and spatial reference, of course) instead of turning feature ...
2
votes
0answers
37 views

How to use GDAL RasterizeLayer (python binding) -where flag

I am trying to use GDAL RasterizeLayer python binding, but I can not find a way to use the -where flag. The 'pure' GDAL command I am trying to run is: gdal_rasterize -b 1 -burn 0.00001 -where 'DN=...
2
votes
2answers
85 views

Export vector layer to raster in QGIS

first of all I am not experienced in GIS. I've tried if a few examples/tutorials similar to my problem to see if they could be applied, but yet nothing works. Problem: I have a Shape file imported ...
5
votes
5answers
1k 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
0answers
47 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
2answers
272 views

Rasterizing polygons with the function “gdal_rasterize” in R

I'm using the function gdal_rasterize in R (package gdalUtils) to convert a polygon shapefile into a raster. Here is my code: r.test <- gdal_rasterize(src_datasource="df.shp", dst_filename="test....
5
votes
1answer
685 views

Turning multiple vector layers into one raster in ArcGIS Desktop?

I want to make a raster out of the multitier view I have in ArcMap 9.3.1 . The layers in my ArcMap come from several datasets. I know there is a 'Feature to Raster' tool, but it converts one ...
3
votes
1answer
161 views

Rasterize vector file using gdal.RasterizeLayer() without losing attribute information in python

Is it possible to rasterize a vector file with gdal.RasterizeLayer(), saving attribute as Raster value ? Like gdal_rasterize can do with : gdal_rasterize -a attribute -ts rasterXsize rasterYsize -l ...
1
vote
1answer
48 views

Arguments error when running LineDensity scripts in arcpy

I'm trying to use LineDensity tool on polyline features. The shapefile is small and includes some invalid geometries. The code I use is an adaptation of an ArcGIS Help script. Here is my code: ...
1
vote
0answers
34 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 ...
11
votes
4answers
9k views

Burning stream network into DEM layer using ArcGIS Desktop?

I am working on a DEM that in an area where there is little relief. I would like to 'burn' the river network into the DEM so I can calculate flow accumulation and flow length accurately. I am ...
0
votes
0answers
13 views

3ds city model to Digital Surface Model

I've got building and terrain models of a city in 3DS format. I'd like to transform these models to tiff images in order to create some kind of digital surface model (pixel value = height or altitude) ...
2
votes
1answer
490 views

Choosing Point to Raster vs Feature to Raster in ArcGIS for Desktop?

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 ...
1
vote
0answers
22 views

Creating a contiguous raster stack from different sources (vectors and DTM bands)

This is a conceptual question I've been trying to implement for a while, and not being very good at raster/data processing or python I'd like to hear best practices in dealing with an extent such as ...
2
votes
0answers
48 views

Create a raster dataset containing the number of returns from a las file? [duplicate]

I already created DEMs, DTMs, DSMs from a LiDAR (LAS) file with a little help from the internet. However, right now I'm kind of stuck in my research. I want to create a raster file which contains ...
0
votes
1answer
146 views

R: problem with rasterize getCover - not working

Are there any known bugs with the getCover argument in the rasterize function? (R package 'raster'). or has anyone got a fix for the following: I have a series of landcover polygons, here is a small ...
5
votes
2answers
380 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 ...
0
votes
1answer
36 views

Problems when trying to Convert polygon to raster

Well, I'm having a problem when trying to convert polygon to raster on ArcGis 10.0. Here is the thing: Ther output raster is much smaller than the input polygon, and the coordinate system is diferent ...
1
vote
2answers
96 views

What error am I doing when rendering OpenStreetMap roads and buildings in Minecraft?

I'm trying to create a Minecraft map of the Ernst Reuter Platz in Berlin. For this purpose, I'm using OpenStreetMap data. This is what the place looks like on a 2D map: When I render the roads and ...
1
vote
0answers
416 views

How to Convert from Point to Continuous Raster in ArcGIS 10.1?

I have a vector point dataset that I would like to convert to raster. The point-to-raster conversion tool creates a raster grid with spaces between each grid cell. I want to create a 'continuous' ...
1
vote
2answers
532 views

How to convert a shapefile polygon to raster in C#

Does anybody know a way to convert a polygon (vector) in a shapefile to raster data WITHOUT using ArcGIS Explorer Desktop? Is there a way to do this 'progmatically' in C# (WPF with ArcGIS runtime ...
0
votes
0answers
63 views

why ENVI displays colormap classified image as a RGB image

I want to do accuracy assessment in ENVI. My ground through image has 19 classes (Unsigned 16bit) when I opened it ERDAS and ARCGIS. But when I opened it in ENVI, ENVI displays these image as a RGB ...
3
votes
1answer
83 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
44 views

reproject satellite orbit values from irregular grid to regular grid

I have a ncdf file containing measurements covering a satellite orbit. The ncdf contains the corresponding latitude / longitude fields but they ar irregularly spaced. I tried rasterizing the values ...
1
vote
1answer
133 views

Under what situation do we use Rasterisation or Vectorisation?

As mention in the title, Rasterisation is the conversion of vector maps to raster grid. While Vectorisation is the conversion of raster grids to vector maps but under what situation would we use these?...
0
votes
2answers
189 views

Preventing shapefile lines becoming rasterized when exported as PDF by ArcGIS for Desktop?

In ArcGIS for Desktop some Line feature shapefile becomes raster when exported as pdf. In exported PDF the line features layer is not present as it becomes raster. The line features are mixed with ...
0
votes
1answer
452 views

What is the difference between the “feature to raster” and “polygon to raster” tools when converting a polygon to a raster?

I am currently trying to get a group on connected polygons that are within the same feature to a raster so I can reclassify it for cost analysis. I noticed that ArcGIS for Desktop has a "feature to ...
1
vote
1answer
306 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 ...
5
votes
1answer
785 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
1answer
62 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) ...