Skip to main content
Solved

Need dynamic loopup table for schema mapper??


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.

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

6 replies

takashi
Evangelist
  • 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
  • December 28, 2017
takashi wrote:
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+19
  • Safer
  • 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
Evangelist
  • 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
  • December 29, 2017
takashi wrote:

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

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

 

 


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