Skip to main content
Solved

Build polygon from 2 layers

  • November 28, 2018
  • 13 replies
  • 77 views

mr_fme
Enthusiast
Forum|alt.badge.img+9

I've attached () a DWG file, which have 2 layers, I need to create / close polygons using the TRAIL layer, however the TRAIL layer in some sections cross with NETWORK, and so the polygon is not created. How can I create a polygon from the moment that TRAIL touches the first line NETWORK? See the images below:

 

 

Thank you

Best answer by gio

@mr_fme

Hi.

Here is a screen of the workspace doing it.

I must say I wasted some time to find your topology of the trail is not solid.

That is why there is a snapper with a 1m range(!)

I'll try upload (if it gets past the firewall here.mrfme_forum.fmw

 

In case fileupload fails, here is a screen.

 

 

result:

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.

13 replies

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • Best Answer
  • November 29, 2018

@mr_fme

Hi.

Here is a screen of the workspace doing it.

I must say I wasted some time to find your topology of the trail is not solid.

That is why there is a snapper with a 1m range(!)

I'll try upload (if it gets past the firewall here.mrfme_forum.fmw

 

In case fileupload fails, here is a screen.

 

 

result:


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • November 29, 2018

the workspace upload fails.

It seems the full path is inserted. My file location h:\\documents\\my..etc. is inserted?? see fmw link.


mr_fme
Enthusiast
Forum|alt.badge.img+9
  • Author
  • Enthusiast
  • November 29, 2018

@mr_fme

Hi.

Here is a screen of the workspace doing it.

I must say I wasted some time to find your topology of the trail is not solid.

That is why there is a snapper with a 1m range(!)

I'll try upload (if it gets past the firewall here.mrfme_forum.fmw

 

In case fileupload fails, here is a screen.

 

 

result:

Hi @gio,

Your result was fantastic, that's exactly what I need!!. But I'm in trouble ... it was not possible to download your workspace unfortunately. I used the image you sent to build the workspace, my Intersector transformer is not generating the correct number of features, see also the final result.

 

 

Could you help me?

Thank´s

 


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • November 29, 2018

@mr_fme

You should be able to upload your workspace, yes?

Seem like the LineExtender is not giving sufficient objects. But I can't see it.

Do you have the outside port on the bottom clipper ?

 

I am assuming you are using same data as you posted of course.


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • November 29, 2018

@mr_fme

HI.

 

I have the bottom Clipper set to not generate aggregates. (they standardly do; something I often forget..)

That might account for the difference.


mr_fme
Enthusiast
Forum|alt.badge.img+9
  • Author
  • Enthusiast
  • November 29, 2018

@mr_fme

HI.

 

I have the bottom Clipper set to not generate aggregates. (they standardly do; something I often forget..)

That might account for the difference.

@gio

Follow my template teste_safe.fmwt


mr_fme
Enthusiast
Forum|alt.badge.img+9
  • Author
  • Enthusiast
  • November 29, 2018

@mr_fme

You should be able to upload your workspace, yes?

Seem like the LineExtender is not giving sufficient objects. But I can't see it.

Do you have the outside port on the bottom clipper ?

 

I am assuming you are using same data as you posted of course.

@gio

The LineExtender is giving the same objects from your image. I´m using the same data as posted.

Thank´s


mr_fme
Enthusiast
Forum|alt.badge.img+9
  • Author
  • Enthusiast
  • November 29, 2018

@mr_fme

You should be able to upload your workspace, yes?

Seem like the LineExtender is not giving sufficient objects. But I can't see it.

Do you have the outside port on the bottom clipper ?

 

I am assuming you are using same data as you posted of course.

outside port from bottom clipper


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • November 29, 2018

@mr_fme

 

Hi,

The top clipper should have Clippees on boundary = treat as outside.

If I change that inyour workbench, it works as intended.

 


mr_fme
Enthusiast
Forum|alt.badge.img+9
  • Author
  • Enthusiast
  • November 29, 2018

@mr_fme

Hi.

Here is a screen of the workspace doing it.

I must say I wasted some time to find your topology of the trail is not solid.

That is why there is a snapper with a 1m range(!)

I'll try upload (if it gets past the firewall here.mrfme_forum.fmw

 

In case fileupload fails, here is a screen.

 

 

result:

Hi, @gio

I was able to download your workspace. And solved my problem. Thank you very much

 


mr_fme
Enthusiast
Forum|alt.badge.img+9
  • Author
  • Enthusiast
  • November 30, 2018

the workspace upload fails.

It seems the full path is inserted. My file location h:\documents\my..etc. is inserted?? see fmw link.

Hi @gio and others,

Now I need to do the same thing I did with network to cut, but also using park, I inserted the park layer and the following error appears:

INDEX FAILURE - requested predicate not implemented

I need help

follows my workspace: clip_areas.fmwt


gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • December 3, 2018

@mr_fme

first:clip_areas.fmw

 

The index-failure is caused by the identical geometrical objects, as pointed out by @takashi. In this set you have the hatches as well as the polygons. (somehow the recent dissolver is sensitive about identity..;)

Filter out the hatches before dissolving.

Here is the adapted workspace to add parks. Hope you can upload.

Result

 


mr_fme
Enthusiast
Forum|alt.badge.img+9
  • Author
  • Enthusiast
  • December 3, 2018

@mr_fme

first:clip_areas.fmw

 

The index-failure is caused by the identical geometrical objects, as pointed out by @takashi. In this set you have the hatches as well as the polygons. (somehow the recent dissolver is sensitive about identity..;)

Filter out the hatches before dissolving.

Here is the adapted workspace to add parks. Hope you can upload.

Result

 

Hi @gio,

 

Very good, you help a lot.

 

Thank you very much