Partition GH List into Multiple Lists by Category

I have a list of items sorted alphabetically by PROGRAM (see panel in image). Each carry a Latitude and Longitude. The list has thousands of values, and there are varying quantities of programs (example: 114 bars, 20 schools, 501 restaurants, etc.)

I’d like to partition the full list by PROGRAM, so the list would separate into bars, schools, etc. That way when I construct points, I can bake them into separate layers in Rhino by PROGRAM.

I can’t seem to find a way to define the partition because of the varying quantities of programs, but I have a feeling I’m overthinking the logic of partitioning this list. Any thoughts on how I can partition the list?

Thanks,
Trevor

SIBMAP(2).gh (116.3 KB)

Your gh file is useless unless you internalise your source file and plugin.

Oops! Try it now. Thanks for the heads up!

nope. Put a text container after the content and internalize that component.

And delete the mosquito component.

Got it! Check it out now!

this requires elefront

I had to clip off the end of the list due to missing program values that were giving me issues.

SIBMAP(2)_requires Elefront.gh (106.3 KB)

1 Like

THANK YOU RICKSON. This is exactly what I was looking for! Many thanks.