Skip to main content

Hello,

I am digitalizing an AutoCAD drawing and making polygons. Those polygons should have an area and I have succeeded in extracting these informations using AreaCalculator and LineCloser, AreaBuilder. After I extracted the area, I get some double cells. Some parcels have objects on them and I don't want to have their area in two cells. I am attaching a screenshot to show you all what is my problem. How can I keep only these rows that have both informations? There are some parcels where only one cell is filled because they don't have an object on them.

I have tried with Matcher but it is not working with all the settings that I have tried.

You could use a TestFilter or Tester transformer and filter those attributes where 'Attributes have a Value'. Just choose one or two attributes of which you are sure they should have a value.


You could use a TestFilter or Tester transformer and filter those attributes where 'Attributes have a Value'. Just choose one or two attributes of which you are sure they should have a value.

If I understood You well, it is not so simple. I have some rows where I have both values, both areas, one for object and one for parcel. And after some rows, there is a row with only one value, from the object, and few rows before I had in one row both areas, for the same object and the parcel that it is on. I want to delete these rows where it is only area of object written. There are some rows where there is only area of parcel but I need it because not all parces have an object on it.

 

 

 

EDIT: Solved it with a Tester and selecting which attribute have what value. But I have some bugs, don't know why is this happening.

 

 

In screenshot You can see it. It is normal like this, when I click on object, is it supposed that I can see the area of object and the area of parcel that it is on, and for some objects when I click on object in both fields I get area of object. What could be the reason for it?

 

 

 

 

 

First screenshot is a good and and the other one is a bag.

 


If you select a row/multiple rows in table view, the corresponding geometry is highlighted and vice versa.


If you select a row/multiple rows in table view, the corresponding geometry is highlighted and vice versa.

You didn't understand me. I know about highlighting but some objects are part of some parcels. If I click on parcel I get good area, and if I click on object that is part of that parcel I get an area of object and area of parcel that contains him. That is good. For some objects, when I click on them, I get the area of object in both fields. That is what I am trying to fix.

 

 


@maliodpalube

Hi Malio,

Both bottom screenshot show obejcts selected with overlaps =2.

This means that the bottom one where "both fields I get area of object" There is a hole in surrounding the parcel area, containing a smaller parcel.

Apparently the parcel size is the same as the object (building or so) on it. Not uncommon, a building without a garden.

If this is not a parcel then you used the area builder on the parcel data together with the building data. Better to use area builder on the parcels only and then do a spatial relator between that and the other features.


If I understood You well, it is not so simple. I have some rows where I have both values, both areas, one for object and one for parcel. And after some rows, there is a row with only one value, from the object, and few rows before I had in one row both areas, for the same object and the parcel that it is on. I want to delete these rows where it is only area of object written. There are some rows where there is only area of parcel but I need it because not all parces have an object on it.

 

 

 

EDIT: Solved it with a Tester and selecting which attribute have what value. But I have some bugs, don't know why is this happening.

 

 

In screenshot You can see it. It is normal like this, when I click on object, is it supposed that I can see the area of object and the area of parcel that it is on, and for some objects when I click on object in both fields I get area of object. What could be the reason for it?

 

 

 

 

 

First screenshot is a good and and the other one is a bag.

 

I do not see the difference between both examples. I see they have different values, but the geometry is different as well, so that is as expected.

 

What I also see is that _overlap has a value of 2 in all cases you want. Maybe you can use that as a test value?

 

 


@maliodpalube

Hi Malio,

Both bottom screenshot show obejcts selected with overlaps =2.

This means that the bottom one where "both fields I get area of object" There is a hole in surrounding the parcel area, containing a smaller parcel.

Apparently the parcel size is the same as the object (building or so) on it. Not uncommon, a building without a garden.

If this is not a parcel then you used the area builder on the parcel data together with the building data. Better to use area builder on the parcels only and then do a spatial relator between that and the other features.

Hello,

 

 

First, thank You a lot. I used two different area builders, one for objects and one for parcels. It shouldn't be like that that it is hole because it is only object that is contained by parcel. I have no idea why some of them are showed like that and some are showed well.

 


Reply