Skip to main content
Question

save Geometry to a jpg file

  • February 21, 2025
  • 3 replies
  • 34 views

fme_hans
Contributor
Forum|alt.badge.img+5
Hi,I read sdo_geometry and make a cutout of a small area. I want to save this cutout as a jpf file. Is that possible?I do see jpg writers, but I suspect that some preparation needs to be done before you can save geometry data as jpg.

3 replies

koulsoum
Contributor
Forum|alt.badge.img+10
  • Contributor
  • February 21, 2025

Hi ​@fme_hans you can use the Transformer ImageRasterizer and choose the cellspace you want. If you have to write several images you can use the group by mode


nielsgerrits
VIP
Forum|alt.badge.img+54

As an alternative you can use the MapnikRasterizer, you can then also overlay the vectordata with a reference image.


fme_hans
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • February 21, 2025

How to set the color for the Imagerasterizer? Ik get this error: INVALID_VECTOR_GEOMETRY_COLOR

In the reader i have checked fme_color and fme_fill_color.

I am testing with one polygon which comes from an Oracle spatial reader.

 

edit: found something: FeatureColorSetter


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings