# Model tileset location is incorrect in local instance

**URL:** <https://community.cesium.com/t/model-tileset-location-is-incorrect-in-local-instance/16951>\
**Category:** Cesium ion\
**Created:** [January 19, 2022, 2:39pm UTC](https://community.cesium.com/t/model-tileset-location-is-incorrect-in-local-instance/16951 "2022-01-19T14:39:08Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Wintle](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/john_wintle/32/7692_2.png) [@John\_Wintle](https://community.cesium.com/u/John_Wintle)\
**Post date:** [January 19, 2022, 2:39pm UTC](https://community.cesium.com/t/model-tileset-location-is-incorrect-in-local-instance/16951/1 "2022-01-19T14:39:08Z")

</div>

I have generated a model tileset using the model-tiler (v4.5.2), giving the correct location of the origin etc.  
If I upload this to the [cesium.com](http://cesium.com) and add it as an asset into my story, it is in the correct location as defined.

However when I serve it to my local instance and add it to the scene, it is up in space somewhere!!  
Is there something I am missing when I define it to view in the Sandbox?

var tileset1 = viewer.scene.primitives.add (new Cesium.Cesium3DTileset({  
url : ‘[http://localhost:8002/static/3DBuilding\_Sillamae\_AOI\_OBJ/tileset.json](http://localhost:8002/static/3DBuilding_Sillamae_AOI_OBJ/tileset.json)’, }) );

viewer.zoomTo(tileset1);

 ![image](https://global.discourse-cdn.com/cesium/original/2X/8/8bfe0e1513b578ca358790af24c78bd22b38fe45.jpeg)

Kind regards,

John

---

<div class="post-metadata">

**Author:** ![Matt\_Boyd-Surka](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/matt_boyd-surka/32/5511_2.png) [@Matt\_Boyd-Surka](https://community.cesium.com/u/Matt_Boyd-Surka)\
**Post date:** [January 20, 2022, 2:29pm UTC](https://community.cesium.com/t/model-tileset-location-is-incorrect-in-local-instance/16951/2 "2022-01-20T14:29:44Z")

</div>

Could you please share the asset ID with us? That would let us investigate this internally and try to reproduce the problem.

---

<div class="post-metadata">

**Author:** ![John\_Wintle](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/john_wintle/32/7692_2.png) [@John\_Wintle](https://community.cesium.com/u/John_Wintle)\
**Post date:** [January 24, 2022, 11:38am UTC](https://community.cesium.com/t/model-tileset-location-is-incorrect-in-local-instance/16951/3 "2022-01-24T11:38:41Z")

</div>

Hi Matt, have a look at 774612.

Something strange is going on here. I can get them to appear now at the right location (didn’t change anything as far as I am aware), but if you use the following command:

var tileset3 = viewer.scene.primitives.add (new Cesium.Cesium3DTileset({  
url : ‘[http://localhost:8002/static/Tallinn\_Old\_Town\_p1/tileset.json](http://localhost:8002/static/Tallinn_Old_Town_p1/tileset.json)’, }) );

viewer.zoomTo(tileset3);

It will not jump to the tileset3, but just have a blue earth.  
Very strange and also not helpful when you are wanting to jump to the tileset to make sure it is there, as I have a number of different ones that i am loading with the asset-server.

 ![image](https://global.discourse-cdn.com/cesium/original/2X/c/cf8264b650e34868476e60c09fc8ee2ffc290b7c.jpeg)

---

<div class="post-metadata">

**Author:** ![Matt\_Boyd-Surka](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/matt_boyd-surka/32/5511_2.png) [@Matt\_Boyd-Surka](https://community.cesium.com/u/Matt_Boyd-Surka)\
**Post date:** [January 24, 2022, 4:19pm UTC](https://community.cesium.com/t/model-tileset-location-is-incorrect-in-local-instance/16951/4 "2022-01-24T16:19:05Z")

</div>

Hi,

Thanks for sending the asset ID. I tried reproducing this problem by serving the data with asset-server, and I haven’t been able to do it yet. The data appears at the right location on the globe for me, same as when the data is served from ion.

Can you please check a couple of things and let me know what you see?

1. With asset-server running, go to the URL of the `tileset.json` file in your web browser (looks like that would be `http://localhost:8002/static/Tallinn_Old_Town_p1/tileset.json` for you) and ensure that you can see the contents of the file.
2. In Sandcastle, check the developer console of your web browser (Ctrl+Shift+I in Chrome) and let me know if you see any messages there.

Also, which web browser are you using?

Thanks,  
Matt

---

<div class="post-metadata">

**Author:** ![John\_Wintle](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/john_wintle/32/7692_2.png) [@John\_Wintle](https://community.cesium.com/u/John_Wintle)\
**Post date:** [January 26, 2022, 1:58pm UTC](https://community.cesium.com/t/model-tileset-location-is-incorrect-in-local-instance/16951/5 "2022-01-26T13:58:18Z")

</div>

> [@Matt\_Boyd-Surka](#):
>
> [http://localhost:8002/static/Tallinn\_Old\_Town\_p1/tileset.json](http://localhost:8002/static/Tallinn_Old_Town_p1/tileset.json)

Yup, there is data visible when I put that line into the browser.  
There is nothing showing in the Dev console ☹  
Using Chrome : Version 97.0.4692.71 (Official Build) (64-bit)

---

<div class="post-metadata">

**Author:** ![Matt\_Boyd-Surka](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/matt_boyd-surka/32/5511_2.png) [@Matt\_Boyd-Surka](https://community.cesium.com/u/Matt_Boyd-Surka)\
**Post date:** [January 26, 2022, 6:25pm UTC](https://community.cesium.com/t/model-tileset-location-is-incorrect-in-local-instance/16951/6 "2022-01-26T18:25:20Z")

</div>

All right, thank you for checking that. Just to cover our bases, would you mind please sharing a link to the [Sandcastle](https://sandcastle.cesium.com/) with the code you’re using? I’ll run asset-server using your same directory structure, to make sure I’m reproducing your conditions closely.

After that, I may move this thread to the CesiumJS forum, since based on what you’ve described the data side seems all right.

---

<div class="post-metadata">

**Author:** ![John\_Wintle](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/john_wintle/32/7692_2.png) [@John\_Wintle](https://community.cesium.com/u/John_Wintle)\
**Post date:** [January 27, 2022, 10:39am UTC](https://community.cesium.com/t/model-tileset-location-is-incorrect-in-local-instance/16951/7 "2022-01-27T10:39:47Z")

</div>

It’s strange as the tileset is in the correct loation, but when you do the _**viewer.zoomTo(tileset3);**_ it will zoom to the heavens.

This is the code that I am using in the Sandbox:

var viewer = new Cesium.Viewer(‘cesiumContainer’, {

imageryProvider : new Cesium.TileMapServiceImageryProvider({  
url : ‘[http://localhost:8002/static/imagery/N057E021\_Tiled/](http://localhost:8002/static/imagery/N057E021_Tiled/)’  
}),

baseLayerPicker : false

});

var terrainProvider = new Cesium.CesiumTerrainProvider({  
url : ‘[http://localhost:8002/Estonia\_Terrain\_MSL](http://localhost:8002/Estonia_Terrain_MSL)’,  
});

viewer.terrainProvider = terrainProvider;

var imageryLayer1 = viewer.imageryLayers.addImageryProvider (new Cesium.TileMapServiceImageryProvider ({  
url : ‘[http://localhost:8002/static/N55E018\_N60E030\_15m/](http://localhost:8002/static/N55E018_N60E030_15m/)’ }) );

var imageryLayer3 = viewer.imageryLayers.addImageryProvider (new Cesium.TileMapServiceImageryProvider ({  
url : ‘[http://localhost:8002/static/N057E021\_Tiled/](http://localhost:8002/static/N057E021_Tiled/)’ }) );

var imageryLayer4 = viewer.imageryLayers.addImageryProvider (new Cesium.TileMapServiceImageryProvider ({  
url : ‘[http://localhost:8002/static/N057E022\_Tiled/](http://localhost:8002/static/N057E022_Tiled/)’ }) );

var imageryLayer5 = viewer.imageryLayers.addImageryProvider (new Cesium.TileMapServiceImageryProvider ({  
url : ‘[http://localhost:8002/static/N057E023\_Tiled/](http://localhost:8002/static/N057E023_Tiled/)’ }) );

var imageryLayer6 = viewer.imageryLayers.addImageryProvider (new Cesium.TileMapServiceImageryProvider ({  
url : ‘[http://localhost:8002/static/N057E024\_Tiled/](http://localhost:8002/static/N057E024_Tiled/)’ }) );

var imageryLayer7 = viewer.imageryLayers.addImageryProvider (new Cesium.TileMapServiceImageryProvider ({  
url : ‘[http://localhost:8002/static/N057E025\_Tiled/](http://localhost:8002/static/N057E025_Tiled/)’ }) );

var imageryLayer8 = viewer.imageryLayers.addImageryProvider (new Cesium.TileMapServiceImageryProvider ({  
url : ‘[http://localhost:8002/static/N057E026\_Tiled/](http://localhost:8002/static/N057E026_Tiled/)’ }) );

var imageryLayer9 = viewer.imageryLayers.addImageryProvider (new Cesium.TileMapServiceImageryProvider ({  
url : ‘[http://localhost:8002/static/N057E027\_Tiled/](http://localhost:8002/static/N057E027_Tiled/)’ }) );

var imageryLayer10 = viewer.imageryLayers.addImageryProvider (new Cesium.TileMapServiceImageryProvider ({  
url : ‘[http://localhost:8002/static/N058E021\_Tiled/](http://localhost:8002/static/N058E021_Tiled/)’ }) );

var imageryLayer11 = viewer.imageryLayers.addImageryProvider (new Cesium.TileMapServiceImageryProvider ({  
url : ‘[http://localhost:8002/static/N058E022\_Tiled/](http://localhost:8002/static/N058E022_Tiled/)’ }) );

var imageryLayer12 = viewer.imageryLayers.addImageryProvider (new Cesium.TileMapServiceImageryProvider ({  
url : ‘[http://localhost:8002/static/N058E023\_Tiled/](http://localhost:8002/static/N058E023_Tiled/)’ }) );

var imageryLayer13 = viewer.imageryLayers.addImageryProvider (new Cesium.TileMapServiceImageryProvider ({  
url : ‘[http://localhost:8002/static/N058E024\_Tiled/](http://localhost:8002/static/N058E024_Tiled/)’ }) );

var imageryLayer14 = viewer.imageryLayers.addImageryProvider (new Cesium.TileMapServiceImageryProvider ({  
url : ‘[http://localhost:8002/static/N058E025\_Tiled/](http://localhost:8002/static/N058E025_Tiled/)’ }) );

var imageryLayer15 = viewer.imageryLayers.addImageryProvider (new Cesium.TileMapServiceImageryProvider ({  
url : ‘[http://localhost:8002/static/N058E026\_Tiled/](http://localhost:8002/static/N058E026_Tiled/)’ }) );

var imageryLayer16 = viewer.imageryLayers.addImageryProvider (new Cesium.TileMapServiceImageryProvider ({  
url : ‘[http://localhost:8002/static/N058E027\_Tiled/](http://localhost:8002/static/N058E027_Tiled/)’ }) );

var imageryLayer17 = viewer.imageryLayers.addImageryProvider (new Cesium.TileMapServiceImageryProvider ({  
url : ‘[http://localhost:8002/static/N059E022\_Tiled/](http://localhost:8002/static/N059E022_Tiled/)’ }) );

var imageryLayer18 = viewer.imageryLayers.addImageryProvider (new Cesium.TileMapServiceImageryProvider ({  
url : ‘[http://localhost:8002/static/N059E023\_Tiled/](http://localhost:8002/static/N059E023_Tiled/)’ }) );

var imageryLayer19 = viewer.imageryLayers.addImageryProvider (new Cesium.TileMapServiceImageryProvider ({  
url : ‘[http://localhost:8002/static/N059E024\_Tiled/](http://localhost:8002/static/N059E024_Tiled/)’ }) );

var imageryLayer20 = viewer.imageryLayers.addImageryProvider (new Cesium.TileMapServiceImageryProvider ({  
url : ‘[http://localhost:8002/static/N059E025\_Tiled/](http://localhost:8002/static/N059E025_Tiled/)’ }) );

var imageryLayer21 = viewer.imageryLayers.addImageryProvider (new Cesium.TileMapServiceImageryProvider ({  
url : ‘[http://localhost:8002/static/N059E026\_Tiled/](http://localhost:8002/static/N059E026_Tiled/)’ }) );

var imageryLayer22 = viewer.imageryLayers.addImageryProvider (new Cesium.TileMapServiceImageryProvider ({  
url : ‘[http://localhost:8002/static/N059E027\_Tiled\_New/](http://localhost:8002/static/N059E027_Tiled_New/)’ }) );

var imageryLayer23 = viewer.imageryLayers.addImageryProvider (new Cesium.TileMapServiceImageryProvider ({  
url : ‘[http://localhost:8002/static/N059E028\_Tiled\_New/](http://localhost:8002/static/N059E028_Tiled_New/)’ }) );

var tileset3 = viewer.scene.primitives.add (new Cesium.Cesium3DTileset({  
url : ‘[http://localhost:8002/static/Tallinn\_Old\_Town\_p1/tileset.json](http://localhost:8002/static/Tallinn_Old_Town_p1/tileset.json)’, }) );

viewer.scene.camera.flyTo({  
destination: Cesium.Cartesian3.fromDegrees(24.75381111, 59.43864167, 75),  
orientation: {  
heading: Cesium.Math.toRadians(20),  
pitch: Cesium.Math.toRadians(-20),  
},  
});

viewer.zoomTo(tileset3);

---

<div class="post-metadata">

**Author:** ![Matt\_Boyd-Surka](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/matt_boyd-surka/32/5511_2.png) [@Matt\_Boyd-Surka](https://community.cesium.com/u/Matt_Boyd-Surka)\
**Post date:** [January 27, 2022, 3:50pm UTC](https://community.cesium.com/t/model-tileset-location-is-incorrect-in-local-instance/16951/8 "2022-01-27T15:50:37Z")

</div>

Thanks for that. Could you please use the **Share** button in Sandcastle (at the top of the page) to send me a link to your code? I noticed that some of the formatting changed during copy/paste (e.g., apostrophes), and I just want to make certain that we’re looking at the same thing.

Off the top of my head, I wonder if there might be a problem with calling `viewer.scene.camera.flyTo` before `viewer.zoomTo`, but I can test it out once I have the Sandcastle. Thanks!

---

<div class="post-metadata">

**Author:** ![John\_Wintle](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/john_wintle/32/7692_2.png) [@John\_Wintle](https://community.cesium.com/u/John_Wintle)\
**Post date:** [January 27, 2022, 4:06pm UTC](https://community.cesium.com/t/model-tileset-location-is-incorrect-in-local-instance/16951/9 "2022-01-27T16:06:35Z")

</div>

[http://localhost:8080/Apps/Sandcastle/index.html#c=zZhrbuM2EICvwqYBLAO2Hn7H6wQFdvOjQJJdbNwCBQwYtMTYbGhSICk/usg1epD+7ml6kg4p2ZZsp1b7pxJgSBrO45shOYa4whKtKFkTiW4RJ2v0kSiaLN2frcyphfb1o+AaU05krYG+TThC5ofoEs+J3H6RYkUjcDDMOxhTRh5x/Ezkiobkx6KqY52YK5EM7GoLreOh5zERYrYQSg8Hvt/ylMaahl4Wx3vyu/17vxVMje/Iq1kfb/XGHmiGFXnAWyK/0PDVAr1gpsiET/hb/YO5rSBdTaSEZPbYhbzT27ioUhL3XmnBKZ5m1tPH54da4xDaVtQ9jX4k2XNmaduEAtDLHOTFysVRdFRb5JSdBeR8s3UrMwdP3e69HwymTz3/3m/706C79GpQfFQ/y9v+33mP1sr7qJ2KoLYuo3Yrgtq+jNqrCGrnMmq/Iqjdy6iDiqD2LqPeVAS1fxk18CvAOijXrYKgIqwl2lXQqghriX4VtCvCWqJhBZ2KsJboWEG3IqwlWlbQqwhrmZ5VhX+tm5J9YFAR1jJ94KYirCX6QMuvCGuJPtAKKsJaog+0WhVhzfrA9Ims/5G3XRHewXne7LMbhhTROVYVEk7cWNIl1XRFLG6BL721P41TU/MZXoZmjBmjnE8/s2g6Fms+jQMvi+7+qgSvNXK1zKOEeEkkdl/YdizSb/6IKE05eBV8uKfCUsMT5m33RYrlJzKXhCin1XH73fYggKuBujdupz3odYJev4H63f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+6Bg3o5UoH7FOCZSdDdKd4PexsTEWpDwdSY2UL0CghET2KBqIda2jGB56qsoAZmKMS840mSjYVqhKTagZSsKpRqi73bUVD0TRkJbQUvvWPK6jWh8nYlgDQox9n4vuW0gEZt1pg6q++NetR8cW+SaYYYuv8IsyblOw5PI2qSYVnJcnJL1KswF7IM5rFnoRhzefPOEN/AUwJPSJDZC1w+OpioDxCxe4Az3pxgUQFaz7muny6Ak3SyBFsd3eOlbbpulG7C5lxcWEKPh6xC9JDw0RXXqsKB3NZSYKuJky/ga9MnGqdc/wB8POpnKEPOvqfpO7yQbc/31+x8n9F4KVq3cmVjvlmOZ3B9S9Qu5//lfcweBzHcuz7auQ2vz8r0t3xD/Bg)

---

<div class="post-metadata">

**Author:** ![John\_Wintle](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/john_wintle/32/7692_2.png) [@John\_Wintle](https://community.cesium.com/u/John_Wintle)\
**Post date:** [January 27, 2022, 4:10pm UTC](https://community.cesium.com/t/model-tileset-location-is-incorrect-in-local-instance/16951/10 "2022-01-27T16:10:48Z")

</div>

I put the viewer.scene.camera.flyto in there as they viewer.zoomTo (tileset3) wasn’t working and it got me to the approximate area I was interested in

---

<div class="post-metadata">

**Author:** ![Matt\_Boyd-Surka](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/matt_boyd-surka/32/5511_2.png) [@Matt\_Boyd-Surka](https://community.cesium.com/u/Matt_Boyd-Surka)\
**Post date:** [January 27, 2022, 6:24pm UTC](https://community.cesium.com/t/model-tileset-location-is-incorrect-in-local-instance/16951/11 "2022-01-27T18:24:08Z")

</div>

Thanks, appreciate you helping me try to reproduce this. I still haven’t been able to see it on my end, but would you mind please trying [this Sandcastle](https://sandcastle.cesium.com/#c=bZBBa8JAEIX/ypKLEWRX66VolII9Fjw09LQg62baTDvZDbuTiJb+9ybGglTnsszs+948pjVBtAgHCGIlHBzEBiI2lXw7z1Kd2HO/8Y4NOgg6GS+1067tOEaCCDzvyMFCRgsOZB2wQsYWojRFIdIr2+GZP+cDmn5rJ0QTSCzEqGSuF0qRt4ZKH3nxOJ0+qMiG0arcEKFzuy0Vu9wf3K6eqct++Rm9G020+xlfsg1hTt5XuU//Uo6XySTJIh8J1v3Wvp6wqn3gPkEqpWKoajIMUe0b+9U52xh7y16aqWs0K7AVWKzu3EdYMjF2P+8N0SueQCfrTHX6G5S8KdB9bFsIZI69rJytX4ahlDJTXXufZO9pb8I/518) and letting me know what you see?

I removed everything but the tileset that you are attempting to zoom to. I’m hoping that helps us zero in on the problem, in case it’s something with the terrain or imagery providers that is throwing it off.

---

<div class="post-metadata">

**Author:** ![John\_Wintle](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/john_wintle/32/7692_2.png) [@John\_Wintle](https://community.cesium.com/u/John_Wintle)\
**Post date:** [January 28, 2022, 9:11am UTC](https://community.cesium.com/t/model-tileset-location-is-incorrect-in-local-instance/16951/12 "2022-01-28T09:11:12Z")

</div>

Same issue, doesn’t zoom to the tileset.

 ![image001.png](https://global.discourse-cdn.com/cesium/original/2X/a/a7e002984a399e2ae58c5515bcfa4384994ad494.png)

In the console it is just complaining about the:

An error occurred in “IonImageryProvider”: Failed to obtain image tile X: 14 Y: 4 Level: 3.

Probably because one is not defined.

![image001.jpg](https://global.discourse-cdn.com/cesium/original/2X/f/f464dd1c7c382c015b3fc53eebe1cd1aadffee61.jpeg)

---

<div class="post-metadata">

**Author:** ![Matt\_Boyd-Surka](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/matt_boyd-surka/32/5511_2.png) [@Matt\_Boyd-Surka](https://community.cesium.com/u/Matt_Boyd-Surka)\
**Post date:** [January 28, 2022, 1:29pm UTC](https://community.cesium.com/t/model-tileset-location-is-incorrect-in-local-instance/16951/13 "2022-01-28T13:29:34Z")

</div>

Thanks for trying that and for the screenshot. Can you please use one of your Cesium ion access tokens in the Sandcastle? Let me know if you have any questions about how to find your access tokens or use them (Cesium ion dashboard → **Access Tokens** ).

```auto
Cesium.Ion.defaultAccessToken = '<your-access-token>';

```

Also, are you testing this with an internet connection or without one? Are you looking to do this entirely offline?

---

<div class="post-metadata">

**Author:** ![John\_Wintle](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/john_wintle/32/7692_2.png) [@John\_Wintle](https://community.cesium.com/u/John_Wintle)\
**Post date:** [January 28, 2022, 3:05pm UTC](https://community.cesium.com/t/model-tileset-location-is-incorrect-in-local-instance/16951/14 "2022-01-28T15:05:40Z")

</div>

This is being tested with an internet connection although currently all the items required are being served locally.

The idea is not to rely on external sources for data but to host them ourselves.

Does the access token have to be generated on the machine that I am running the asset-server and cesium-ion on? Not exactly sure why I need one…

---

<div class="post-metadata">

**Author:** ![Matt\_Boyd-Surka](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/matt_boyd-surka/32/5511_2.png) [@Matt\_Boyd-Surka](https://community.cesium.com/u/Matt_Boyd-Surka)\
**Post date:** [January 28, 2022, 3:24pm UTC](https://community.cesium.com/t/model-tileset-location-is-incorrect-in-local-instance/16951/15 "2022-01-28T15:24:29Z")

</div>

The access token just needs to be able to get the assets that are available on Cesium ion for free, so your ion account’s default access token should suffice. The imagery provider is trying to get Bing maps imagery (which is the default imagery used by the viewer when no custom `ImageryProvider` is provided, as you noted).

Also, since it looks like you are using a local copy of [Cesium](https://github.com/CesiumGS/cesium), please check if you have pulled the latest changes. I’m wondering if we rotated the default access token, which is what is causing the problem you are seeing.
