Skip to main content

So, I have a little issue, that I cannot get to the ground of. Maybe someone can help.

 

So, I have this TIF File, which I am trying to convert into a SHP file.

This is how the TIF looks:

image 

And this is how my FME Flowchart looks like:

 

image 

But... When I let it run I get a SHP file, yes, but it looks like this:

 

image 

Lots of triangles instead of one solid block.

 

Can someone tell me, what the issue is? What am I doing wrong?

Which params are you setting by the generalizer? I thing you want one area, you can use the tranformer dissolver before the generalizer.


This is probably caused by the Generalizer. Which is removing vertices from the original cell polygons.

 

You can use a Dissolver to merge the individual cells to bigger polygons.


What kind of output are you hoping for? Do you just want the outline of the image data here or do you need polygons with the actual values from the data.

 

If you just need the outline then you can use the RasterExtentsCoercer picking DataExtents. This should give you one polygon.

 


This is probably caused by the Generalizer. Which is removing vertices from the original cell polygons.

 

You can use a Dissolver to merge the individual cells to bigger polygons.

Thank you. That did the trick! :D


Thank you. That did the trick! :D

We used to do a lot of raster to vector conversions and used the PotraceCaller from the FME Hub, which turned out perform a lot faster than the RasterToPolygonCoercer route.


Reply