Skip to main content
Solved

Exporting geodatabase attachments to JPEG?

  • November 28, 2017
  • 4 replies
  • 151 views

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

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

View original
Did this help you find an answer to your question?

4 replies

danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • 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+54
  • 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
  • December 7, 2017
nielsgerrits wrote:

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
  • December 7, 2017
danilo_fme wrote:

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!

 

 


Reply


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