Answers for "Merging and altering attribute tables" https://knowledge.亚搏在线safe.com/questions/87001/merging-and-altering-attribute-tables.html The latest answers for the question "Merging and altering attribute tables" Answer by erik_jan https://knowledge.safe.com/answers/87013/view.html

Not as good as the suggestion by@ChrisAtSafe, but if you want to keep it as simple as possible:

Open the reader and writer attributes by clicking on the little triangles and simply connect the attributes will do too.

Like this:

Fri, 15 Feb 2019 16:13:05 GMT erik_jan
Answer by chrisatsafe https://knowledge.safe.com/answers/87012/view.html

Hi@kostass,


I'm a big fan of using theAttributeManagerfor tasks like this but you could also use something theSchemaMapper.If you use the AttributeManager approach, you simply need:

  1. Add both Shapefiles to the canvas
  2. Connect both reader feature types to the AttributeManager
  3. Rename the Output Attributes to "Name" and "Date" and remove the unwanted attributes by setting the Action to "Remove"


  4. Lastly, connect the AttributeManager to a Shapefile writer.

Your workspace will look something like this (except you will use a shapefile writer instead of theInspector)

Input

Output

Helpful Resources:

Fri, 15 Feb 2019 15:55:49 GMT chrisatsafe