Is there a GP tool in ArcGIS Pro to copy a date field from a polygon feature class to a polyline feature class? I cannot use the join tool because there are no common fields after running the polygon to line GP tool and it looks like the transfer attributes tool only allows for polyline source and target features.

I am using ModelBuilder for a larger process, this is just the first step in the model. I need to hold the date field in the polygon when it is converted to a line or copy it in somehow after adding a field to the line feature.

  • You might look at the spatial join tool.
    – John
    Commented Sep 5, 2023 at 18:59

1 Answer 1


If you are using Polygon To Line, look at the RIGHT_FID attribute in your output feature class. The value in that attribute is the same as the OBJECTID in the input feature class.

Keep in mind that, depending on what your feature polygons look like, you may get multiple RIGHT_FID features per original polygon. Take a look at the GP tool documentation, the diagram at the top is quite descriptive about what you should expect in the output.

A spatial join may also work, but, once again depending on your polygons, you may need to do multiple different joins, collate results and possibly even miss some joins. Ideally, use the existing attribute generated by the tool, because they represent a significantly easier (less compute-intensive) join and provide guaranteed-complete data. They are provided by the tool specifically for this purpose.

  • +1 but very simplistic. What left_fid does? Solution depends on many other details. Holes? Shared boundaries?
    – FelixIP
    Commented Sep 5, 2023 at 20:57
  • @FelixIP yes, intentionally simplistic. Simple is better than complicated. If you need more details on how LEFT_FID and RIGHT_FID, please read the documentation. It is explained in great detail. Commented Sep 6, 2023 at 11:57
  • When LEFT_FID <>-1 line belongs to 2 polygons, that share the boundary. So simple == wrong in this case.
    – FelixIP
    Commented Sep 6, 2023 at 20:04
  • @StephanSamuel thanks for the answer. I had no clue what the LEFT_FID and RIGHT_FID represented and didn't think the tool documentation would be so detailed. A regular join worked fine since my line is one continuous line and thus only one record in the attribute table. I imagine a spatial join would work as well.
    – niklas24
    Commented Sep 10, 2023 at 16:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.