Skip to main content
Question

Unable to produce extruded citygml from shapefile

  • August 3, 2022
  • 4 replies
  • 28 views

I'm trying to take a simple shapefile and transform it to citygml. I've found a couple solutions that suggest all I need is what it defined in my attached workspace but the output doesn't seem to honor my extruded geometry. Any ideas what I'm doing wrong?

 

And here is a picture of the workspace if that helps.

fme

4 replies

  • Author
  • August 5, 2022

I've gotten further but the transformed citygml is not projected correctly. Using Data Inspector my shapefile is CS_NAME: _LL-WGS84_ and I've left the Coordinate System as <not set>

 

When I inspect the generated citygml inside of FME Workbench it looks correct

citygml_viewWhen I open the citygml file into QGIS, it looks like this where all the geometry is at the south pole.

qgis 

Any ideas what is happening here?


virtualcitymatt
Celebrity
Forum|alt.badge.img+47

I've gotten further but the transformed citygml is not projected correctly. Using Data Inspector my shapefile is CS_NAME: _LL-WGS84_ and I've left the Coordinate System as <not set>

 

When I inspect the generated citygml inside of FME Workbench it looks correct

citygml_viewWhen I open the citygml file into QGIS, it looks like this where all the geometry is at the south pole.

qgis 

Any ideas what is happening here?

Did you make any progress? it could be that the axis are flipped in the output file. There is a setting on the writer to specify the Srs axis or something. check that out.

 

Otherwise I'd also suggest using a projection like SPHERICAL_MECATOR or something to keep it in meters. Might make it easier


  • Author
  • August 10, 2022

Did you make any progress? it could be that the axis are flipped in the output file. There is a setting on the writer to specify the Srs axis or something. check that out.

 

Otherwise I'd also suggest using a projection like SPHERICAL_MECATOR or something to keep it in meters. Might make it easier

I ended up using a CoordinateSwapper before the writer to correct the issue. Seems weird that I had to do that but I'll check out the Srs axis options. Thanks!


  • Author
  • August 10, 2022

Here changes to the writer worked for meCapture3