# Dynamic mapping for geo\_point

**URL:** <https://discuss.elastic.co/t/dynamic-mapping-for-geo-point/138181>\
**Category:** Elasticsearch\
**Created:** [July 2, 2018, 10:51am UTC](https://discuss.elastic.co/t/dynamic-mapping-for-geo-point/138181 "2018-07-02T10:51:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jalogisch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jalogisch/32/90844_2.png) [@jalogisch](https://discuss.elastic.co/u/jalogisch)\
**Post date:** [July 2, 2018, 10:51am UTC](https://discuss.elastic.co/t/dynamic-mapping-for-geo-point/138181/1 "2018-07-02T10:51:19Z")

</div>

He all,

I have a dynamic mapping in my ES 5.6.10 index template to make some fields `geo_point` aware - to store longitute and latitude in this field.

```auto
          {
            "geo_map": {
              "match": "*_geolocation",
              "mapping": {
                "type": "geo_point"
              }

```

When now values are store in a field that (should) match the above dynamic mapping like _dst\_addr\_geolocation_ with the value _51.0,9.0_ IMHO the field should be added with the wanted mapping. But when I check the mapping of the new created index I get just the following:

```auto
         "dst_addr_geolocation": {
            "type": "text"
          },

```

Which looks like the default mapping is used. Did I miss something from the documentation on this topic or is this as it should and I just understand the docs wrongs?

thank you for your help.  
Jan

---

<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:** [July 30, 2018, 10:51am UTC](https://discuss.elastic.co/t/dynamic-mapping-for-geo-point/138181/2 "2018-07-30T10:51:28Z")

</div>

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