Is it possible to write an image from a jpeg url into a file geodatabase? In other words, I want to store images directly from a url into a geodatabase. I need to extract the image from the url and move that image into a geodatabase. Thank you!
Solved
Writing JPEG Image to Geodatabase
Best answer by takashi
Hi @shanezentner, the File Geodatabase format doesn't support saving image (raster) data directly, but it supports BLOB (Binary Large OBject) type so you can create the BLOB data for each JPEG image with the RasterExtractor transformer and then write it into a BLOB type field in the destination FGDB feature class. You can restore the original image from the BLOB data with the RasterReplacer transformer.
In addition, if you use the HTTPCaller transformer (Response Body Encoding: Binary) to get the JPEG image from its URL, the response body could be saved into the BLOB type field directly without using the RasterExtractor.
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.