import_from_openstreet_map#
- Modeler3D.import_from_openstreet_map(latitude_longitude, env_name='default', terrain_radius=500, include_osm_buildings=True, including_osm_roads=True, import_in_aedt=True, plot_before_importing=False, z_offset=2, road_step=3, road_width=8, create_lightweigth_part=True)#
Import OpenStreet Maps into AEDT.
- Parameters:
- latitude_longitude
list Latitude and longitude.
- env_name
str,optional Name of the environment used to create the scene. The default value is
"default".- terrain_radius
float,int Radius to take around center. The default value is
500.- include_osm_buildingsbool
Either if include or not 3D Buildings. Default is
True.- including_osm_roadsbool
Either if include or not road. Default is
True.- import_in_aedtbool
Either if import stl after generation or not. Default is
True.- plot_before_importingbool
Either if plot before importing or not. Default is
True.- z_offset
float Road elevation offset. Default is
0.- road_step
float Road simplification steps in meter. Default is
3.- road_width
float Road width in meter. Default is
8.- create_lightweigth_partbool
Either if import as lightweight object or not. Default is
True.
- latitude_longitude
- Returns:
dictDictionary of generated infos.
Notes
Please note that elevation is not computed anymore in this method. Please check the example
https://examples.aedt.docs.pyansys.com/version/dev/examples/high_frequency/antenna/large_scenarios/city.htmlto compute also elevation.