Skip to main content
Solved

RasterExtractor duplicating one blob value for all input feature types

  • November 18, 2024
  • 2 replies
  • 63 views

aaronp_osni
Contributor
Forum|alt.badge.img+4

Hi folks,

I have multiple images I need to extract blob data for. When I input my individual feature types into the Raster Extractor (eg. 32 JPEGs, as shown in image below) the raster extractor seems to duplicate the first image for all of the feature types, so I end up with a blob of the first image for all of my individual feature types:

This results in the first image duplicated, as a blob, for all 32 features - when I require a unique blob value for each input feature. The only workaround I’ve found is to have a raster extractor for each feature type, which is not suitable.

Any help is greatly appreciated.

 

Kind regards,

 

Aaron

Best answer by hkingsbury

Are you sure they’re all the same? the first (and possibly last) section of the blobs will very possibly be the same (due to the same file format) but the core of the blob will be different

Additionally, having separate readers for all you images is a pretty inefficient way of reading in the data, i’d recommend using a wildcard

c:\folder\to\images\*.jpg

http://docs.safe.com/fme/2013/html/FME_QuickTranslator/content/fme%20configuration/dataset_wildcards.htm

 

 

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.

2 replies

hkingsbury
Celebrity
Forum|alt.badge.img+65
  • Celebrity
  • Best Answer
  • November 18, 2024

Are you sure they’re all the same? the first (and possibly last) section of the blobs will very possibly be the same (due to the same file format) but the core of the blob will be different

Additionally, having separate readers for all you images is a pretty inefficient way of reading in the data, i’d recommend using a wildcard

c:\folder\to\images\*.jpg

http://docs.safe.com/fme/2013/html/FME_QuickTranslator/content/fme%20configuration/dataset_wildcards.htm

 

 


aaronp_osni
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • November 22, 2024

Thanks so much. Yes, it turns out the blobs were unique. I used a duplicate filter to determine this. However, in the visual preview the same image was displaying for each record. This led me to believe the image was being duplicated. And yes, the first and last part of the blob was the same! 

Also, I’ve now used a JPEG reader and merged the feature types. This is a lot more efficient. The reason I didn’t do this before was because the same image displays for each record. I don’t trust the visual preview anymore!