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.
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.
Thanks in advance for your help !
Matthieu