Skip to main content
Question

Creating conditions for SpatialFilter so I only compare features of certain attributes with each other


Forum|alt.badge.img

Hi!

First question up here for me :)

I have a Dataset with 137k timestamped points (over 1000 trajectories belonging to 160 individuals). Now I want to figure out, what percentage of each path is unique (I define unique as >80m away from any other path).

So first i created lines from my csv-file with the coordinates of the trips, then i used Linebuilder to create a line for each trip and added a buffer of 80m. Now I wanted to use this geometry as the filter in SpatialFilter, with the point dataset as Candidates. The Problem is though, that I want to compare each point ONLY with the Trips(buffered lines) of the same Individual, except the Trip with the same TripID, because otherwise they woul all intersect.

Can anyone of you help with an idea to create these conditions before feeding the data into SpatialFilter?

Here is my workspace so far.

 

4 replies

fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • June 20, 2019

Hi @rolfschneider Did you try grouping by TripID? If the attribute name is different between the points and polygons then use an AttributeManager or AttributeRenamer first to make them the same.


Forum|alt.badge.img+2

@rolfschneider You might want to look at two presentations from our recent FME world tour events in New Zealand.

  • Ground-truthing Routing Analytics, an Auckland Ferries Case Study
  • Lime Scooter-ing around Auckland

They may give you some ideas on merging tracks. You can also contact the authors.


Forum|alt.badge.img
markatsafe wrote:

@rolfschneider You might want to look at two presentations from our recent FME world tour events in New Zealand.

  • Ground-truthing Routing Analytics, an Auckland Ferries Case Study
  • Lime Scooter-ing around Auckland

They may give you some ideas on merging tracks. You can also contact the authors.

Thanks for the tip! I will look into that. I found a way to adress my problem by myself!


Forum|alt.badge.img

I found an answer to my problem: I just created a polygon with the buffered lines that overlay at least once with AreaOnArea Overlayer. Then I compared each point with these polygons, grouping by Individual-ID.

 


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