# CIRCLE geo\_shape query not supported in ES 8.1

**URL:** <https://discuss.elastic.co/t/circle-geo-shape-query-not-supported-in-es-8-1/300024>\
**Category:** Elasticsearch\
**Tags:** language-clients\
**Created:** [March 18, 2022, 10:07am UTC](https://discuss.elastic.co/t/circle-geo-shape-query-not-supported-in-es-8-1/300024 "2022-03-18T10:07:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dat\_Le\_Tien](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dat_le_tien/32/46835_2.png) [@Dat\_Le\_Tien](https://discuss.elastic.co/u/Dat_Le_Tien)\
**Post date:** [March 18, 2022, 10:07am UTC](https://discuss.elastic.co/t/circle-geo-shape-query-not-supported-in-es-8-1/300024/1 "2022-03-18T10:07:58Z")

</div>

we currently want to move from ES7.17 to 8.1. so far everything went fine but one application seeding the data on geolocations fails with an error currently on our test system

```auto
unsupported_operation_exception: CIRCLE geometry is not supported

```

```auto
C#:
[GeoShape(Strategy = GeoStrategy.Recursive)]
 public CircleGeoShape Location { get; set; }

mapping: 
"location": {
    "type": "geo_shape",
    "strategy": "recursive"
},

Data saving:
"location": {
    "type": "circle",
    "coordinates": [
        -122.431297,
        37.773972
    ],
    "radius": "10"
}

```

Could someone help me to resolve this? I can not find out any c# code to migrate it to the circle processor

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [March 18, 2022, 10:38am UTC](https://discuss.elastic.co/t/circle-geo-shape-query-not-supported-in-es-8-1/300024/2 "2022-03-18T10:38:19Z")

</div>

See [Geoshape field type | Elasticsearch Guide [8.1] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/8.1/geo-shape.html#_circle) and check out the circle ingest processor.

---

<div class="post-metadata">

**Author:** ![Dat\_Le\_Tien](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dat_le_tien/32/46835_2.png) [@Dat\_Le\_Tien](https://discuss.elastic.co/u/Dat_Le_Tien)\
**Post date:** [March 21, 2022, 3:04am UTC](https://discuss.elastic.co/t/circle-geo-shape-query-not-supported-in-es-8-1/300024/3 "2022-03-21T03:04:22Z")

</div>

Thanks. I already read this topic but I can not find out any sample code to migrate this field. In NEST SDK v7.17 I don't see any property to assign the radius. Do you have any idea?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 18, 2022, 3:04am UTC](https://discuss.elastic.co/t/circle-geo-shape-query-not-supported-in-es-8-1/300024/4 "2022-04-18T03:04:36Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
