Metadata-Version: 2.1
Name: pytnm
Version: 1.0.4
Summary: FHWA TNM 2.5 Geospatial Toolkit
Home-page: https://github.com/fstraw/pytnm
Author: Brandon Batt
Author-email: brbatt@gmail.com
License: MIT
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_roadways(output_directory)
        # create noise barrier template
        template.create_barriers(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)
        
        ```
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown
