# Create thematic map dynamically

**URL:** <https://community.thinkgeo.com/t/create-thematic-map-dynamically/1202>\
**Category:** WinForms\
**Created:** [April 30, 2010, 12:11pm UTC](https://community.thinkgeo.com/t/create-thematic-map-dynamically/1202 "2010-04-30T12:11:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rose](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/r/91b2a8/32.png) [@Rose](https://community.thinkgeo.com/u/Rose)\
**Post date:** [April 30, 2010, 12:11pm UTC](https://community.thinkgeo.com/t/create-thematic-map-dynamically/1202/1 "2010-04-30T12:11:49Z")

</div>

Hi,

I&nbsp;have&nbsp;a&nbsp;shape&nbsp;file&nbsp;which&nbsp;has&nbsp;colum1,column2,column3...&nbsp;I&nbsp;want&nbsp;to&nbsp;create&nbsp;a&nbsp;thematic&nbsp;map&nbsp;based&nbsp;on&nbsp;the&nbsp;values&nbsp;of&nbsp;following&nbsp;calculation:

Column1&nbsp;\*&nbsp;PARAMETER&nbsp;-Column2

The&nbsp;"Parameter"&nbsp;will&nbsp;be&nbsp;read&nbsp;from&nbsp;user's&nbsp;input.&nbsp;So&nbsp;I&nbsp;can't&nbsp;add&nbsp;a&nbsp;column&nbsp;to&nbsp;store&nbsp;the&nbsp;values&nbsp;in&nbsp;advance.&nbsp;The&nbsp;thematic&nbsp;map&nbsp;will&nbsp;have&nbsp;5&nbsp;bands,&nbsp;say

\<0,

0-20,

20-50,

50-100,

\>=100

Any&nbsp;ideas&nbsp;how&nbsp;to&nbsp;implement&nbsp;this?

Thanks&nbsp;in&nbsp;advance!

Rose

---

<div class="post-metadata">

**Author:** ![Val](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/v/e56c9b/32.png) [@Val](https://community.thinkgeo.com/u/Val)\
**Post date:** [April 30, 2010, 4:47pm UTC](https://community.thinkgeo.com/t/create-thematic-map-dynamically/1202/2 "2010-04-30T16:47:29Z")

</div>

There&nbsp;is&nbsp;a&nbsp;sample&nbsp;app&nbsp;in&nbsp;the&nbsp;"How&nbsp;Do&nbsp;I"&nbsp;apps&nbsp;that,&nbsp;I&nbsp;think,&nbsp;is&nbsp;roughly&nbsp;what&nbsp;you&nbsp;need.&nbsp;It&nbsp;is&nbsp;the&nbsp;"Add&nbsp;my&nbsp;Custom&nbsp;Data"&nbsp;sample.&nbsp;Look&nbsp;at&nbsp;the&nbsp;CustomColumnFetch&nbsp;event&nbsp;and&nbsp;I&nbsp;think&nbsp;that&nbsp;you&nbsp;will&nbsp;see&nbsp;how&nbsp;to&nbsp;implement&nbsp;for&nbsp;your&nbsp;case.&nbsp;If&nbsp;you&nbsp;still&nbsp;have&nbsp;doubts,&nbsp;let&nbsp;us&nbsp;know.&nbsp;Thank&nbsp;you.
