enter image description here

Is there any way to convert raster pixels to vector cells? I mean each pixel to a polygon.

I tried the SAGA tool 'Raster values to points' by choosing cells option instead of nodes option.

As a result, I got polygons but each one is not exactly on the pixel. When I tried with nodes option, I got points but they are not in the center of the pixel.

  • The anchor point of a pixel may be either at the centre of a pixel or at the top-left corner of a pixel. Did you see the latter behavior? – user30184 Apr 17 '19 at 13:26
  • I updated the post and I added a picture of what I got. I don't understand what is the latter behavior. can you explain what you wanted to say please ??? – Namoat Apr 17 '19 at 14:21
  • The latter alternative means that when pixel is compressed into a point the point is located at the top-left corner of the pixel. But what you have does not seem to suit with either alternatives. – user30184 Apr 17 '19 at 14:28
  • ook, so do you have any other idea I can try to convert my pixels to cells(polygons)?? thanx – Namoat Apr 17 '19 at 14:42
  • The right tool seems to be Vector creation - Raster pixels to polygons. Another tool, Raster pixels to points, is placing points into the centre of pixels. – user30184 Apr 17 '19 at 18:14

OpenJUMP PLUS seems to make perfect job with option Raster - Vectorialize - Create Polygon Grid from Raster. User must open the raster image as Sextante raster image. Unfortunately OpenJUMP tends to have problems with opening some kind of images.

enter image description here

  • I just tried it. It is doing it perfectly . thanx – Namoat Apr 18 '19 at 7:23
  • @Namoat - If this answer solved your question, please upvote and mark it as accepted by clicking the green-faded tick on the left-hand side :) – Joseph Oct 9 '19 at 10:08

I use Global Mapper for this type of conversion.


You could try to classify the raster cells based on the range of values and then run a tool like raster to polygon.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.