Skip to main content
Question

hello everyone I got a 3d shapefile of buildings and I want to convert it to a citygml fine with LoD1 what is the workflow that I should do and here is my shapefile? thank you

  • February 11, 2023
  • 3 replies
  • 31 views

hello everyone I got a 3d shapefile of buildings and I want to convert it to a citygml fine with LoD1 what is the workflow that I should do and here is my shapefile? thank you

3 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • February 13, 2023

Hi @redamrini​,

Please have a look at the attached workspace, which extrudes 3D buildings from the Shape polygons, then sets the CityGML LOD to 1 and writes to CityGML Buildings.


  • Author
  • February 15, 2023
daveatsafe wrote:

Hi @redamrini​,

Please have a look at the attached workspace, which extrudes 3D buildings from the Shape polygons, then sets the CityGML LOD to 1 and writes to CityGML Buildings.

Thank you so much it works for me but I got only one probleme and that is when I put citygml file to cesium ion it dosen't fit in the right location and it's like and longitude and the latitude are switch. It's like if the right X is -7.617758 and the right Y is 33.595294 and in the cesium ion X become 33.595294 and Y become -7.617758

here is my citygml file and my 3d tiles files


daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • February 15, 2023
redamrini wrote:

Thank you so much it works for me but I got only one probleme and that is when I put citygml file to cesium ion it dosen't fit in the right location and it's like and longitude and the latitude are switch. It's like if the right X is -7.617758 and the right Y is 33.595294 and in the cesium ion X become 33.595294 and Y become -7.617758

here is my citygml file and my 3d tiles files

CityGML stores coordinate systems as EPSG numbers, but the coordinate system on your Shape data does not have an EPSG equivalent, so is not written to the CityGML file. This prevents Cesium Ion from properly geolocating it.

I am attaching an updated workspace that reprojects your data to EPSG:26191 (Merchich / Nord Maroc), which is quite close to your Shape coordinate system. This can be written to the CityGML file, and will properly geolocate the data for Ion.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings