05-28-2020 02:58 AM - edited 05-28-2020 02:59 AM
Hello everyone,
I have lines that I need to convert to polygon.
I could do that using Insert area by face, but it doesn't work if the line is not self-contained.
I tried to check the geometry using Connectivity tools, but it didn't help.
I attach the picture of my data and .mdb file itself.
05-28-2020 08:00 AM
To close the large gap between the endpoint and startpoint of the linework as shown in the screenshot you can create a Functional Attribute Query for the lIne feature class using an Expression such as:
CREATEPOLYLINE(ENDPOINT(Input.Geometry), STARTPOINT(Input.Geometry))
This will create a straight line between the start point and the end point of the unclosed lines, so that when the line work is added to a select set you have a closed boundary thus allowing you to use 'Insert Area By Face' to create an area.
Hope this helps.
06-02-2020 03:04 AM
Thank you for your suggestion
It works, but since we have hundreds of layers, I am trying to find shorter way (then select each line - create query - use that query along with the origional line layers). Also I am traying to understand whether it is possible to copy attributes value from two lines that made a polygon (while using Insert Area By Face tool)?
06-02-2020 10:47 PM
Use this functional Attribute
CREATEPOLYGON(POINTS(Input.Geometry))
Works for me.
06-02-2020
10:51 PM
- last edited
Monday
by
fcaelen
06-03-2020 12:41 AM
Thank you for your answer. I already tried this functionals attributes. But in this case I got polygons that are formed from two adjacent lines, but the whole inner polygon. Please see the picture attached.
06-03-2020 04:48 PM - edited 06-03-2020 06:23 PM
Sorry but i don't understand what you are showing. You have 166 lines and you are producing 166 polygons. Each is unique, Thats correct, there is no sharing of adjacent lines ! Need more explaination
Just another question. I assumed these lines are Isolines(contours) of uniform Z value. However they are Not. Z changes along lines.What are these lines? Z ?
06-05-2020 06:15 AM - edited 06-05-2020 06:16 AM
Hi,
I attached 3 pictures:
It is countours of dessimination of chemical element, not elevation.
Thank you for the assistance.
06-08-2020 04:44 PM
I understand, You want the Intersection polygon between the neighbours.
1, Analytical Merge the new polygons, based on the Attribute value (ie 0.1,etc) – the_value
2, Update Attribute using SETZ(Input.poly, Input.the_value), so I overwrite existing value and set height of polygons to (ie 0.1,0.2 etc)
3, Do a Functional Attribute of the Merged Polygons the_value_minus_point_one = Input.the_value - 0.1
4, Do a Join - Join of Merge_polygons and FA of Merge_polygons where the_value = the_value_minus_point_one
Now you have the inner and outer bounding polygons
You can save them and do an Attribute Query for each value (0.1, 0.2,etc..) or you can Do an Attribute Query on the Join doing the same. These will bring up the inner and outer polygons for this value. Select them (Yes this is manually done 27 times 0.1 to 2.8)
Now do an Insert Area By Face for each. As I stored the_value as the ‘Z’, a functional attribute of Z+0.05 will give you the intersection attribute
See PDF
06-09-2020 08:40 AM
Hello,
Thank you for the suggestion, but it is not clear for me what to do: