Skip to main content
Solved

Exporting geodatabase attachments to JPEG?

  • November 28, 2017
  • 4 replies
  • 175 views

sofia
Contributor
Forum|alt.badge.img+5
  • Contributor
  • 16 replies

Hi,

I would like to export images from a geodatabase attachment table to JPEGs.

In the process I would love to write the geoobject feature attributes to name the jpeg.

The attachments are joined to geoobject features by a Global ID. I would like to name the jpegs with attributes from "Stadsvandring" and "ID_nr" columns.

 

I appreciate tips on what translators could be used!

/Sofia

Best answer by nielsgerrits

Greetings,

 

I am exporting data from an ESRI File gdb to DXF files (fanned out).

 

I would like to update Entity values from a list, rather than opening the DXF in a text editor and manually updating the values.

The format is:
1001
ACAD
1000
type=NT

I want to set the values to:

1001
Trimblearea
1000
dxf name (sourcelayername)

 

I would appreciate anyone sharing any pointers or a simple workbench, that illustrates this.

 

Regards,

 

Clive

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.

4 replies

danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2077 replies
  • November 28, 2017

Hi @sofiamvalentin,

How is the structure you Source data Geodatabase? Could you share us a sample of your data?

Thanks,

Danilo


nielsgerrits
VIP
Forum|alt.badge.img+60
  • 2940 replies
  • Best Answer
  • November 28, 2017

Greetings,

 

I am exporting data from an ESRI File gdb to DXF files (fanned out).

 

I would like to update Entity values from a list, rather than opening the DXF in a text editor and manually updating the values.

The format is:
1001
ACAD
1000
type=NT

I want to set the values to:

1001
Trimblearea
1000
dxf name (sourcelayername)

 

I would appreciate anyone sharing any pointers or a simple workbench, that illustrates this.

 

Regards,

 

Clive


sofia
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • 16 replies
  • December 7, 2017

Not having Workbench on my current device so no sample but this is quite easy. First of all you need to connect the attachment table to the data. FeatureMerger will do this, primary key in datatable, key in attachment if I recall correctly. Then I use a RasterReplacer to create the image out of the blob. JPEG Writer to write to file, concat the name out of the attributes.

Perfect, FeatureMerger and RasterReplacer worked very well. Thank you so much for the tip!

 

 


sofia
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • 16 replies
  • December 7, 2017

Hi @sofiamvalentin,

How is the structure you Source data Geodatabase? Could you share us a sample of your data?

Thanks,

Danilo

Thank you for the response, but the featuremerger and rasterreplacer workflow was simple and fast!