VCityTeam / py3dtilers

Tilers accepting various input formats (OBJ, 3DCity databases, GeoJson, IFC) and producing 3DTiles tilesets.
GNU Lesser General Public License v2.1
199 stars 52 forks source link

Wrong transformation or rotation #105

Closed campione23 closed 2 years ago

campione23 commented 2 years ago

In the geojson-tiler functionality there is an error in the positioning of the 3D tilers within Cesium (EPSG: 4978), as shown in the below image.

I followed the tutorial 'Create 3DTiles from OpenStreetMap data' but the result is not correct ( crs_in = EPSG:2154 crs_out = EPSG:4978).

What could be the problem?

Thanks in advance.

image

utraum commented 2 years ago

I have the same problem crs_in = EPSG:28532, crs_out = EPSG:4978

Bildschirmfoto_2022-07-28_13-04-26

LorenzoMarnat commented 2 years ago

It seems that reprojection was broken with the PR 99.

I'll try to find a fix.

For now, you can use d2b560e9853fdd5e45934cf5d364b6aa01d13761 (the commit before the PR) where reprojection works well:

git checkout d2b560e9853fdd5e45934cf5d364b6aa01d13761
LorenzoMarnat commented 2 years ago

Since I can't find a fast fix, I've reverted PR #99 on master. I'll rework this PR later.

For now, the problem should be fixed on master.