The process of turning a vector into its raster equivalent

learn more… | top users | synonyms (1)

1
vote
0answers
18 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
22 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 ...
1
vote
0answers
24 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 ...
0
votes
2answers
49 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 ...
2
votes
0answers
35 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 ...
0
votes
2answers
45 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 ...
1
vote
0answers
42 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
177 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", ...
3
votes
1answer
95 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
0answers
30 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
1answer
41 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: ...
2
votes
2answers
77 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 ...
1
vote
0answers
21 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 ...
0
votes
0answers
12 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
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
122 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 ...
1
vote
2answers
85 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
210 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' ...
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 ...
0
votes
0answers
50 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 ...
0
votes
0answers
41 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
244 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 ...
1
vote
1answer
106 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 ...
0
votes
2answers
134 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
259 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 ...
3
votes
1answer
78 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. ...
1
vote
1answer
254 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
58 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
703 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
30 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
59 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
92 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
232 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, ...
1
vote
0answers
83 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
51 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
221 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
168 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
45 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
121 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
230 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
44 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 ...
1
vote
1answer
248 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
155 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
369 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
123 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 ...
2
votes
0answers
118 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
375 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
194 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
380 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 ...
2
votes
1answer
2k 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 ...