# Filling single polygons

**URL:** <https://mapwindow.discourse.group/t/filling-single-polygons/756>\
**Category:** Uncategorized\
**Created:** [October 26, 2020, 12:01pm UTC](https://mapwindow.discourse.group/t/filling-single-polygons/756 "2020-10-26T12:01:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pan054](https://avatars.discourse-cdn.com/v4/letter/p/838e76/32.png) [@pan054](https://mapwindow.discourse.group/u/pan054)\
**Post date:** [October 26, 2020, 12:01pm UTC](https://mapwindow.discourse.group/t/filling-single-polygons/756/1 "2020-10-26T12:01:46Z")

</div>

I’m trying to fill some individual polygons in a shapefile. I can find the polygons, but I can’t find a method to fill them, something along the lines of the (sadly) now depreciated map.set\_ShapeLayerFillColor(hndl, shapenum, color)?  
I suspect that the answer is ‘Categories’. If so, I hope somebody can point me at some documentation how to work with categories, especially regarding single shapes in a layer?  
Cheers

---

<div class="post-metadata">

**Author:** ![jerryfaust](https://yyz2.discourse-cdn.com/free1/user_avatar/mapwindow.discourse.group/jerryfaust/32/378_2.png) [@jerryfaust](https://mapwindow.discourse.group/u/jerryfaust)\
**Post date:** [October 27, 2020, 4:35pm UTC](https://mapwindow.discourse.group/t/filling-single-polygons/756/2 "2020-10-27T16:35:57Z")

</div>

Hello again.

Some methods still exist, specifying [fills and patterns for the entire layer](https://www.mapwindow.org/documentation/mapwingis4.9/group __map__ shapefile.html), but alas, the individual Shape fill methods have gone away. I admit that although Categories provide a powerful way to set up custom rendering, the simple cases may become more tedious. In small samples, I have had to set up a Category for every feature in the layer just to get the control I wanted. But of course, this cannot as easily be done with large data sets.

---

<div class="post-metadata">

**Author:** ![pmeems](https://yyz2.discourse-cdn.com/free1/user_avatar/mapwindow.discourse.group/pmeems/32/9_2.png) [@pmeems](https://mapwindow.discourse.group/u/pmeems)\
**Post date:** [January 5, 2022, 3:09pm UTC](https://mapwindow.discourse.group/t/filling-single-polygons/756/3 "2022-01-05T15:09:10Z")

</div>


