Skip to main content
Question

Hi all. I have a PostgIs table that has polygons and a attribute with a market name. I'd like to export all of the data into a GDB file using the market name as a different layer for each one. Is that possible? Any help would be appreciated.

  • March 4, 2021
  • 3 replies
  • 8 views

Bonus points if I can reproject them to UTM per layer! Thanks!

3 replies

redgeographics
Celebrity
Forum|alt.badge.img+59
  • Celebrity
  • 3700 replies
  • March 5, 2021

Yes, that's possible.

You can set the output table name to the value of the market name attribute in the writer feature type. That'll create a new table for each unique value for that attribute.

Reprojecting can be done by using a Reprojector or ESRIReprojector (or specifying source and target projections on the reader and writer respectively)


  • Author
  • 6 replies
  • March 6, 2021

Yes, that's possible.

You can set the output table name to the value of the market name attribute in the writer feature type. That'll create a new table for each unique value for that attribute.

Reprojecting can be done by using a Reprojector or ESRIReprojector (or specifying source and target projections on the reader and writer respectively)

I thought I tries that and the writer wrote out multiple GDBs rather than a single GDB with muliple layers per market. I'll try again. Thanks for your answer.


tomf
Supporter
Forum|alt.badge.img+20
  • Supporter
  • 107 replies
  • March 7, 2021

You need to set the market name attribute at the Feature Type level, rather than at the Dataset level. A fanout at the Dataset level will create multiple fgdbs with one feature class, a fanout at the Feature Type level will create one fgdb with mutliple feature classes.

FTfanout