Question

How to combine two CityGML files into one?

  • 19 September 2017
  • 4 replies
  • 19 views

Hi,

I am trying to create one CityGML file based on two others. Both have the same CRS.

I am not sure if I have to use transformers and if yes which ones?

It did not work with only two readers and one writer.

Maybe there is a solution by using XML-Transformers and the "CityObjectMember".

 

It sounds like an easy task but I am new to FME.

By the way, I am using FME Desktop 2017.1

 

Thanks,

 

 

The Cartographer ;-)

 

 


4 replies

Userlevel 2
Badge +17
Hi @thecartographer,

 

A workspace that reads form both CityGML files and writes to a new one should work fine. What problems are you seeing with your output CityGML file? Would you be able to share your workspace and source CityGML files with me?

 

Hi @thecartographer,

 

A workspace that reads form both CityGML files and writes to a new one should work fine. What problems are you seeing with your output CityGML file? Would you be able to share your workspace and source CityGML files with me?

 

Thank you for your quick reply!

 

I tried again and it works now.

 

 

My next step is to add a geotiff file (DEM) to the exisiting CityGML file.

 

Is there anything I have to consider?

 

 

greetings,

 

The Cartographer

 

 

 

Userlevel 2
Badge +17
Thank you for your quick reply!

 

I tried again and it works now.

 

 

My next step is to add a geotiff file (DEM) to the exisiting CityGML file.

 

Is there anything I have to consider?

 

 

greetings,

 

The Cartographer

 

 

 

CityGML needs a surface rather than the raster you are going to get from the GeoTIFF files, so I would use a SurfaceModeller to create a surface from the GeoTIFF input before writing to CityGML.

 

 

Userlevel 2
Badge +17

A workspace that reads from both CityGML files and writes to a new one should work fine.

Reply