# Json export layer data

**URL:** <https://discourse.mapeditor.org/t/json-export-layer-data/1069>\
**Category:** Questions\
**Created:** [January 24, 2016, 3:54pm UTC](https://discourse.mapeditor.org/t/json-export-layer-data/1069 "2016-01-24T15:54:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ophelius](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/ophelius/32/3149_2.png) [@ophelius](https://discourse.mapeditor.org/u/ophelius)\
**Post date:** [January 24, 2016, 3:54pm UTC](https://discourse.mapeditor.org/t/json-export-layer-data/1069/1 "2016-01-24T15:54:09Z")

</div>

[Edited] Never mind, I found out about Global tile id’s

I’m exporting my map to json format but the layer data listed are numbers I don’t understand. For example, one of the layers the data set looks like: “data”:[129,129,129,129,0,0…etc], but there aren’t any tiles with ID 129 in my tile set. I only have tiles that go up to ID=30. And if there’s no tile on the map, shouldn’t it read -1 and not 0?  
The Tile Layer Format in my map properties is CSV, so I tried others but they don’t help.  
When I export to CSV format it gives the actual tile IDs as data, but these numbers here I don’t understand. I would like to use json format. I could just use csv format for tile data and json for other properties, but I would prefer 1 file for everything. Any help is appreciated. Thanks

---

<div class="post-metadata">

**Author:** ![Ablu](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/ablu/32/1496_2.png) [@Ablu](https://discourse.mapeditor.org/u/Ablu)\
**Post date:** [February 18, 2016, 8:57am UTC](https://discourse.mapeditor.org/t/json-export-layer-data/1069/2 "2016-02-18T08:57:39Z")

</div>

Just in case somebody finds this from a search engine:

You can read about the tile ids at:

[http://doc.mapeditor.org/reference/tmx-map-format/#layer](http://doc.mapeditor.org/reference/tmx-map-format/#layer)

That should explain why the ids are sometimes larger / different from what you expect.

Regards,  
Ablu
