Skip to main content
Question

Is there a way around to convert from Vertices to Line with GPS attributes to keep them ?


probert1968
Contributor
Forum|alt.badge.img+3

Hi friends,

I am trying to do converstion from a vertices to lines that I am working on for a somebody. He use a GPS to track prarire dogs for his work.

So I looked at the shapefile he provided me and it has no GPS. So I create them with the latitude and longtitude.

 What I am trying to do here is to use the LineBuilder here and then use writer to create a new shapefile…

It came out nothing…

What might I go wrong here ?

 

I work for US agency and we have FME Desktop 2022.2 version. Do not ask me why.

 

Thanks

2 replies

jkr_wrk
Influencer
Forum|alt.badge.img+28
  • August 7, 2024

Working with FME 2021.2 mostly here. Have 2022, 2023 and 2024 also but no need to use that.

But your question is a bit hard to understand.

You have a shapefile, but the shapefile does not have geometry (what you call GPS). But it has a column lat and long. So you used a VertexCreator to make point geometry. And now you want to convert Point geometry to Line geometry.

This is indeed done with a LineBuilder.

You can connect the LineBuilder to an Inspector to see if the result is as expected.

If that's true then you can start using a FeatureWriter to write the data into a Shapefile. If you set it to the right parameters it should create a Shapefile containing a Line. But for now we don't even know if the data is what you expect so the error could be anywhere.

 

 


smclaugh1
Contributor
Forum|alt.badge.img+5
  • Contributor
  • August 7, 2024

It would be helpful to see a copy of your workspace or even a screen capture. You need to create vertices using the coordinates before you use linebuilder and you should assign a coordinate system to the line before you write it to a shapefile.

 


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