1

I have a dataframe (xyz), which I loaded in ArcGIS using add xyz-files, saved it as a new shapefile. The distance between the points is irregular. I want to rasterize the pointshape with each point as centroid in the equivalent cell.

I thought the conversion-tool: point to raster would do this automatically. But it does not give me the result I was looking for.

Example result:enter image description here

I defined the cell size as: 9950,9950 CRS is: WGS_1984_UTM_32N

ArcGIS version 10.6

Bari
  • 21
  • 3

2 Answers2

2

Simple answer

You can't

Long answer

A raster is basically an image composed by pixels. Each pixel must have the same resolution (size) as all other pixels in the image. Also, they are placed in a regular grid made by rows and columns.

As such, you cannot have in the same image pixels that are not placed exactly inside this grid and which are not side by side with the neighboring pixels (with no overlap).

What you are asking would violate these concepts, as your points are placed irregularly and so each pixel would be placed in the final raster regardless of the underline grid.

umbe1987
  • 3,785
  • 2
  • 23
  • 56
  • @umbre1987 thanks for your help. I changed the cell size by try and error since every point lay in a pixel. Even they are not centroids, I can continue working. – Bari Oct 09 '19 at 12:14
2

You could create Theissen polygons around your point data. Then, if you need them to be rasterized, rasterize them to a dataset with a fine spatial resolution. Here is a link to Thiessen Polyons. And conversion from Polygon to raster.

These tools require more ESRI advanced license levels and toolboxes that you may not have. If that is the case, look to QGIS to accomplish the same tasks. See here and here.

GBG
  • 9,737
  • 1
  • 15
  • 44
  • do you see any way to do this in R? – Bari Oct 10 '19 at 11:21
  • @Bari I am not an R guy but I found this R function to create Voronoi polygons which is the same thing as a Theissen polygon. https://www.rdocumentation.org/packages/SDraw/versions/2.1.8/topics/voronoi.polygons and this https://www.rdocumentation.org/packages/raster/versions/3.0-7/topics/rasterize – GBG Oct 10 '19 at 15:31