# Topography with IfcGeographicElement?

**URL:** <https://forums.buildingsmart.org/t/topography-with-ifcgeographicelement/913>\
**Category:** IFC\
**Tags:** ifc4\
**Created:** [January 24, 2019, 7:01pm UTC](https://forums.buildingsmart.org/t/topography-with-ifcgeographicelement/913 "2019-01-24T19:01:57Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![RubenGR](https://avatars.discourse-cdn.com/v4/letter/r/a6a055/32.png) [@RubenGR](https://forums.buildingsmart.org/u/RubenGR)\
**Post date:** [January 24, 2019, 7:01pm UTC](https://forums.buildingsmart.org/t/topography-with-ifcgeographicelement/913/1 "2019-01-24T19:01:57Z")

</div>

Does someone how to export an IFC with the topography from some BIM software? I would need it using an IfcGeographicElement. I tried to model it with Revit, but it includes all the 3D representation of the terrain in the IfcSite. I need this entity because I’m only interested on the terrain and the site includes cars, trees …

Thanks!

---

<div class="post-metadata">

**Author:** ![Moult](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/moult/32/196_2.png) [@Moult](https://forums.buildingsmart.org/u/Moult)\
**Post date:** [January 24, 2019, 8:51pm UTC](https://forums.buildingsmart.org/t/topography-with-ifcgeographicelement/913/2 "2019-01-24T20:51:44Z")

</div>

I’m not sure completely the answer to your question, but in Revit, there is [documentation](https://www.descor.com/allegati/ifc-manual-2018-enu.pdf) for how to override various IFC properties. You can set those for your cars and trees to be exported as other things, or not to export at all.

I hear ArchiCAD has better IFC support, so you might want to try that though. FreeCAD (open-source BIM) also has support for all `IfcProduct` types if you want to be very selective about how you export.

---

<div class="post-metadata">

**Author:** ![RubenGR](https://avatars.discourse-cdn.com/v4/letter/r/a6a055/32.png) [@RubenGR](https://forums.buildingsmart.org/u/RubenGR)\
**Post date:** [January 24, 2019, 9:23pm UTC](https://forums.buildingsmart.org/t/topography-with-ifcgeographicelement/913/3 "2019-01-24T21:23:51Z")

</div>

Thank you Moult, I knew that documentation, but it says that they have a mapping table where you can translate classes from Revit to IFC entities, but it doesn’t work :-(. In the same way, I tried to export sanitary terminals with the specific predefined type such us BIDET, BATH, SHOWER, however all those ones have their predefined types as NOTDEFINED.

I’ll try it with ArchiCAD.

---

<div class="post-metadata">

**Author:** ![Moult](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/moult/32/196_2.png) [@Moult](https://forums.buildingsmart.org/u/Moult)\
**Post date:** [January 24, 2019, 9:40pm UTC](https://forums.buildingsmart.org/t/topography-with-ifcgeographicelement/913/4 "2019-01-24T21:40:20Z")

</div>

I have also had poor support with IFC classifications in Revit. I have tested it somewhat myself and found that it does work on custom families / in-place families. Good luck with system families - I don’t think it works.

You might want to try out FreeCAD (get the latest 0.18 version, and if the property sets are out of date, I can point you to a file in the bleeding edge repo which has the latest data), which currently supports the ability to assign any geometric representation to any IFC Product type, and also supports all property sets. I am working on improving this support to include the attributes of each IFC product and updating the values to IFC4Add2, which should be implemented soon.

---

<div class="post-metadata">

**Author:** ![RubenGR](https://avatars.discourse-cdn.com/v4/letter/r/a6a055/32.png) [@RubenGR](https://forums.buildingsmart.org/u/RubenGR)\
**Post date:** [January 24, 2019, 9:56pm UTC](https://forums.buildingsmart.org/t/topography-with-ifcgeographicelement/913/5 "2019-01-24T21:56:30Z")

</div>

Ok! I didn’t know freeCAD but that you say sounds very well. I’m going to install it tomorrow at work! I’ll tell you if it resolves my issue…  
Good night 🙂

---

<div class="post-metadata">

**Author:** ![Moult](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/moult/32/196_2.png) [@Moult](https://forums.buildingsmart.org/u/Moult)\
**Post date:** [January 24, 2019, 11:06pm UTC](https://forums.buildingsmart.org/t/topography-with-ifcgeographicelement/913/6 "2019-01-24T23:06:35Z")

</div>

I just tried exporting a IfcGeographicElement in FreeCAD and it errors out. Perhaps it is a localised bug, so let me know if it works for you. If not, let me know what error you get and we’ll fix it 🙂

---

<div class="post-metadata">

**Author:** ![jwouellette](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/jwouellette/32/2140_2.png) [@jwouellette](https://forums.buildingsmart.org/u/jwouellette)\
**Post date:** [January 25, 2019, 4:31pm UTC](https://forums.buildingsmart.org/t/topography-with-ifcgeographicelement/913/7 "2019-01-25T16:31:03Z")

</div>

I’m assuming, of course, that you are referring to IFC4 and NOT IFC2x3.

This is currently being worked on by the vendors supporting IFC4 RV1.2, for certification. Until those certifications are finished, you may find results a bit… inconsistent.

---

<div class="post-metadata">

**Author:** ![TLiebich](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/tliebich/32/71_2.png) [@TLiebich](https://forums.buildingsmart.org/u/TLiebich)\
**Post date:** [January 25, 2019, 4:51pm UTC](https://forums.buildingsmart.org/t/topography-with-ifcgeographicelement/913/8 "2019-01-25T16:51:23Z")

</div>

as @jwouellette says - the IfcGeographicElement is a new class in IFC4. In IFC2x3 coordination view the topography was directly included as a shape representation of IfcSite. In IFC4 it had been separated out, the IfcSite is now a container and top of the spatial structure. The terrain, IfcGeographicElement/TERRAIN is now an independent entity and associated with the site.

Maybe it is worth testing the BIM Authoring tool’s early IFC4 support.

---

<div class="post-metadata">

**Author:** ![RubenGR](https://avatars.discourse-cdn.com/v4/letter/r/a6a055/32.png) [@RubenGR](https://forums.buildingsmart.org/u/RubenGR)\
**Post date:** [January 25, 2019, 4:59pm UTC](https://forums.buildingsmart.org/t/topography-with-ifcgeographicelement/913/9 "2019-01-25T16:59:05Z")

</div>

Of course you are right…if the IFC comes in 2X3 I work with the site representation but very often contains other element representations and the result is not as good as I would like it.

---

<div class="post-metadata">

**Author:** ![RubenGR](https://avatars.discourse-cdn.com/v4/letter/r/a6a055/32.png) [@RubenGR](https://forums.buildingsmart.org/u/RubenGR)\
**Post date:** [January 25, 2019, 5:08pm UTC](https://forums.buildingsmart.org/t/topography-with-ifcgeographicelement/913/10 "2019-01-25T17:08:38Z")

</div>

I apologize but I didn’t have enough time at work to test freeCAD well. I installed it and tried to import and IFC with the topography from sketchup. It was imported good apparently. After that I exported to IFC without changing anything but this new IFC lost the geometry…  
I’ll keep on working on it next week, thanks…

---

<div class="post-metadata">

**Author:** ![dvrvb](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/dvrvb/32/120_2.png) [@dvrvb](https://forums.buildingsmart.org/u/dvrvb)\
**Post date:** [January 29, 2019, 4:50pm UTC](https://forums.buildingsmart.org/t/topography-with-ifcgeographicelement/913/11 "2019-01-29T16:50:57Z")

</div>

It is indeed possible with Revit R2019, if you use the current IFC-exporter on Github: [https://github.com/Autodesk/revit-ifc/tree/Dev](https://github.com/Autodesk/revit-ifc/tree/Dev)  
If you add the parameter IfcExportAs to the Topography, with value IfcGeographicElement, and export it as IFC4 Reference View.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/buildingsmart1/original/1X/c069255feb603b68501cb1efc3c209099ac80abb.png)  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/buildingsmart1/original/1X/3f7d005f81461ad00768dd561563b0d5439f5581.png)

---

<div class="post-metadata">

**Author:** ![Moult](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/moult/32/196_2.png) [@Moult](https://forums.buildingsmart.org/u/Moult)\
**Post date:** [February 1, 2019, 5:07am UTC](https://forums.buildingsmart.org/t/topography-with-ifcgeographicelement/913/12 "2019-02-01T05:07:06Z")

</div>

Interesting, things must be starting to improve. For the record, tested under Revit 2018, using the IFC exporter, it does not work. When exporting to IFC2X3, Topography becomes IfcSite. When exporting to IFC4, the Topography is simply not exported, regardless of the value in the `IfcExportAs` parameter, at least in my file.

---

<div class="post-metadata">

**Author:** ![dvrvb](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/dvrvb/32/120_2.png) [@dvrvb](https://forums.buildingsmart.org/u/dvrvb)\
**Post date:** [February 1, 2019, 6:33am UTC](https://forums.buildingsmart.org/t/topography-with-ifcgeographicelement/913/13 "2019-02-01T06:33:04Z")

</div>

Indeed, there is a lot of improvement. And indeed the development on Github is only for R2019.  
To fully benefit the latest improvements you can build your own solution, or you could try the latest pre-build beta: [https://github.com/Autodesk/revit-ifc/releases/tag/IFC4RV-beta-v0.6.2](https://github.com/Autodesk/revit-ifc/releases/tag/IFC4RV-beta-v0.6.2)  
For IFC4 RV 1.1 all Classes of IfcElement and IfcSpatialElement are now supported.  
Sample with all the RV valid classes (viewable with BIMVision or FZKviewer):

[IfcClass\_R2019\_IFC4RV1.1\_ValidOnly.ifc](https://forums.buildingsmart.org/uploads/short-url/tZCLB2vfKhOWgol9tro5V7Aphkk.ifc) (2.7 MB)

---

<div class="post-metadata">

**Author:** ![RubenGR](https://avatars.discourse-cdn.com/v4/letter/r/a6a055/32.png) [@RubenGR](https://forums.buildingsmart.org/u/RubenGR)\
**Post date:** [February 1, 2019, 7:11am UTC](https://forums.buildingsmart.org/t/topography-with-ifcgeographicelement/913/14 "2019-02-01T07:11:40Z")

</div>

I apologise for the delay with my answer but I was on a trip. I’m going to check that! Thanks
