2

I have a road network (with vectors all in correct direction of travel). I have a number of coordinate pairs (call these the start lat longs) that are found on the network. Each start lat long has an assigned Lenght attribute (ranging from 2m - 300m), What I'm having trouble with is locating an end lat long coordinate pair (on the network) using the Length attribute. I know how to get the length to point and extract coordinates, but is there someway in fme to combine the Length to point transformer and add the Length attribute to then be able to extract the end lat longs?

8
  • To get an ending lat/long, you will also need an azimuth in addition to length.
    – Mintx
    Jan 8 '16 at 21:18
  • If i have the vector already and just need to travel past my start lat long coordinate by a Length from a seperate attribute would i need the azimuth?
    – LJB
    Jan 8 '16 at 21:27
  • So you basically have an incomplete or short vector that points to where the ending should be?
    – Mintx
    Jan 8 '16 at 21:38
  • I have a vector that is say 1000m long (ordered in direction of travel). My start lat long is found 200m along that vector. My start lat long has an attribute of 112m as a Length. What i need is the coordinate pair that is found 312m along the vector in the direction of travel.
    – LJB
    Jan 8 '16 at 21:47
  • I have over 10,000 start lat longs each with differing lenght measures..
    – LJB
    Jan 8 '16 at 21:49
2

If you have one of the newer versions of FME, there are two online transformers that should do the trick:

fme workbench

AzimuthCalculator and 2DDirectionExtender seems like what you're looking for. I just typed the names of the transformers directly into the Workbench screen and they showed up.

Combine this with the CoordinateExtractor to find the ending coordinate.

2
  • The step i'm missing is before this. I have a length measure and the start lat long along the vector. I need to be able to combine the length to point transformer and then add my length attribute to then use this coordinate extractor..
    – LJB
    Jan 8 '16 at 21:30
  • Edited my answer with some online transformers you could use.
    – Mintx
    Jan 8 '16 at 21:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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