Skip to main content

Hi,

I split a line at two points using PointOnLineOverlayer, which generated three segments. I extracted the coordinates before breaking the line and again after the splits.  I was expecting the start coordinates of the second and third segments to be different from the original line's start coordinates, but all three segments appear to have the same start x and y in both split and original coordinates. Is it something with the split that went wrong because i had only one case in which coordinates were different but rest of the examples are showing this, which is not helping. Any feedback would be greatly appreciated! Thanks.

 

Precision table

Hi ​@fme_can_do_it It looks to me like the precision is low. How long are the lines? If I read this right the precision for where you are is ~60m. What do you see if you run this through the CoordinateExtractor?
 


Hi ​@fme_can_do_it ,

Sounds strange. Can you please share a minimal set of workspace and sample data which reproduce the strange behavior? 


@crutledge Thank you for your response. The length is 1160 feet. Those coordinates are dummy coordinates; I created them to explain the issue.


Hi ​@fme_can_do_it I am wondering if you need the pointonlineoverlayer. Do the lines need to be split at a precise location or are you splitting up the line at intervals? You could try the chopper/coordinateextractor if you are looking for intervals or splitting at verticies.

Hope that helps.


@crutledge i have to split the line at specific points, that's why I chose the PointOnLineOverlayer. Chopper will split the whole line at the vertices, which doesn’t work in my case. 


@takashi I’ll try to set up a workspace with some sample data to explain it better. thanks!


@fme_can_do_it May I suggest that you check once for the coordinates that you are extracting for the split lines, immediately after the split (using inspect), to ensure that they are not misread down the pipeline.

SRG


Reply