Skip to main content
Question

how to connect two different layers data of .dwg file? (point and line)

  • November 30, 2022
  • 8 replies
  • 44 views

saravanakumar
Supporter
Forum|alt.badge.img+5

Hello all,

I am trying to merge two different layer data from DWG file. In that one layer is line geometry and another layer is point (text) . Here I wish to connect text to nearer line geometry but I tried different transformers but I could not !

FYI - I tried spatialfilter, Neighbourfinder

imageThank you for advance!

8 replies

redgeographics
Celebrity
Forum|alt.badge.img+48

The NeighborFinder should be the one for this. Can you share what you've tried with that?


saravanakumar
Supporter
Forum|alt.badge.img+5
  • Author
  • Supporter
  • November 30, 2022
redgeographics wrote:

The NeighborFinder should be the one for this. Can you share what you've tried with that?

 

this is the workbench I created with neighbourfinder imagewhile running this I am facing a error like below image

imagethe properties of neighbourfinder.

imagethank you for your response !


redgeographics
Celebrity
Forum|alt.badge.img+48
saravanakumar wrote:

 

this is the workbench I created with neighbourfinder imagewhile running this I am facing a error like below image

imagethe properties of neighbourfinder.

imagethank you for your response !

I think the NeighborFinder settings are good, but there may be something with the TextPropertyExtractor. Sadly it doesn't look like there's a <rejected> feature being created.

Can you try taking the TextPropertyExtractor out and see if that makes a difference? That would help to pinpoint the source of your errors.


saravanakumar
Supporter
Forum|alt.badge.img+5
  • Author
  • Supporter
  • November 30, 2022
saravanakumar wrote:

 

this is the workbench I created with neighbourfinder imagewhile running this I am facing a error like below image

imagethe properties of neighbourfinder.

imagethank you for your response !

hi ... yeah It is moving without error but I want to associate text values ....

without TextPropertyExtractor how can I get the values from that layer ?

image


redgeographics
Celebrity
Forum|alt.badge.img+48
saravanakumar wrote:

 

this is the workbench I created with neighbourfinder imagewhile running this I am facing a error like below image

imagethe properties of neighbourfinder.

imagethank you for your response !

Since you've ticked the "Merge Attributes" option in the NeighborFinder, the Matched Base output should have received the attributes from the (matching) candidates. Can you check that?


saravanakumar
Supporter
Forum|alt.badge.img+5
  • Author
  • Supporter
  • November 30, 2022
saravanakumar wrote:

 

this is the workbench I created with neighbourfinder imagewhile running this I am facing a error like below image

imagethe properties of neighbourfinder.

imagethank you for your response !

Actually If I not use the TextPropertyExtractor I could not able to fetch text details in that layer!

image 

BM_ROADNAME without TextPropertyExtractor

imageAfter the TextPropertyExtractor usage

imageactually I need the text attribute to join with nearer line geometry !


redgeographics
Celebrity
Forum|alt.badge.img+48
saravanakumar wrote:

 

this is the workbench I created with neighbourfinder imagewhile running this I am facing a error like below image

imagethe properties of neighbourfinder.

imagethank you for your response !

Right, but there is something in the TextPropertyExtractor that makes the NeighborFinder throw up. Can you try an AttributeExposer instead of the TextPropertyExtractor? If you expose the attribute fme_text_string it should have the same values, maybe that works.


saravanakumar
Supporter
Forum|alt.badge.img+5
  • Author
  • Supporter
  • November 30, 2022
saravanakumar wrote:

 

this is the workbench I created with neighbourfinder imagewhile running this I am facing a error like below image

imagethe properties of neighbourfinder.

imagethank you for your response !

imagethanks @Hans van der Maarel​  It is worked !🙂

 

Regards,

saravanakumar


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