This function reads the location of your Revit model (latitude, longitude and angle to True North) and generates a new 3d model with OSM buildings and roads within specified radius from the model. It also generates a .PNG image with a basemap of your selected location.
This functon will create a custom Coordinate Reference System based on Traverse Mercator and centered around specified location, so that the size distortions of the real-world location are minimized. 3d geometries within specified radius will then be queried from OSM API service, and the information for the basemap will be queried from the OSM raster tiles provider.
Location info from Revit model (lat, lon, angle) will be derived from the following settings under the tab Manage->Location:
- Create a new Speckle Automation.
- Select your Speckle Project and Speckle Model.
- Select the existing Speckle Function for creating OSM context.
- Enter the chosen radius from your project location.
- Click
Create Automation
.