Skip to main content
Solved

Start and end latitude and longitude to snap onto network dataset and return line geometry

  • June 22, 2023
  • 1 reply
  • 15 views

Forum|alt.badge.img

I have a csv with start and end lat longs and other attributes like road name and road number. I want to snap it to the route (road network) polyline dataset based on matching attributes (road name/road number) and then generate the line geometry of that road network from start to end coordinates provided.

 

Is this possible to accomplish in FME?

 

 

Best answer by featuremichael

Hey @vral​ 

 

of course you can do this with fme.

 

1.) first you need to read your csv file with the CSV reader.

2.) Then can you merge features from the csv to the line network with the featuremerger

3.) you can also generate points from the start and stop with (lat/long)

4.) you could use the points from the csv file to splitt the poly from the road network

5.) with the linebuilder you could make lines from points

 

Would you like to generate a new route over a road network with gps coordinates ? ^^

so if yes, i hope you have timestamps of something else like an id to generate the right route in the csv file.

 

greetings Michael

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

1 reply

featuremichael
Supporter
Forum|alt.badge.img+8

Hey @vral​ 

 

of course you can do this with fme.

 

1.) first you need to read your csv file with the CSV reader.

2.) Then can you merge features from the csv to the line network with the featuremerger

3.) you can also generate points from the start and stop with (lat/long)

4.) you could use the points from the csv file to splitt the poly from the road network

5.) with the linebuilder you could make lines from points

 

Would you like to generate a new route over a road network with gps coordinates ? ^^

so if yes, i hope you have timestamps of something else like an id to generate the right route in the csv file.

 

greetings Michael


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