Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reprojection issue #181

Open
mtracol opened this issue Feb 8, 2024 · 0 comments
Open

Reprojection issue #181

mtracol opened this issue Feb 8, 2024 · 0 comments

Comments

@mtracol
Copy link

mtracol commented Feb 8, 2024

Hi VCityTeam,

I wanted to get 3Dtiles for Cesium from a gml set of buildings.
Following the tuto "CityGML to 3DTiles pipeline", I imported in a gml file with buildings of the area of Rennes in a 3DCitydatabase.

The header of the gml file give this information:
<gml:Envelope srsName="urn:ogc:def:crs,crs:EPSG::3948,crs:EPSG::5720" srsDimension="3">

Thus, I created a db with the 3DCitydb shell script with this inputs:

_Please enter a valid SRID (e.g., EPSG code of the CRS to be used).
(SRID must be an integer greater than zero): 3948

Please enter the EPSG code of the height system (use 0 if unknown or '3948' is already 3D).
(default HEIGHT_EPSG=0): 5720

Please enter the corresponding gml:srsName to be used in GML exports.
(default GMLSRSNAME=urn:ogc:def:crs,crs:EPSG::3948,crs:EPSG::5720):_

Then, with the py3dtilers script I ran this command:

citygml-tiler -i C:\Users\A\3Dtiles_rennes\CityTilerDBConfigReference.yml --type building --with_texture -crs_in EPSG:3948 --crs_out EPSG:4978

I got all the tiles without issues, I uploaded the zipfile in Cesium.
But I ended up with tiles located in the middle of the north atlantic instead of the city of Rennes.

Is there anything that I missed ? The crs codes seem to be good.

image

Thanks in advance for your help !

Matthieu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant