Questions tagged [rasterize]
107 questions
0
votes
0 answers
Vbscript scripting for adobe illustrator "rasterizeOptions"
I'm trying to make a vbscript for illustrator cc that selects all content on a layer named "test" and rasterizes it with a few settings.
I can't figure out how to use the "RasterizeOptions" class, I use vbsedit to browse trough the objects but from…

Tom
- 221
- 1
- 4
- 16
0
votes
1 answer
Rasterize random spatial points doesn't work
I'm new with R and I need to make a Raster based on a large database of random points. You can see the distribution of them on the southern half of Belgium. point distribution
My needs are :
-The raster has to match the extend of the country.
-I…

louis Deslee
- 11
- 5
0
votes
1 answer
Creating raster with circles from dataframe in R
How can I create a raster layer with filled circles centered in "c(df$lat,cd$lon)" and radius "df$radius" from a dataframe?
df <- data.frame(lat=c(40.4,42.4,42.4,42.4,42.3),
lon=c(-0.3,1,1.5,2.7,2.1),
…

ADM
- 13
- 5
0
votes
1 answer
character/factor equivalent of returned integer values from rasterize
When using raster::rasterize, I can feed a polygon attribute that is character for example state names. It converts the characters to integer values. How to find out what are the corresponding character/string for each integer value?
> rfc
class …

newbie
- 757
- 1
- 9
- 19
0
votes
1 answer
Rasterize SpatialPolygons in R is ignoring small values
I'm trying to convert a polygon shapefile with small values. Values from the colunm propEmp range from 0.000002 to 0.119419.
This is my attempt:
# Load shapefile
emp_planejado <- shapefile("./planejado/7_wgs/emp_planejado.shp")
# Load raster…

Tiago
- 143
- 1
- 2
- 7
0
votes
1 answer
How do I export into pdf in phantomjs with this link.
I have read about phantomjs and rasterizejs as well. But my link is this:…

imbadatcoding
- 57
- 5
- 14
0
votes
0 answers
rasterize.js to convert svg to png
I have been using phantomjs to create headless screenshots.
This is how I usually do it:
phantomjs phantom-crowbar.js my-path/index.html mysvg bubble.svg
phantomjs rasterize.js bubble.svg bubble.png
When this is run locally, it works perfectly and…

chumbak
- 21
- 1
0
votes
2 answers
How to rasterise and not to get duplicate information in r
I'm having trouble rasterizing a data.frame using the raster package in R.
My data.frame contains environmental data for the world oceans (temperature etc.) with their coordinates (grid 0.5*0.5), decimal longitude from -90 to 90 and decimal latitude…

Spes Alpha
- 27
- 1
- 9
0
votes
1 answer
How do I rasterize a graphic that contains path data?
I am trying to rasterize some SVG data to a PNG and it is not working. Could someone please tell me what I am doing wrong?
This code does not seem to have any data in the BitmapData object.
var color:uint = Math.floor( (Math.random() * 0xFFFF00) +…

Michael Horn
- 21
- 3
0
votes
1 answer
Get all pixels a ray passses through
I have a 2 dimensional space and a ray in that space.
I need to get the coordinates of the red rectangles in the order of the numbers.
My attempt:
I have the starting of the ray which is a double.
I have a value yaw which is the direction in…

Alice Ryhl
- 3,574
- 1
- 18
- 37
0
votes
0 answers
Overlay shapefile and rasterlayer in R?
I have a raster layer with climate data from the north of Mexico, part of Canada and the US mainland. I am trying to restrict the climate data to only the zone of the US mainland. To do this I thought it would be easy to import a US mainland map and…

user2917283
- 41
- 1
- 6
0
votes
1 answer
What does "region" and "polygon" mean in rasterize function from raster library in R?
When I use the function rasterize from the raster library in R, this message appears in the console:
"Found 6085 region(s) and 6409 polygon(s)".
There is 6085 polygons in the shapefile, so I was wondering what does these two terms mean ?

DJack
- 4,850
- 3
- 21
- 45
0
votes
2 answers
Rasterize only the edges of a SpatialPolygonsDataFrame
I've imported a shapefile using readOGR (from package 'rgdal'), and obtained a SpatialPolygonsDataFrame. When I use the 'rasterize' function (of package 'raster') I obtain this
http://img15.hostingpics.net/pics/427269plot.png
But I want to rasterize…

Karim Ghariani
- 67
- 1
- 2
- 8
0
votes
1 answer
How to create cohesive Spatial Pixels from Spatial Points Dataset
I have a Spatial Point DF spo (covering an irregular shaped area of interest). The data are not on a regular grid due to crs transformation.
My goal is a raster with predefined resolution and extent of the area of interest ( more spatial point data…

Janhoo
- 597
- 5
- 21
0
votes
1 answer
How to convert a PDF to Bitmap (rasterized) in C++ (without .NET)
How can I convert a PDF to a bitmap (as in an array of pixels, not the .bmp file format) using C++ in a way that will work on both Mac and Windows? On Mac I may be able to use CoreGraphics to do it, but that doesn't give me a windows solution. I…

taxilian
- 14,229
- 4
- 34
- 73