Git Product home page Git Product logo

noisemap's Introduction

Использование

  1. Извлечь необходимые данные OSM из overpass-turbo, сохранить в файле export.geojson и положить его в папку проекта. Удостовериться, что присутствует поле layer с уровнями высоты. Если необходимо производить расчеты с учетом высоты OSM объектов, то необходимо иметь целочисленное поле height в данных.

  2. Положить туда же файл houses.geojson с геометрией зданий.

  3. Запустить главный скрипт с необходимыми параметрами:

    $ python noise_mapping.py <параметры командной строки>
    usage: noise_mapping.py [-h] [-e EXPORT] [-p PROJECTION] [-b BUILDINGS] [-t TAGS] [-c CELL_SIZE] [--with-height]
    
    Generate noise map based on osm data (QuickOSM can be also used) and buildings geometry
    
    optional arguments:
      -h, --help            show this help message and exit
      -e EXPORT, --export EXPORT
                            path to file with osm data
      -p PROJECTION, --projection PROJECTION
                            projection that will be used for calculations(data on input and output is always in 4326)
      -b BUILDINGS, --buildings BUILDINGS
                            path to file with buildings geometry
      -t TAGS, --tags TAGS  path to csv file with noise level of every type of object
      -c CELL_SIZE, --cell-size CELL_SIZE
                            size of cells in grid for cutting(simplification) of resulting polygons
      --with-height         use height of osm objects in calculations

    Итоговый файл с полигонами шума - dissolved.geojson

noisemap's People

Contributors

dima4914 avatar

Watchers

Alexander Semenov avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.