# Dynamo GIS map to volumes in Revit using Elk

**URL:** <https://forum.dynamobim.com/t/dynamo-gis-map-to-volumes-in-revit-using-elk/29899>\
**Category:** Uncategorized\
**Created:** [December 19, 2018, 11:36am UTC](https://forum.dynamobim.com/t/dynamo-gis-map-to-volumes-in-revit-using-elk/29899 "2018-12-19T11:36:38Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kaloyan\_Tomov1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kaloyan_tomov1/32/27156_2.png) [@Kaloyan\_Tomov1](https://forum.dynamobim.com/u/Kaloyan_Tomov1)\
**Post date:** [December 19, 2018, 11:36am UTC](https://forum.dynamobim.com/t/dynamo-gis-map-to-volumes-in-revit-using-elk/29899/1 "2018-12-19T11:36:39Z")

</div>

[gps maps to Dynamo Elk mapping.dyn](https://forum.dynamobim.com/uploads/short-url/d7fRX8LdehvLOI5uBvyWYZTTKhg.dyn) (203.7 KB)

Hi everyone

Dynamo beginner here. Im using the Elk package and tried to create way to extrude volumes from GIS maps to Revit floors…  
Couldn’t figure out a way to generate mass instead of floors, any ideas?  
Also it would be great to get the hang of how to extrude the building volumes to the actual heights, and to get the OSM features like ‘highways’ to patch the surface properly, now is closing the polygons in a weird way which creates a lot of triangular shapes instead of rectangular surfaces…

Thanks in advance!  
//Kalo

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/a/7afab8731b5c58a37c69e62d2a3847e5b3f0b919.png)

---

<div class="post-metadata">

**Author:** ![Mark.Ackerley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mark.ackerley/32/79310_2.png) [@Mark.Ackerley](https://forum.dynamobim.com/u/Mark.Ackerley)\
**Post date:** [December 19, 2018, 3:40pm UTC](https://forum.dynamobim.com/t/dynamo-gis-map-to-volumes-in-revit-using-elk/29899/2 "2018-12-19T15:40:34Z")

</div>

Hey,

ImportInstance.ByGeometries is one way…

Have a look here…

> [@Urban Plannig via Dynamo (BiMorph Curves from CAD Layers)](https://forum.dynamobim.com/t/urban-plannig-via-dynamo-bimorph-curves-from-cad-layers/28854/8):
>
> So here’s my attempts… One of the nodes in Marcel’s link required some kind of sign-up to google with credit card details… it wasn’t a route i wanted to go down, so I got lat/long coords from a different website and plugged them in. No big deal. I’m importing to a family environment, this keeps the nasty cad metadata away from my project file, it is very fast and if I partially explode, it’s very easy to push and pull the import. Creating the buildings from lofted curves worked out the most …

I don’t know if you get enough vector info from OSM to do highways, the buildings are there but that’s the majority of it? I’d like to find out though 🙂 Topography would be another thing…

Hope that helps,

Mark

---

<div class="post-metadata">

**Author:** ![Kaloyan\_Tomov1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kaloyan_tomov1/32/27156_2.png) [@Kaloyan\_Tomov1](https://forum.dynamobim.com/u/Kaloyan_Tomov1)\
**Post date:** [December 19, 2018, 4:20pm UTC](https://forum.dynamobim.com/t/dynamo-gis-map-to-volumes-in-revit-using-elk/29899/3 "2018-12-19T16:20:29Z")

</div>

Thanks will give this a try!  
I can see however you are using some nodes I cant find… the _boundingbox_ in the beginning? and also Im not finding the _DownloadOSM_…

The second option uses a .shp file? Is this some conversion from a .dwg or how do you find it?

Thank you

---

<div class="post-metadata">

**Author:** ![Mark.Ackerley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mark.ackerley/32/79310_2.png) [@Mark.Ackerley](https://forum.dynamobim.com/u/Mark.Ackerley)\
**Post date:** [December 19, 2018, 4:25pm UTC](https://forum.dynamobim.com/t/dynamo-gis-map-to-volumes-in-revit-using-elk/29899/4 "2018-12-19T16:25:33Z")

</div>

Hey,

Perhaps the GIS2BIM package? It’s great 🙂

That’s a bit more involved… in the UK we have LIDAR info which is open source. Having downloaded it, I used QGIS (also open source) I could export .shp files which included the building footprint & height.

In other countries it’s possible to use NASA information for height… I’ve obviously not really used it, but here’s a link that might be useful to you… [https://dynamonodes.com/2016/06/14/workflow-srtm-data-to-topography-in-revit/](https://dynamonodes.com/2016/06/14/workflow-srtm-data-to-topography-in-revit/)

Cheers,

Mark

---

<div class="post-metadata">

**Author:** ![Kaloyan\_Tomov1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kaloyan_tomov1/32/27156_2.png) [@Kaloyan\_Tomov1](https://forum.dynamobim.com/u/Kaloyan_Tomov1)\
**Post date:** [December 19, 2018, 4:44pm UTC](https://forum.dynamobim.com/t/dynamo-gis-map-to-volumes-in-revit-using-elk/29899/5 "2018-12-19T16:44:44Z")

</div>

Great, thanks i found the package in Dynamo!  
QGIS homepage is down for some reason…

---

<div class="post-metadata">

**Author:** ![Mark.Ackerley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mark.ackerley/32/79310_2.png) [@Mark.Ackerley](https://forum.dynamobim.com/u/Mark.Ackerley)\
**Post date:** [December 19, 2018, 4:56pm UTC](https://forum.dynamobim.com/t/dynamo-gis-map-to-volumes-in-revit-using-elk/29899/6 "2018-12-19T16:56:58Z")

</div>

If you’re keen on QGIS I wrote a step by step guide, let me know how you get on…

---

<div class="post-metadata">

**Author:** ![Kaloyan\_Tomov1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kaloyan_tomov1/32/27156_2.png) [@Kaloyan\_Tomov1](https://forum.dynamobim.com/u/Kaloyan_Tomov1)\
**Post date:** [December 20, 2018, 1:00pm UTC](https://forum.dynamobim.com/t/dynamo-gis-map-to-volumes-in-revit-using-elk/29899/7 "2018-12-20T13:00:42Z")

</div>

I tried feeding my own OSM file into the OSM. location and it works somewhat  
Unfortunately it results in polygons only, not in solids… Any ideas?  
,

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/e/7e12a0432f57fd49ccf7c1771eb9a4a617e9a6ee.png)

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/3/b37015e4ac46b64ed94de9130b1f255aa6de6d23.jpeg)

---

<div class="post-metadata">

**Author:** ![Mark.Ackerley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mark.ackerley/32/79310_2.png) [@Mark.Ackerley](https://forum.dynamobim.com/u/Mark.Ackerley)\
**Post date:** [December 20, 2018, 1:28pm UTC](https://forum.dynamobim.com/t/dynamo-gis-map-to-volumes-in-revit-using-elk/29899/8 "2018-12-20T13:28:30Z")

</div>

Maybe show us further down your graph? I tried a few different ways of getting the solids, you could also try curve extrude as solid?

---

<div class="post-metadata">

**Author:** ![Kaloyan\_Tomov1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kaloyan_tomov1/32/27156_2.png) [@Kaloyan\_Tomov1](https://forum.dynamobim.com/u/Kaloyan_Tomov1)\
**Post date:** [December 20, 2018, 1:32pm UTC](https://forum.dynamobim.com/t/dynamo-gis-map-to-volumes-in-revit-using-elk/29899/9 "2018-12-20T13:32:09Z")

</div>

Sorry, forgot to mention the whole graph is exactly the same as yours here:  
 ![image](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/3X/4/a/4a04e41d5acd02ba1a993fd0342cba6d83b476c2.png)  
The only thing I changed is I skipped the GIS2BIM and fed the OSM directly to the Location node.

---

<div class="post-metadata">

**Author:** ![Mark.Ackerley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mark.ackerley/32/79310_2.png) [@Mark.Ackerley](https://forum.dynamobim.com/u/Mark.Ackerley)\
**Post date:** [December 20, 2018, 1:35pm UTC](https://forum.dynamobim.com/t/dynamo-gis-map-to-volumes-in-revit-using-elk/29899/10 "2018-12-20T13:35:46Z")

</div>

Yeah, so you could try extrude as solid on the polycurve you made?

---

<div class="post-metadata">

**Author:** ![Kaloyan\_Tomov1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kaloyan_tomov1/32/27156_2.png) [@Kaloyan\_Tomov1](https://forum.dynamobim.com/u/Kaloyan_Tomov1)\
**Post date:** [December 20, 2018, 4:52pm UTC](https://forum.dynamobim.com/t/dynamo-gis-map-to-volumes-in-revit-using-elk/29899/11 "2018-12-20T16:52:12Z")

</div>

I dont know exactly how (I think i disconnected the SolidbyLoft node and plugged it back on 😃)  
But it seems that I got it somehow to work by feeding an OSM file from [openstreetmap.org](http://openstreetmap.org) then I seem to even got some heights correct? (could have been like that by default, haven’t inspected the previous experiments in this way) but this is what I got:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/5/c5d8b91a20f935b4536b5fed853d5b328df60bbe.png)

Most of the heights seem correct, the ones that are not are easily partial exploded and pulled/pushed:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/f/6f91eb1984697ddc23ccdab5d05d1f67586d87bb.png)

---

<div class="post-metadata">

**Author:** ![Mark.Ackerley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mark.ackerley/32/79310_2.png) [@Mark.Ackerley](https://forum.dynamobim.com/u/Mark.Ackerley)\
**Post date:** [December 20, 2018, 10:29pm UTC](https://forum.dynamobim.com/t/dynamo-gis-map-to-volumes-in-revit-using-elk/29899/12 "2018-12-20T22:29:44Z")

</div>

There is a Levels ‘parameter’ in OSM but you only get it if the inputter added that info… last time I tried I got 4 out of 200! you were more lucky 🙂

---

<div class="post-metadata">

**Author:** ![Kaloyan\_Tomov1](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kaloyan_tomov1/32/27156_2.png) [@Kaloyan\_Tomov1](https://forum.dynamobim.com/u/Kaloyan_Tomov1)\
**Post date:** [January 30, 2019, 4:23pm UTC](https://forum.dynamobim.com/t/dynamo-gis-map-to-volumes-in-revit-using-elk/29899/13 "2019-01-30T16:23:31Z")

</div>

Hi again  
I had to factory reset my laptop and had to reinstall Revit, suddenly im getting trouble with exactly the same Dynamo version and input…Any ideas what do I owe this to?

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/f/bf219c37598be07e73ab684d755c6155acb49417.png)

---

<div class="post-metadata">

**Author:** ![maxx.blake](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@maxx.blake](https://forum.dynamobim.com/u/maxx.blake)\
**Post date:** [April 27, 2021, 12:59pm UTC](https://forum.dynamobim.com/t/dynamo-gis-map-to-volumes-in-revit-using-elk/29899/14 "2021-04-27T12:59:16Z")

</div>

Hi All,  
I would really appreciate some help with this, my attempt to edit @Mark.Ackerley 's graph is attached. I’m getting a warning right at the beginning at the “Shape.GetAllShapesInAllRecords” Node; _“Cannot make a PolyCurve from an empty list”_  
Any advice would be very much appreciated!  
Thanks!

[QGIS Building Heights.dyn](https://forum.dynamobim.com/uploads/short-url/9AFSyBMqEjNQhDFoojypoxlydnk.dyn) (54.0 KB)
