A package for processing and analyzing LES data with OSM.
Project description
Osm2les
A Python package for processing and analyzing LES data with OpenStreetMap (OSM).
Installation
pip install osm2les_dev
Usage
import osm2les_dev
# Add usage examples here
# Prepare a dataframe of names and a point around which you'd like the visualization
osm2les_dev.extract_domain_from_points_wsf3d(df)
osm2les_dev.extract_domain_from_points_osm(df)
# You can choose whether or not to add the added WSF3D layer which takes more time
# but may result in more accurate visualizations.
# Below is an example of the KML File version
res = 1
bldH = 16
name = 'Ber1'
angleRotate = 0
extra_geometric_stats = True
bbox = parseKML(name+'.kml')[0:4]
domain = extract_domainKML(res,bldH,bbox,name,angleRotate,extra_geometric_stats)
# save the bbox
domain = extract_domain_from_KML_wsf3d(bbox, res, bldH, name, angleRotate, extra_geometric_stats)
np.savetxt(name+'.pos', bbox ,fmt='%f')
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
osm2les_dev-1.0.3.tar.gz
(16.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file osm2les_dev-1.0.3.tar.gz.
File metadata
- Download URL: osm2les_dev-1.0.3.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24decc8384ff7f32482faa2f81cdfe175d4553c3aa1019e409b18f5725cce0ce
|
|
| MD5 |
6b52ea24dc8f10667a3d79c92c4cb067
|
|
| BLAKE2b-256 |
d4b2aa6af3e7adb92f80458ea829ac78cbb2e8cd9ca7b27b57bcf6bc554df420
|
File details
Details for the file osm2les_dev-1.0.3-py3-none-any.whl.
File metadata
- Download URL: osm2les_dev-1.0.3-py3-none-any.whl
- Upload date:
- Size: 15.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21a8b49cf561b7b2b3d370495c59d4dd979ac4220a6b7fc6c44905d7044b4b01
|
|
| MD5 |
983f28471722a62930d10d2490e5bdd5
|
|
| BLAKE2b-256 |
7dbd6f4e56512562188ad7bd8a5e3adb9e9eb2e8baaf8d76b1d2602fe4d64e04
|