Skip to main content
Question

Hi, I have an issue about the RasterPolygonCoercer transfrormer.

  • October 5, 2023
  • 2 replies
  • 50 views

I want to turn my vector layer into a raster layer and then back into a vector layer to simplify it. When I used NumericRasterizer, I grouped my layer by category, but when I convert it back to a vector layer, it's not working. When I tried to rasterize it without grouping it, it worked fine, but I lost the attribute I was interested in.scriptrasterconvolverrasterconvolver_1polygonize_sans_cat

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+62

Just a completely other way: have you tried the vector generalization transformers (such as the Generalizer and the AreaAmalgamator)? I think going from vector to raster and back to vector may introduce a significant overhead.


  • Author
  • October 16, 2023

I did the AreaAmalgamator multiple times then two times the Generalizer transformers and it worked ! Thanks a lot