Skip to main content
Solved

Please, does the image workspace convert citygml format to a shapefile?


mohamdwassouf
Forum|alt.badge.img

جدجديدI have a file that has been converted from .ifc format to citygml format and I want to convert it to a shapefile. There is a problem with the coordinates and dimensions of the building. If the modeling is done, as shown in the following figure...Suggest me a set of solutions, please.?

Best answer by evieatsafe

mohamdwassouf wrote:

Thank you for your interest in helping me solve this problem

I'd like to convert this file from citygml to a shapefile with a location for the build on the map

Thank you @mohamdwassouf​ for sharing your file.

 

looking at your file, I see that it does transform the CityGML to shapefile perfectly fine (with a few missing attributes as mentioned previously); however, even though it does have a coordinate system it does not seem to be georeferenced.

image If you know where this building is supposed to be located, you can add this information manually in FME perhaps by using a combination of the GeometryReplacer, the LocalCoordinateSystemSetter, and the Scaler. Check out this article for more ideas on how this might be possible.

View original
Did this help you find an answer to your question?

5 replies

evieatsafe
Safer
Forum|alt.badge.img+18
  • Safer
  • August 19, 2022

Hi @mohamdwassouf​ thank you for your question. Could you provide some sample data and perhaps we could assist you in your efforts.

 

From your photos, assuming that the left inputs are CityGML and the right outputs are Shapefile, it should run. However, you may need to check your attributes as they will be named differently in the Shapefile.

 

If you could also describe the problem you have with the coordinates and dimensions of the building, we can try to help with that as well.

 

Cheers, Evie


mohamdwassouf
Forum|alt.badge.img
evieatsafe wrote:

Hi @mohamdwassouf​ thank you for your question. Could you provide some sample data and perhaps we could assist you in your efforts.

 

From your photos, assuming that the left inputs are CityGML and the right outputs are Shapefile, it should run. However, you may need to check your attributes as they will be named differently in the Shapefile.

 

If you could also describe the problem you have with the coordinates and dimensions of the building, we can try to help with that as well.

 

Cheers, Evie

Thank you for your interest in helping me solve this problem

I'd like to convert this file from citygml to a shapefile with a location for the build on the map


evieatsafe
Safer
Forum|alt.badge.img+18
  • Safer
  • Best Answer
  • August 23, 2022
mohamdwassouf wrote:

Thank you for your interest in helping me solve this problem

I'd like to convert this file from citygml to a shapefile with a location for the build on the map

Thank you @mohamdwassouf​ for sharing your file.

 

looking at your file, I see that it does transform the CityGML to shapefile perfectly fine (with a few missing attributes as mentioned previously); however, even though it does have a coordinate system it does not seem to be georeferenced.

image If you know where this building is supposed to be located, you can add this information manually in FME perhaps by using a combination of the GeometryReplacer, the LocalCoordinateSystemSetter, and the Scaler. Check out this article for more ideas on how this might be possible.


mohamdwassouf
Forum|alt.badge.img
mohamdwassouf wrote:

Thank you for your interest in helping me solve this problem

I'd like to convert this file from citygml to a shapefile with a location for the build on the map

Thank you very much for helping me with this problem

This is the .ifc file for the same building and it has a georeference but when converting it to citgml the location coordinates are lost

How can I keep it from being lost?3


evieatsafe
Safer
Forum|alt.badge.img+18
  • Safer
  • August 29, 2022
mohamdwassouf wrote:

Thank you for your interest in helping me solve this problem

I'd like to convert this file from citygml to a shapefile with a location for the build on the map

Hi @mohamdwassouf​ thanks for replying, where are you creating your IFC files? It seems that when the IFC files are loaded into FME it no longer has a spatial reference. I'm not sure if this is how you were transforming your IFC into CityGML, if you were using FME to do so this is likely the root of your issue.

 

Like I said previously, with the information of where this building is supposed to be located, you can add this information manually in FME perhaps by using a combination of the GeometryReplacer, the LocalCoordinateSystemSetter, and the Scaler.

 

If this is impacting your production and the article I provided does not help, I would suggest submitting a support case to have this resolved.

 

Cheers, Evie


Reply


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