Set your viewpoint to a specific geo location

Set your viewpoint to a specific geo location

elliott.rosenfeld
Autodesk Autodesk
1,408 Views
1 Reply
Message 1 of 2

Set your viewpoint to a specific geo location

elliott.rosenfeld
Autodesk
Autodesk

(I describe the manual process below, but this could also be done via javascript):

1) Create a bookmark in your model.

2) Open Windows Explorer and navigate to C:\Documents\Autodesk InfraWorks Models\Model Name.files\unver\Bookmarks

bookmarks.jpg

3) Open the JSON file that represents the bookmark you want to modify, using an application such as Notepad++. The file name will be a long string of numbers and letters but when you open the JSON file, you can easily find the bookmark name.

bookmakrs.jpg

4) Edit the location of the Camera Position, Target, and/or Camera Up. These are geocentric coordinates, so it can be tricky to do this without GIS experience. When finished, save the new JSON file over the existing bookmark JSON file in C:\Documents\Autodesk InfraWorks Models\Model Name.files\unver\Bookmarks. 

5) Close and re-open InfraWorks 360 while leaving the Bookmark JSON open in Notepad++ or a similar application. If asked to reload the JSON file, select No, so that the bookmark's original location isn't refreshed over your edits.

6) Try the bookmark now. It should move to the new locaition you specified. 

For example, after changing my bookmark coordinate by a pretty significant geographic distance, using the same bookmark switched my view from this:

bookmark_before.jpg

to this:

bookmark_after.jpg


Principal Specialist, Infrastructure
1,409 Views
1 Reply
Reply (1)
Message 2 of 2

SteveDredge
Explorer
Explorer

Hi Elliot, thank you for the post. You say the coordinates are geocentric coordinates, do you know which coordinate system they are using? Using GIS to transform a known point saved as a bookmark close to the viewpoint I want to update results in coordinates that are nowhere near each other regardless of which world sphere based projection I select.

 

Thank you for any insight you can provide.

 

0 Likes