# Include additional properties in Geocoder

**URL:** <https://community.cesium.com/t/include-additional-properties-in-geocoder/27778>\
**Category:** Cesium ion\
**Created:** [November 2, 2023, 6:48am UTC](https://community.cesium.com/t/include-additional-properties-in-geocoder/27778 "2023-11-02T06:48:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ljowen](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/ljowen/32/20181_2.png) [@ljowen](https://community.cesium.com/u/ljowen)\
**Post date:** [November 2, 2023, 6:48am UTC](https://community.cesium.com/t/include-additional-properties-in-geocoder/27778/1 "2023-11-02T06:48:35Z")

</div>

Using Cesiums geocoder to find an address currently isn’t ideal as the only property returned is `label`:  
For example: [https://api.cesium.com/v1/geocode/search?text=Sydney](https://api.cesium.com/v1/geocode/search?text=Sydney)

Gives two results which appear identical

```auto
        {
            "properties": {
                "label": "Sydney, Australia"
            },
            "bbox": [
                150.5858612060547,
                -34.1965217590332,
                151.35153198242188,
                -33.374847412109375
            ]
        },
        {
            "properties": {
                "label": "Sydney, Australia"
            },
            "bbox": [
                151.19696044921875,
                -33.87979507446289,
                151.2230224609375,
                -33.85604476928711
            ]
        },

```

Is it possible to include in the results additional information such as country, region, etc. in the response?

---

<div class="post-metadata">

**Author:** ![mdc9001](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/mdc9001/32/15919_2.png) [@mdc9001](https://community.cesium.com/u/mdc9001)\
**Post date:** [November 2, 2023, 1:41pm UTC](https://community.cesium.com/t/include-additional-properties-in-geocoder/27778/3 "2023-11-02T13:41:31Z")

</div>

I can see how that is confusing with two entries with the same name. I have opened an issue for our team to track this.

Can you provide some more information about your use case? For example:

- Do you want this information displayed directly to the end user using the default Cesium JS geocoder, or are you using an API to access this information before displaying it in your own user interface.
- What type of results are you searching for? How would you decided which result is better suited for your use case? In this case the locations are both in a similar geographic area, so even including a country or region may not differentiate the two results.

---

<div class="post-metadata">

**Author:** ![ljowen](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/ljowen/32/20181_2.png) [@ljowen](https://community.cesium.com/u/ljowen)\
**Post date:** [November 5, 2023, 10:31pm UTC](https://community.cesium.com/t/include-additional-properties-in-geocoder/27778/4 "2023-11-05T22:31:39Z")

</div>

Thanks for the quick reply!

- The use case is for [terriajs](https://github.com/TerriaJS/terriajs) and using an alternative geocoder to Bing maps, in this case I am calling the api directly and would handle displaying extra information to the user myself.
- The type of results could vary a lot depending on the user, I think a better example would have been multiple locations with the same name in different cities or states, for example `https://api.cesium.com/v1/geocode/search?text=west end QLD` , having the city and state fields would allow a user to select the right result

---

<div class="post-metadata">

**Author:** ![mdc9001](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/mdc9001/32/15919_2.png) [@mdc9001](https://community.cesium.com/u/mdc9001)\
**Post date:** [November 6, 2023, 2:59pm UTC](https://community.cesium.com/t/include-additional-properties-in-geocoder/27778/5 "2023-11-06T14:59:55Z")

</div>

Thank you for providing that additional information. I have updated our issue for that. We will provide you with any updates on the progress of the issue.

---

<div class="post-metadata">

**Author:** ![Irbian](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/irbian/32/31001_2.png) [@Irbian](https://community.cesium.com/u/Irbian)\
**Post date:** [August 22, 2025, 2:02pm UTC](https://community.cesium.com/t/include-additional-properties-in-geocoder/27778/6 "2025-08-22T14:02:23Z")

</div>

Any news on this? We miss for example longitude and latitude

---

<div class="post-metadata">

**Author:** ![Ankit\_Trehan](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/ankit_trehan/32/14038_2.png) [@Ankit\_Trehan](https://community.cesium.com/u/Ankit_Trehan)\
**Post date:** [August 25, 2025, 1:12pm UTC](https://community.cesium.com/t/include-additional-properties-in-geocoder/27778/7 "2025-08-25T13:12:01Z")

</div>

Hi,

We haven’t implemented this feature yet, please describe the use case for having longitude and latitude from the geocoder that will help you. I will bump the internal issue with your use case.

Thanks,  
Ankit
