The process of turning a vector into its raster equivalent

learn more… | top users | synonyms (1)

3
votes
1answer
29 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
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
1answer
29 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
61 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
18 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
10 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
98 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
70 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
66 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
33 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
33 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
36 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 ...
2
votes
1answer
124 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
53 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
68 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
105 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
71 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
178 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
47 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
530 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
22 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
48 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
71 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
169 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
25 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
70 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
48 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
106 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
144 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
44 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
93 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
138 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
41 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
212 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
114 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
225 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
94 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
71 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
95 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
276 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
142 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
187 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
1k 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
195 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
105 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
38 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
143 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
94 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
34 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 ...