Skip to main content
Question

fme fills polygons and circles

  • May 3, 2019
  • 3 replies
  • 39 views

f.kemminje
Contributor
Forum|alt.badge.img+11

I am reading Autocad blocks and writing to PNG format(raster). In the reader itself I am dropping the blocks, and using imagerasteriser transformer and writing to png. But the problem is if the input feature contains polygons or circles , it comes as filled in png output. Actually its not filled element in Autocad?

I can I overcome this? or any workaround? (intersector is very costly)

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

redgeographics
Celebrity
Forum|alt.badge.img+60
  • Celebrity
  • 3702 replies
  • May 3, 2019

Couple of things you can try:

If they are areas but not filled, use the FeatureColorSetter to assign a fill color.

If they are not areas you can use the AreaBuilder to create areas out of it (but I suspect that in terms of processing it will be a big impact just like the Intersector) or maybe the MapnikRasterizer instead of the ImageRasterizer as it gives you a bit more control.


f.kemminje
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • 189 replies
  • May 6, 2019

Couple of things you can try:

If they are areas but not filled, use the FeatureColorSetter to assign a fill color.

If they are not areas you can use the AreaBuilder to create areas out of it (but I suspect that in terms of processing it will be a big impact just like the Intersector) or maybe the MapnikRasterizer instead of the ImageRasterizer as it gives you a bit more control.

@redgeographics, i dont need fill color, i need without fill


redgeographics
Celebrity
Forum|alt.badge.img+60
  • Celebrity
  • 3702 replies
  • May 6, 2019

@redgeographics, i dont need fill color, i need without fill

Ah, I misread your post. Maybe if you try forcing everything to lines with the GeometryCoercer?