import_from_openstreet_map#

Modeler3D.import_from_openstreet_map(latitude_longitude, env_name: str = 'default', terrain_radius: int = 500, include_osm_buildings: bool = True, including_osm_roads: bool = True, import_in_aedt: bool = True, plot_before_importing: bool = False, z_offset: int = 2, road_step: int = 3, road_width: int = 8, create_lightweigth_part: bool = True)#

Import OpenStreet Maps into AEDT.

Parameters:
latitude_longitudelist

Latitude and longitude.

env_namestr, optional

Name of the environment used to create the scene. The default value is "default".

terrain_radiusfloat, 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_offsetfloat

Road elevation offset. Default is 0.

road_stepfloat

Road simplification steps in meter. Default is 3.

road_widthfloat

Road width in meter. Default is 8.

create_lightweigth_partbool

Either if import as lightweight object or not. Default is True.

Returns:
dict

Dictionary 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.html to compute also elevation.