Skip to main content
Question

Categories polygon group

  • August 1, 2022
  • 11 replies
  • 18 views

Forum|alt.badge.img+5

image (1) I need to convert the polygonised raster and populate the raster value into the field category

 

 

features are inserted but not rendering

because there are too many

can you merge features with similar category

as in one multipolygon for each category

look at this image

 

it's like each pixel has been inserted separately as a record

this is wrong

adjoining features need to be merged as a single polygon

that way they will represent a single region

 

yes, I should have no more than (1000 Guess) features

 

 

11 replies

Forum|alt.badge.img+5
  • Author
  • August 1, 2022

any. one


geomancer
Evangelist
Forum|alt.badge.img+60
  • Evangelist
  • August 2, 2022

Have you looked at the Dissolver transformer?


Forum|alt.badge.img+5
  • Author
  • August 5, 2022

yes i did must still same problem

 


Forum|alt.badge.img+5
  • Author
  • August 5, 2022

Currently, all the values overlap each other, I only need whatever layer/value has the highest qpf at any given location. See the attached screenshot as an example. This one shows at the location I clicked on there are 6 layers overlapping that location (1 of 6).3ae6d080-a68c-490a-b9e1-19144790fd1c


danminneyatsaf
Safer
Forum|alt.badge.img+13

@asadamjad​ You could also look at using the Aggregator transformer and use the Group By parameter to group them by their Category attribute.


Forum|alt.badge.img+5
  • Author
  • August 5, 2022

i did but same result i am getting


Forum|alt.badge.img+5
  • Author
  • August 5, 2022

if you dont mind ccan you check please

 


geomancer
Evangelist
Forum|alt.badge.img+60
  • Evangelist
  • August 8, 2022

To get the highest value at every location with overlapping polygons:

AreaOnAreaOverlayer, add all qpf values to a list.

ListSorter to sort the list in numeric descending order (so highest value first).

ListIndexer to get the value of listitem 0 (the highest value) into an attribute.


Forum|alt.badge.img+5
  • Author
  • August 8, 2022

 

I get the result but in the end why its only 33 i need total what is in Source but in target its could b cliped 4321


Forum|alt.badge.img+5
  • Author
  • August 8, 2022

can you check this file please


danminneyatsaf
Safer
Forum|alt.badge.img+13

 

I get the result but in the end why its only 33 i need total what is in Source but in target its could b cliped 4321

@asadamjad​ there's a couple transformer parameters that need adjusting.

ListSorter: Set the Sort Type to Numeric

ListIndexer: Set the List Index To Copy to 0. This will return only the first index in the list