Skip to main content
Question

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

  • June 19, 2019
  • 4 replies
  • 27 views

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.

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

fmelizard
Safer
Forum|alt.badge.img+20
  • Safer
  • 3719 replies
  • 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
  • 1891 replies
  • June 21, 2019

@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
  • Author
  • 4 replies
  • June 25, 2019

@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
  • Author
  • 4 replies
  • June 25, 2019

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.