# GeometryCollection is not supported now mean

**URL:** <https://community.thinkgeo.com/t/geometrycollection-is-not-supported-now-mean/851>\
**Category:** WinForms\
**Created:** [November 17, 2009, 11:40am UTC](https://community.thinkgeo.com/t/geometrycollection-is-not-supported-now-mean/851 "2009-11-17T11:40:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter6](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/p/e5b9ba/32.png) [@Peter6](https://community.thinkgeo.com/u/Peter6)\
**Post date:** [November 17, 2009, 11:40am UTC](https://community.thinkgeo.com/t/geometrycollection-is-not-supported-now-mean/851/1 "2009-11-17T11:40:45Z")

</div>

What&nbsp;does&nbsp;the&nbsp;error&nbsp;message&nbsp;GeometryCollection&nbsp;is&nbsp;not&nbsp;supported&nbsp;now&nbsp;mean?&nbsp;I'm&nbsp;trying&nbsp;to&nbsp;get&nbsp;the&nbsp;difference&nbsp;between&nbsp;a&nbsp;PolygonShape&nbsp;and&nbsp;another&nbsp;PolygonShape&nbsp;I&nbsp;created&nbsp;using&nbsp;the&nbsp;Buffer&nbsp;method.&nbsp;I&nbsp;get&nbsp;this&nbsp;error&nbsp;message&nbsp;every&nbsp;time.&nbsp;Any&nbsp;ideas?

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [November 17, 2009, 6:24pm UTC](https://community.thinkgeo.com/t/geometrycollection-is-not-supported-now-mean/851/2 "2009-11-17T18:24:08Z")

</div>

Peter,

Thanks&nbsp;for&nbsp;your&nbsp;post&nbsp;and&nbsp;questions.

I&nbsp;think&nbsp;the&nbsp;reason&nbsp;for&nbsp;this&nbsp;is&nbsp;that&nbsp;we&nbsp;do&nbsp;not&nbsp;support&nbsp;empty&nbsp;geometry&nbsp;up&nbsp;to&nbsp;now.&nbsp;We&nbsp;ultilize&nbsp;NTS&nbsp;in&nbsp;which&nbsp;support&nbsp;GeometryCollection&nbsp;while&nbsp;we&nbsp;do&nbsp;not&nbsp;implement&nbsp;it&nbsp;up&nbsp;to&nbsp;now.

You&nbsp;could&nbsp;go&nbsp;around&nbsp;this&nbsp;problem&nbsp;by&nbsp;determing&nbsp;its&nbsp;relationship&nbsp;first&nbsp;shown&nbsp;as&nbsp;following,&nbsp;hope&nbsp;it&nbsp;helps:

`AreaBaseShape differenceShape = null;if (!areaShape1.Contains(areaShape2) && !areaShape2.Contains(areaShape1)){   differenceShape = areaShape1.GetDifference(areaShape2);}`

Any&nbsp;more&nbsp;quesitons&nbsp;just&nbsp;feel&nbsp;free&nbsp;to&nbsp;let&nbsp;me&nbsp;know.

Thanks.

Yale  
  
&nbsp;
