tentone / geo-three

Tile based geographic world map visualization library for threejs
https://tentone.github.io/geo-three/docs/
MIT License
651 stars 105 forks source link

Location problems #51

Open undefinedSolutions opened 1 year ago

undefinedSolutions commented 1 year ago

Thank you for your great work!

I tried to update my version from 0.1.1 to 0.1.9, but i noticed a misplacement with 3d-tiles from three-loader-3dtiles after updateing to 0.1.2. On Cesium the 3d-tiles are correctly placed.

Version 0.1.1 Version 0.1.1

Version 0.1.2 Version 0.1.2

In both versions the 3D tiles have a wrong scale, but I think this problem comes from three-loader-3dtiles.

tentone commented 1 year ago

Hello

In the version 0.1.2 a change was introduced to fix the coordinate calculation using the average radius of earth.

The value in the previous versions was wrong, that is what caused this shift in position.

But the current solution can still be improved to consider the elliptical model of earth.

Might be something to improve in the future.

Thanks a lot!