Skip to main content
Solved

Need dynamic loopup table for schema mapper??

  • December 27, 2017
  • 6 replies
  • 27 views

Forum|alt.badge.img+1

Hi,

I would like to create a csv file and set that to Schema mapper.. cause I have a requirement which will generate data dynamically from the folder which contains multiple zip files..

Looping through Folder --> FeatureReader(Merging all shape files)-- > Generic --> Schema Mapper (My idea is to create a schema mapper dynamically and setting here)--> Dynamic writer or Featurewriter ..

At the same time i have to run through all the folders and then through zip files and set the data to one fgdb.

Requirement is.. Here shape files don't have consistent names..

1.zip

Folder-->

1.shp-->Point

2.shp-->Polyline

3.shp-->Polygon

2.zip

Folder-->

2.shp-->Point

2.shp-->Polyline

2.shp-->Polygon

Will go the FGDB.

XXXFeatureClass(Point)

XXXFeatureClass(Polyline)

XXXFeatureClass(Polygon)

Please help me on this...

Cheers,

Srikanth Dasari

Best answer by takashi

I agree with @TiaAtSafe. Basically your question should be resolved by this workflow, if I understood your requirement correctly.

However, if you need to modify attribute names of the source features according to the destination schema (definition of the set of attributes), some other processes would also be needed.

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.

6 replies

takashi
Celebrity
  • 7843 replies
  • December 28, 2017
I suppose that the requirement is: the destination FGDB should have three feature classes for storing point features, line features, and polygon features, and you need to write all features read from Shapefile files in zip files into appropriate FGDB feature classes according to geometry type. Do I understand correctly?

 

 


Forum|alt.badge.img+1
  • Author
  • 6 replies
  • December 28, 2017
I suppose that the requirement is: the destination FGDB should have three feature classes for storing point features, line features, and polygon features, and you need to write all features read from Shapefile files in zip files into appropriate FGDB feature classes according to geometry type. Do I understand correctly?

 

 

Exactly.. Shape file names are not consistent to configure in any reader...

 

 

Please do the needful.

 

 


fmelizard
Safer
Forum|alt.badge.img+20
  • Safer
  • 3719 replies
  • December 28, 2017

Hi @kanthsri74, have you had a chance to look at the GeometryFilter? It could help filter the features based on points, lines, polygons in the workspace.


takashi
Celebrity
  • 7843 replies
  • Best Answer
  • December 29, 2017

I agree with @TiaAtSafe. Basically your question should be resolved by this workflow, if I understood your requirement correctly.

However, if you need to modify attribute names of the source features according to the destination schema (definition of the set of attributes), some other processes would also be needed.


Forum|alt.badge.img+1
  • Author
  • 6 replies
  • December 29, 2017

I agree with @TiaAtSafe. Basically your question should be resolved by this workflow, if I understood your requirement correctly.

However, if you need to modify attribute names of the source features according to the destination schema (definition of the set of attributes), some other processes would also be needed.

Thanks for the response. I have used TestFilter transformer using Shape_Geometry field to seggregate into different feature classes.

 

 

Anyway, thank you

 

 


Forum|alt.badge.img+1
  • Author
  • 6 replies
  • December 29, 2017

Hi @kanthsri74, have you had a chance to look at the GeometryFilter? It could help filter the features based on points, lines, polygons in the workspace.

Thanks for the response. I have used TestFilter transformer using Shape_Geometry field to seggregate into different feature classes.

 

 

Anyway, thank you