Projecting Revit model on a map using GeoJSON

Projecting Revit model on a map using GeoJSON

Anonymous
Not applicable
5,471 Views
13 Replies
Message 1 of 14

Projecting Revit model on a map using GeoJSON

Anonymous
Not applicable

Hi,

so I am currently trying to project my revit model onto the world map. My approach is :

 

  1. Export my revit model to DWG
  2. In AutoCAD Architecture I specify the geolocation (WGS84)
  3. In Revit i unclip the survey point, place it on the correct location and specify the coordinates.
  4. I link the DWG File by shared coordinates and align it to my project.
  5. Confirming that geoposition is correct
  6. Using my Plugin to export transformed vertices to GeoJSON
  7. Look at my GeoJSON on geojson.io which shows me that my revit model goes over several continents even though it is supposed to be a simple wall of a garage ( it starts at the correct point though, so i guess it is a scaling problem)

Changing my project units does not seem to change anything.

Making my model smaller makes it still too big at the minimum lenghts.

It is correctly projected onto the map in AutoCAD Architecture so if AutoCAD can do it Revit sure can too right 😄

 

So how can I fix this?

Thanks in advance!

 

0 Likes
5,472 Views
13 Replies
Replies (13)
Message 2 of 14

Viveka_CD
Alumni
Alumni

Hi @Anonymous

 

Welcome to the Autodesk community! Thanks for sharing the detail steps.

 

Which version of Revit and AutoCAD are you using?

Can you share a model to test further?

 

Regards,

0 Likes
Message 3 of 14

Anonymous
Not applicable

I am using Revit 2019 as well as AutoCAD Architecture 2019.

Link to my model http://www.mediafire.com/file/enibqf7t8r1rpdh/TestBaustelleVersuch2.rvt

So in a nutshell what I am trying to do is project my model correctly scaled on the map using Revit.

Thanks for the quick answer!

 

0 Likes
Message 4 of 14

Viveka_CD
Alumni
Alumni

Hi @Anonymous

 

Thanks for responding and sharing the Revit model. However, the link (dwg) is missing when I look at manage links warning. Can you share the dwg as well?

 

Which version of the GeoJSON plugin are you using? Can you provide a screencast, so that I can replicate the issue and investigate from the Revit side?

 

Looking forward to your reply update.

Regards,

0 Likes
Message 5 of 14

daniel.ignjat
Explorer
Explorer

 Hi, my bad forgot to share it too.

Since there is no GeoJSON addin for revit i wrote one myself with libraries taken from the web which are included in the following folders. What my addin does is find the vertices from the walls and transform them to geocoordinates and then write them into a file formatted into a geojson file.

It seems my screencast is cut off at the end, basically what it does is display a very large version of my wall

i validate my geojson on geojson.io

 

 

 

 

 

0 Likes
Message 6 of 14

Viveka_CD
Alumni
Alumni

Hi @Anonymous

 

Thanks for sharing the screencast and links.Smiley Happy

 

 Can you upload the code folder in the link I've just sent you, its a private link and you can edit the above post if you prefer not to have it public?

 

Let me know if you have trouble accessing the private folder.

 

I would also need your recent journal.

We will investigate this behavior.

 

Regards,

0 Likes
Message 7 of 14

daniel.ignjat
Explorer
Explorer

Hi,

here are my journals 

I also uploaded the code into the folder, thanks for the fast replies.

 

0 Likes
Message 8 of 14

Viveka_CD
Alumni
Alumni

Hi @Anonymous

 

The Mediafire link you've shared asks me to upgrade. Can you please upload the journals to the A360 link I've shared with you?

 

Thanks for the quick responses Smiley Happy

0 Likes
Message 9 of 14

daniel.ignjat
Explorer
Explorer

Hi I have uploaded all the files shared in here to the folder so everything is in one place.

Thank you

0 Likes
Message 10 of 14

Viveka_CD
Alumni
Alumni

Hi @Anonymous

 

I see only the Revit and cad file in the private folder link, can you please try uploading again?

 

Thanks,

0 Likes
Message 11 of 14

daniel.ignjat
Explorer
Explorer
my bad, you should be able to see it now 🙂
0 Likes
Message 12 of 14

Chelsea_Stramel
Community Visitor
Community Visitor

sorry, I know this was 2 years ago... but was there ever a resolution to this??

0 Likes
Message 13 of 14

kerwin_soA6787
Community Visitor
Community Visitor

I also read the conversation and ended up hanging as well. 

0 Likes
Message 14 of 14

daniel.ignjatRVV4Y
Community Visitor
Community Visitor

we essentially gave up on trying to make it work with revit. We exported an ifc and calculated everything ourselves. It is very difficult to project your building onto a world map as you have to adapt the calculation depending on where on the world you want to project it.

0 Likes