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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file pytnm-1.1.tar.gz.

File metadata

  • Download URL: pytnm-1.1.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/57.4.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.5

File hashes

Hashes for pytnm-1.1.tar.gz
Algorithm Hash digest
SHA256 ff98334b39ef302afd37e5f78dadcc06087d79c8019557d9cdec17714270d217
MD5 07e110a1ea1952e338da873fa49e046d
BLAKE2b-256 2a80f94d3882d49cc77ef890d7462aa13d8b189f2ee2c73b89bb41e91375e9fb

See more details on using hashes here.

File details

Details for the file pytnm-1.1-py3-none-any.whl.

File metadata

  • Download URL: pytnm-1.1-py3-none-any.whl
  • Upload date:
  • Size: 19.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/57.4.0 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.5

File hashes

Hashes for pytnm-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 31ca25e4c73d8b35c38e36e08413f80c37cdd4f8df16ee83b11329984a050d6c
MD5 2f21fa9ae89a528e341ce50d47adfff6
BLAKE2b-256 18ede499fadb939eeb720bbe5bd0fc0353f1fe76f1672c35858d5af67cace34d

See more details on using hashes here.

Supported by

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