Skip to main content
Question

Finding in between Dualcarriageway points


rakeshreddy0996
Forum|alt.badge.img

I have two feature classes one is point data another one line data that is Road and

I need to select only which points are placed in between DC road.

Refer Below Image for more clarity

Please suggest...

14 replies

itay
Supporter
Forum|alt.badge.img+17
  • Supporter
  • September 26, 2019

Hi @rakeshreddy0996,

If your roads can form areas (AreBuilder) you can then overlay the point PointOnAreOverlayer to get the points within the areas.

If not the the NeighborFinder with list option can provide you with point that are related to 2 or more lines within a certain distance.


Forum|alt.badge.img
  • September 26, 2019

Hi @rakeshreddy0996!

Does your dual carriageways have an ID or something that can group them together? In that case you should be able to join together all the segments and make a polygon out of each pair of carriageways and then you can do an overlay to find all points that are within such a polygon, i.e. between the dual carriageways.

Transformers to look into would be the AreaBuilder and the PointOnAreaOverlayer.


Forum|alt.badge.img
  • September 26, 2019
danullen wrote:

Hi @rakeshreddy0996!

Does your dual carriageways have an ID or something that can group them together? In that case you should be able to join together all the segments and make a polygon out of each pair of carriageways and then you can do an overlay to find all points that are within such a polygon, i.e. between the dual carriageways.

Transformers to look into would be the AreaBuilder and the PointOnAreaOverlayer.

I'm too slow. Anyway, now you have two suggestions for the same solution. :-)


rakeshreddy0996
Forum|alt.badge.img
danullen wrote:

Hi @rakeshreddy0996!

Does your dual carriageways have an ID or something that can group them together? In that case you should be able to join together all the segments and make a polygon out of each pair of carriageways and then you can do an overlay to find all points that are within such a polygon, i.e. between the dual carriageways.

Transformers to look into would be the AreaBuilder and the PointOnAreaOverlayer.

i have IDs but how to group together those could you please brief

anyway thanks


Forum|alt.badge.img
  • September 26, 2019
rakeshreddy0996 wrote:

i have IDs but how to group together those could you please brief

anyway thanks

In the AreaBuilder you select your ID attribute in the box for "Group by". It will then consider each group of lines with the same ID as the only ones to create a polygon from, before going on to the next ID and group all those lines for the next polygon and so on.

The "Group by" function is fundamental to a lot of transformers, so check it out since it is a very useful piece of FME knowledge. :-)


rakeshreddy0996
Forum|alt.badge.img
danullen wrote:

Hi @rakeshreddy0996!

Does your dual carriageways have an ID or something that can group them together? In that case you should be able to join together all the segments and make a polygon out of each pair of carriageways and then you can do an overlay to find all points that are within such a polygon, i.e. between the dual carriageways.

Transformers to look into would be the AreaBuilder and the PointOnAreaOverlayer.

no ID is same,

those single DualCarriage way with single side have individual ID

 

i can not possiable


Forum|alt.badge.img
  • September 26, 2019
rakeshreddy0996 wrote:

no ID is same,

those single DualCarriage way with single side have individual ID

 

i can not possiable

Ok, and they haven't got an ID that says they are part of a pair? Like 10A and 10B, 11A and 11B and so on. If that's the case you can give them a temporary ID of 10, 11 and so on.

If not, you could still try the AreaBuilder with grouping on the attribute that says that these lines are part of a dual carriageway.


rakeshreddy0996
Forum|alt.badge.img
itay wrote:

Hi @rakeshreddy0996,

If your roads can form areas (AreBuilder) you can then overlay the point PointOnAreOverlayer to get the points within the areas.

If not the the NeighborFinder with list option can provide you with point that are related to 2 or more lines within a certain distance.

where list option is available in NeighborFinder in FME 2017


itay
Supporter
Forum|alt.badge.img+17
  • Supporter
  • September 26, 2019
rakeshreddy0996 wrote:

where list option is available in NeighborFinder in FME 2017

I would suggest reading the documentation....


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • September 26, 2019

@rakeshreddy0996

 

Hi.

If you don't have any form of relation for both parts of a dual carriage way then i think ou are left with 1 option.(You dont even have the dual carriage roads name?? Could have been used as a ID)

 

 

Relate by checking the geometric similarity.

One way to do it is to

 

Chopper 2 vertices all lines

Neighbourfinder to find closest.

Compare angle of candidate and base. (use a tolerance, for it is not likely to be exact in full decimals)


rakeshreddy0996
Forum|alt.badge.img
gio wrote:

@rakeshreddy0996

 

Hi.

If you don't have any form of relation for both parts of a dual carriage way then i think ou are left with 1 option.(You dont even have the dual carriage roads name?? Could have been used as a ID)

 

 

Relate by checking the geometric similarity.

One way to do it is to

 

Chopper 2 vertices all lines

Neighbourfinder to find closest.

Compare angle of candidate and base. (use a tolerance, for it is not likely to be exact in full decimals)

sorry i'm not understood bro

could you please brief.


rakeshreddy0996
Forum|alt.badge.img

Is there possible plz suggest process with transformation names.

 

1.take point buffer with some distance

2.that buffer Interaction with minimum two edges.


itay
Supporter
Forum|alt.badge.img+17
  • Supporter
  • September 27, 2019
rakeshreddy0996 wrote:

Is there possible plz suggest process with transformation names.

 

1.take point buffer with some distance

2.that buffer Interaction with minimum two edges.

If you can provide some sample data that might help.


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • September 27, 2019
rakeshreddy0996 wrote:

sorry i'm not understood bro

could you please brief.

@rakeshreddy0996

 

Hi,

Like @itay said, could you upload a sample data-set so we can help you better? (and read up on the material..;))

 

 


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