Skip to main content
Question

Calculating County Left (or any other polygon) and County Right to road centerlines.

  • April 15, 2023
  • 5 replies
  • 57 views

I'm trying to calculate the county left and county right of a road centerline based on it's direction of digitization and position within or along county boundaries. Someone had suggested the TopologyBuilder transformer but I must be doing something wrong. The right and left face fields are <missing> on the centerlines edges but not on the edges that were converted from polygon. I hope this makes sense. I'm using the same projected coordinate system on both datasets and the roads were split at the county boundaries in a prior transformer (LineOnAreaOverlayer). Please help! I've been at this for some time now.

5 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • 1637 replies
  • April 17, 2023

Hi @jeaner​,

In the TopologyBuilder properties, please set Unify Attributes From Overlapping Inputs to Yes. This should transfer the left and right face info from the polygons edges onto the road lines coincident with them.


londa
  • 2 replies
  • April 18, 2023

It's possible that you are encountering issues with the TopologyBuilder transformer because it requires careful setup and configuration. Make sure that you have specified all of your input and output feature types correctly, and that you have set up appropriate topological rules for your data.


  • Author
  • 4 replies
  • April 18, 2023

Thanks you guys for helping out. I tried the Unify Attributes thing and it didn't work. And, I actually do think it has something to do with the lack of careful setup and configuration--as in the centerlines aren't already snapped to the boundaries and some of them dangle--things like that. I found a tutorial I will try with my data to see if that fixes it. Although, in the end, I am not sure this will be the best solution for me. Another person had mentioned the Identity tool in Arc and it's better suited for my situation. I wish there was something else in FME that I could use----I'll keep digging. Thanks again y'all!


daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • 1637 replies
  • April 18, 2023

Thanks you guys for helping out. I tried the Unify Attributes thing and it didn't work. And, I actually do think it has something to do with the lack of careful setup and configuration--as in the centerlines aren't already snapped to the boundaries and some of them dangle--things like that. I found a tutorial I will try with my data to see if that fixes it. Although, in the end, I am not sure this will be the best solution for me. Another person had mentioned the Identity tool in Arc and it's better suited for my situation. I wish there was something else in FME that I could use----I'll keep digging. Thanks again y'all!

You can use ArcGIS tools within FME, if both are on the same computer:

https://community.safe.com/s/article/using-arcpy-for-fme-feature-processing


caracadrian
Contributor
Forum|alt.badge.img+23
  • Contributor
  • 571 replies
  • April 19, 2023

Give LeftRightSpatialCalculator a try.

It's much simpler to setup then TopologyBuilder.