# IsoLines Exception - "Input data must be more detailized to build isolines."

**URL:** <https://community.thinkgeo.com/t/isolines-exception-input-data-must-be-more-detailized-to-build-isolines/1879>\
**Category:** WinForms\
**Created:** [January 12, 2012, 11:00am UTC](https://community.thinkgeo.com/t/isolines-exception-input-data-must-be-more-detailized-to-build-isolines/1879 "2012-01-12T11:00:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Richard3](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/r/b5a626/32.png) [@Richard3](https://community.thinkgeo.com/u/Richard3)\
**Post date:** [January 12, 2012, 11:00am UTC](https://community.thinkgeo.com/t/isolines-exception-input-data-must-be-more-detailized-to-build-isolines/1879/1 "2012-01-12T11:00:11Z")

</div>

When&nbsp;I&nbsp;attempt&nbsp;to&nbsp;build&nbsp;isolines&nbsp;with&nbsp;certain&nbsp;data,&nbsp;an&nbsp;exception&nbsp;occurs&nbsp;which&nbsp;causes&nbsp;a&nbsp;System&nbsp;Message&nbsp;Box&nbsp;to&nbsp;be&nbsp;shown&nbsp;between&nbsp;10&nbsp;and&nbsp;20&nbsp;times&nbsp;and&nbsp;then&nbsp;my&nbsp;application&nbsp;crashes.&nbsp;&nbsp;The&nbsp;System&nbsp;Message&nbsp;boxes&nbsp;all&nbsp;contain&nbsp;a&nbsp;stack&nbsp;trace&nbsp;with&nbsp;the&nbsp;exception&nbsp;message&nbsp;"Error&nbsp;performing&nbsp;operation.&nbsp;Please&nbsp;Try&nbsp;Again.&nbsp;System.SystemException:&nbsp;Input&nbsp;data&nbsp;must&nbsp;be&nbsp;more&nbsp;detailized&nbsp;to&nbsp;build&nbsp;isolines."

The&nbsp;exception&nbsp;appears&nbsp;to&nbsp;be&nbsp;related&nbsp;to&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;currentDrawingExtent&nbsp;defined&nbsp;in&nbsp;the&nbsp;CreateGridFile&nbsp;method&nbsp;of&nbsp;the&nbsp;isolines&nbsp;code.&nbsp;&nbsp;When&nbsp;I&nbsp;use&nbsp;the&nbsp;CurrentExtent&nbsp;of&nbsp;winfromsMap1,&nbsp;for&nbsp;the&nbsp;currentDrawingExtent&nbsp;the&nbsp;isolines&nbsp;will&nbsp;be&nbsp;shown.&nbsp;&nbsp;When&nbsp;use&nbsp;ExtentHelper.GetDrawingExtent&nbsp;and&nbsp;define&nbsp;a&nbsp;width&nbsp;and&nbsp;height&nbsp;of&nbsp;the&nbsp;lat/lons&nbsp;defined&nbsp;for&nbsp;the&nbsp;data&nbsp;it&nbsp;produces&nbsp;the&nbsp;exception&nbsp;(however&nbsp;it&nbsp;only&nbsp;happens&nbsp;on&nbsp;a&nbsp;few&nbsp;data&nbsp;&nbsp;sets&nbsp;out&nbsp;of&nbsp;20&nbsp;or&nbsp;more).&nbsp;&nbsp;The&nbsp;exception&nbsp;does&nbsp;not&nbsp;occur&nbsp;in&nbsp;CreateGridFile&nbsp;but&nbsp;appears&nbsp;to&nbsp;be&nbsp;happening&nbsp;deep&nbsp;within&nbsp;the&nbsp;MapSuite&nbsp;code&nbsp;when&nbsp;the&nbsp;winformsMap1.Refresh&nbsp;is&nbsp;being&nbsp;executed.

Ideally,&nbsp;&nbsp;I&nbsp;would&nbsp;like&nbsp;to&nbsp;know&nbsp;the&nbsp;meaning&nbsp;of&nbsp;this&nbsp;exception&nbsp;and&nbsp;how&nbsp;to&nbsp;test&nbsp;or&nbsp;modify&nbsp;the&nbsp;width&nbsp;and&nbsp;height&nbsp;to&nbsp;prevent&nbsp;this&nbsp;exception.&nbsp;&nbsp;At&nbsp;a&nbsp;minimum,&nbsp;I&nbsp;need&nbsp;to&nbsp;know&nbsp;how&nbsp;to&nbsp;capture&nbsp;this&nbsp;exception&nbsp;and&nbsp;prevent&nbsp;it&nbsp;from&nbsp;occuring&nbsp;10-20&nbsp;times&nbsp;and&nbsp;then&nbsp;aborting&nbsp;my&nbsp;application.

Richard

&nbsp;

---

<div class="post-metadata">

**Author:** ![Richard3](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/r/b5a626/32.png) [@Richard3](https://community.thinkgeo.com/u/Richard3)\
**Post date:** [January 12, 2012, 11:12am UTC](https://community.thinkgeo.com/t/isolines-exception-input-data-must-be-more-detailized-to-build-isolines/1879/2 "2012-01-12T11:12:19Z")

</div>

Attachment&nbsp;of&nbsp;the&nbsp;stack&nbsp;trace&nbsp;in&nbsp;the&nbsp;Message&nbsp;box.

---

<div class="post-metadata">

**Author:** ![Ethan](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ethan/32/19964_2.png) [@Ethan](https://community.thinkgeo.com/u/Ethan)\
**Post date:** [January 16, 2012, 3:18pm UTC](https://community.thinkgeo.com/t/isolines-exception-input-data-must-be-more-detailized-to-build-isolines/1879/3 "2012-01-16T15:18:14Z")

</div>

Richard,&nbsp;  
&nbsp;&nbsp;  
&nbsp;We&nbsp;are&nbsp;working&nbsp;for&nbsp;your&nbsp;problem.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;for&nbsp;your&nbsp;post.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Regards,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Don

---

<div class="post-metadata">

**Author:** ![Ben](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ben/32/25720_2.png) [@Ben](https://community.thinkgeo.com/u/Ben)\
**Post date:** [January 17, 2012, 3:38am UTC](https://community.thinkgeo.com/t/isolines-exception-input-data-must-be-more-detailized-to-build-isolines/1879/4 "2012-01-17T03:38:04Z")

</div>

Richard,&nbsp;can&nbsp;you&nbsp;send&nbsp;us&nbsp;your&nbsp;data,&nbsp;either&nbsp;grid&nbsp;data&nbsp;or&nbsp;original&nbsp;points-value&nbsp;data&nbsp;should&nbsp;both&nbsp;be&nbsp;fine,&nbsp;it&nbsp;will&nbsp;help&nbsp;us&nbsp;to&nbsp;locate&nbsp;your&nbsp;issue.&nbsp;By&nbsp;the&nbsp;way,&nbsp;you&nbsp;may&nbsp;have&nbsp;failed&nbsp;to&nbsp;attach&nbsp;the&nbsp;stack&nbsp;trace.

---

<div class="post-metadata">

**Author:** ![Ethan](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ethan/32/19964_2.png) [@Ethan](https://community.thinkgeo.com/u/Ethan)\
**Post date:** [January 17, 2012, 10:50am UTC](https://community.thinkgeo.com/t/isolines-exception-input-data-must-be-more-detailized-to-build-isolines/1879/5 "2012-01-17T10:50:20Z")

</div>

Ben,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Richard&nbsp;attach&nbsp;his&nbsp;stack&nbsp;trace&nbsp;screen&nbsp;capture&nbsp;in&nbsp;ticket&nbsp;6086.&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;will&nbsp;sent&nbsp;you&nbsp;that.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Regards,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Don
