Ltsanalyzer
Level of Traffic Stress Analyzer
Install / Use
/learn @rcmc2020/LtsanalyzerREADME
Cycling Level of Traffic Stress OSM Analyzer
Warning
This project is no longer active. All work is now being done in the Bike Ottawa stressmodel project. The Bike Ottawa site contains all the code necessary for running a site like the Bike Ottawa Maps site.
Old Documentation
This is a console application that takes an OSM file and performs an analysis on the streets based on the information stored in their tags. The format is as follows:
ltsanalyzer -f filename -d outputpath [-o outputtype][-p prefix]
where:
- filename is the path to an OSM file to be processed.
- outputpath is the directory where the output files will be created.
- outputtype is the type of the file to be generated. It must either be 'osm' or 'geojson'.
- prefix is the prefix to be appended to the start of the filename.
See the usage output for an up-to-date list of options.
Example
ltsanalyzer -f ~\maps\myosmfile.osm -d \var\www\stressmap\data -o geojson -p level_
will analyze the specified OSM file and produce 4 output files in geojson format. The files will be named level_1.json, level_2.json, level_3.json and level_4.json and each will contain the streets for the corresponding LTS level (1-4).
If you are using stressmap to display the files, you should generate the files as geojson with the default value for the prefix "level_". This data should be placed in the app/data directory. For more information, see the documentation for stressmap.
Related Skills
node-connect
346.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
