# Building index for layers on background thread

**URL:** <https://community.thinkgeo.com/t/building-index-for-layers-on-background-thread/9534>\
**Category:** WPF\
**Created:** [June 14, 2019, 5:42pm UTC](https://community.thinkgeo.com/t/building-index-for-layers-on-background-thread/9534 "2019-06-14T17:42:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Ethan](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ethan/32/19964_2.png) [@Ethan](https://community.thinkgeo.com/u/Ethan)\
**Post date:** [June 17, 2019, 5:21am UTC](https://community.thinkgeo.com/t/building-index-for-layers-on-background-thread/9534/2 "2019-06-17T05:21:02Z")

</div>

Hi Dan,

In fact our developer just handled the index build logic for Nautical Charts, you should want to try this version: [https://www.nuget.org/packages/ThinkGeo.MapSuite.Layers.NauticalCharts/11.0.0-beta012](https://www.nuget.org/packages/ThinkGeo.MapSuite.Layers.NauticalCharts/11.0.0-beta012)

The speed get faster when build index, you can find more detail information from this topic: [Nautical Chart Indexes](https://community.thinkgeo.com/t/nautical-chart-indexes/9522/9)

The index file will be used each time you get data from your data source, the index is help you quickly get necessary source, so when you refresh or pan or zoom, it is required.

And if your index file hadn’t built succeed, you can set “RequireIndex” equal false to shape file, then shape file will be rendered slower, but for NauticalChartsFeatureLayer you cannot do that, it looks the index file is necessary.

I think you should need build index for NauticalChartsLayer background, and after it is generated, you can tell user this layer is ready to be render.

Wish that’s helpful.

Regards,

Ethan

---

_[View the full topic](https://community.thinkgeo.com/t/building-index-for-layers-on-background-thread/9534)._
