Skip to main content
Solved

Splitting .las


bmwhbmwh
Contributor
Forum|alt.badge.img+4

Hello, my previous post was not well Described apparently, 

i need to split .las just like that. 
please if you suggest any workflow do describe it a little more than just the name of transformer as that is usless for me (i dont really know how to use FME)

 

Best answer by hkingsbury

I’ve attached a workspace (2024.1) that will split the input LAS into a number of areas (using the iterate snipper) then generate some clipping areas and then clip the LAS to those areas.

This is assuming that your LAS is following a linear area such as a road or rail corridor

 

 

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

13 replies

danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • November 6, 2024

Hi @bmwhbmwh 

 

Do you have too these area geometry like the picture?


bmwhbmwh
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • November 11, 2024

 i dont have any areas or nothing, i edited the red zones in on the picture 

i know that tiler can do that however im more interested in splitting it in the way i show in the picture above. 


hkingsbury
Celebrity
Forum|alt.badge.img+55
  • Celebrity
  • Best Answer
  • November 12, 2024

I’ve attached a workspace (2024.1) that will split the input LAS into a number of areas (using the iterate snipper) then generate some clipping areas and then clip the LAS to those areas.

This is assuming that your LAS is following a linear area such as a road or rail corridor

 

 


bmwhbmwh
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • November 13, 2024

hkingsbury you sir are a genious 


bmwhbmwh
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • November 19, 2024

hkingsbury 

if you could help me further i have a question about updating the segments that come from the resoult of that split. 

What i mean: 

i want to take these 2 as example 

and make a Break zone that is ca 10m, in that zone everything must be deleted. 

than insert them back in with a new file

 

To Summerise: 

Imagine a tunnel or an area that is initially scanned. Over time, the area undergoes changes and needs to be rescanned. However, the focus is solely on identifying and capturing the newly changed parts.

if there is a better way of doing it im happy to hear your take on it. 


hkingsbury
Celebrity
Forum|alt.badge.img+55
  • Celebrity
  • November 20, 2024

You can use the clipper to remove that section from the existing data and then the pointcloudcombiner to combine the new scan data with the existing


bmwhbmwh
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • November 21, 2024

hkingsbury

How should i do it? 

i have now separated these two.
but should i create a new box and cut that out? 

 


bmwhbmwh
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • November 21, 2024

hkingsbury


so i have played with it for a while and i got this as a resoult. 

it did make a separation in the middle but it was tottaly random/dumb luck. how can i controll where i cut better? 

say i want to be speciffic and cut the ends of the tunell or 70% of it. 

Thank you for the support so far. 


hkingsbury
Celebrity
Forum|alt.badge.img+55
  • Celebrity
  • November 21, 2024

I would assume you have an asset dataset that defines where the tunnel is. Using that, buffer the tunnel (turn off end caps) and use the resulting polygon to clip out the old data. Clip the new data to ensure you have that in same extent then combine the new data into the old.

OR

if you have the new data, generate the bounds of the data (use the first part of the workbench I initially shared) then use that to clip out the old data and then combine the two data sets


bmwhbmwh
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • November 25, 2024

hkingsbury

i have tried and this is what happens. 
When i use the first part of your script i get simple lines. 


the first part of your script makes only line ant not the area no? so that cannot be used as Clipper? 

i thouth this was supposed to happen. 

  1. New data 
  2. make lines (first part of your script)
  3. Create Box in middle (5m each side)
  4. Delete
  5. Replace

 


hkingsbury
Celebrity
Forum|alt.badge.img+55
  • Celebrity
  • November 26, 2024

You need to then buffer them to create the polygons for the clipper. Make sure you set End Cap Style to None.

 

From your screenshot its not clear if you’re doing this on the new data. You want to be doing this step on the new data to insert into the existing data. This will create a polygon to clip the extent of the new data out of the old data, therefore removing any overlaps


bmwhbmwh
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • November 27, 2024

hkingsbury

i think im confused, sorry for that. 

i struggle to figure out what to do with the bufferer, look….

whenever i run it it gives me same resoult as Hull replacer. so i dont get the point with it 


All i really need now is just a way of creating a segment/polygon that will be used in the cutter. 





 


hkingsbury
Celebrity
Forum|alt.badge.img+55
  • Celebrity
  • November 27, 2024

Hypothetically, you have an existing scan of a rail corridor, that corridor passes through a tunnel. The tunnel has been re-scanned recently and you want to remove the old tunnel data and replace it with the new scan.

The original workbench has logic in then that will generate a rough centreline for that scan. To remove the old tunnel data you need to buffer that centreline to generate an area that can be used as a clipper. The hull replacer output could be used, but you’ll likely also need to buffer that.

Now that you have an area that covers the bound of your new tunnel scan you can use that to clip out the tunnel data from the existing scan of the corridor.

Next, you can use the pointcloudcombiner to combine the new tunnel scan with the rest of the scan for the corridor


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