Skip to main content

FHWA TNM 2.5 Geospatial Toolkit

Project description

Pytnm

A module supporting geospatial template creation, geometry conversion, and reporting for noise analyses conducted utilizing the United States Federal Highway Administration's (FHWA) Traffic Noise Model (TNM) 2.5

Installation

pip install pytnm

Create geospatial template for use in GIS editing software

from pytnm.utils import template

output_directory = "~/projects/tnm_project"
# create receiver template
template.create_receivers(output_directory)
# create existing roadway template template
template.create_existing_roadway(output_directory)
# create noise barrier template
template.create_barrier(output_directory)

Convert geospatial template files into STAMNA file, for importing into TNM 2.5

from pytnm.utils import stamina

output_directory = "~/projects/tnm_project"
condition = "Existing" | "Build" | "NoBuild" # specify which noise model
receivers = "path/to/receiver.shp"
roadways = "path/to/<existing>|<proposed>_roadway.shp"
barriers = "path/to/barrier.shp"

stamina.write_stamina_file(output_directory, condition, receivers, roadways, barriers)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytnm-1.1.tar.gz (17.2 kB view hashes)

Uploaded Source

Built Distribution

pytnm-1.1-py3-none-any.whl (19.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page